• No results found

nova230 printer interface

N/A
N/A
Protected

Academic year: 2021

Share "nova230 printer interface"

Copied!
22
0
0

Loading.... (view fulltext now)

Full text

(1)

nova230 printer interface

User's Manual

EYL 230 F030

7000984003 P1

This manual describes the latest version of the AS microprogram 501136.00x Rel D and the printer-interface microprogram

(2)
(3)

List of contents

0

1 Introduction...5

1.1 Description of system ...6

2 Configuration of printer interface...7

2.1 Configuration of serial interface ...7

2.1.1 Connecting the configuration tool ...7

2.1.2 nova230 in configuration mode...8

2.1.3 Configuration...9

2.2 Connecting the printer ...12

2.3 Printing the protocol...13

3 Parameterising with CASE FBD...15

3.1 Principle ...15

3.2 Choosing the nova230 printer...16

3.3 Measured values ...17

3.4 Counter values ...18

3.5 Setpoints ...19

3.6 Alarms or status...20

3.7 Commands with binary feedback...21

(4)

List of contents

0

Trademarks

Designer Trademark of Micrografx, Inc.

Micrografx Designer Trademark of Micrografx, Inc.

Media Manager Trademark of Micrografx, Inc.

Windows Trademark of Microsoft Corporation

Microsoft Office 97 Professional Trademark of Microsoft Corporation

MS Office Trademark of Microsoft Corporation

Microsoft Access 97 Trademark of Microsoft Corporation

Microsoft Office 2000 Trademark of Microsoft Corporation

Microsoft Word Trademark of Microsoft Corporation

Acrobat Reader Adobe Systems Incorporated

(5)

Introduction

1

1 Introduction

The nova230 station is a compact unit of the EY3600 family of systems. It provides the

same functions and connection possibilities as a nova210. It has communication

capa-bility on the novaNet bus and is used for control and regulation tasks in the HVAC

sec-tor. It also has a serial interface which is equipped with a DB9 plug. The nova240

man-ual operating unit can be fitted in the housing cover. The EYL 230 F030 allows a printer

to be connected via this serial interface. The nova230 has 256 machine fine addresses

(MFA) which are assigned as follows:-

• 35 as hardware inputs/outputs (MFA 0...59)

• 4 as service addresses (MFA 60...63)

• 1 as printer faults (alarm) (MFA 255 – Bit 31)

There remain 191 addresses (MFA 64...254) for parameterising the printable messages. The following printable messages are available:

• Alarms

• Status

• Binary feedback signals

• Measured values

(6)

Introduction

1

1.1 Description

of

system

Due to the same behaviour of the nova230 with a printer interface as all other

automa-tion staautoma-tions on the network, the maximum connectable quantity of the nova230 is

de-pendent on the total capacity and the total resistance on the whole novaNet communica-tion network.

Furthermore, the common range of a EY3600 novaNet can be used for the data

trans-mission to the nova230 printer interface. These data can be processed to form printable

messages within the nova230. Altogether, there are 1984 common variables available

per EY3600 novaNet.

The serial interface is configurable. For this purpose, a terminal program (the Windows

Hyper Terminal) should be connected with the nova230 using a DIN socket.

The printable messages can be parameterised from the novaNet bus using the CASE FBD program. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 a b a b nov aN et Power Receive Send UPS PowernovaNet Rece ive nova Net Sen d nova Net Faul t DS R DCD

Dies ist eine typische WINDOWS Anwendung. Sie können Word oder auch Excel benutzen, ohne einbusse der Druckerqualität Dies ist eine typische WINDOWS Anwendung. Sie können Word oder auch Excel benutzen, ohne einbusse der Druckerqualität Dies i st eine typische WIN DOWS Anwendung. Sie können Word oder auch Excel be nutzen, ohne einbusse der Drucke rqualität

Dies ist eine typische WINDOWS Anwendung. Sie können Word oder auch Excel benutzen, ohne einbusse der Druckerqualität Dies ist eine typische WINDOWS Anwendung. Sie können Word oder auch Excel benutzen, ohne einbusse der Druckerqualität Dies i st eine typische WIN DOWS Anwendung. Sie können Word oder auch Excel be nutzen, ohne einbusse der Drucke rqualität

novaNet CASE FBD

(7)

Configuration of printer interface

2

2 Configuration of printer interface

2.1

Configuration of serial interface

2.1.1

Connecting the configuration tool

A terminal program – e.g. the Hyper Terminal in Windows – is used to configure the

se-rial interface of the nova230.

The PC’s serial port is connected either with the DIN socket on the nova230 as follows:-

On the nova230 On the PC

Service interface, round DIN socket COM port DB9 plug

Pin 2 = GND Pin 5 = GND

Pin 5 = TXD ⇒ Pin 2 = RXD

Pin 3 = RXD Pin 3 = TXD

or with the 9-pin plug on the nova230 as follows:-

N.B.: The cable used is identical to either the parameterising cable of the EY2400 sub-stations or the novaNet291 Router cable (MZ. 368301.001).

1 2 3 4 5 6 7 8 9 DB9 Male PC (DTE) 1 2 3 4 5 6 7 8 9 DB9 Male EYL 230 (DTE) DB9 - DB9 DCD DCD RD RD TD TD DTR DTR GND GND DSR DSR RTS RTS CTS CTS RI RI EYL 230 novaNet

(8)

Configuration of printer interface

2

2.1.2

nova230 in configuration mode

To be able to configure the serial interface of the nova230, it needs a mechanical

con-nection (see above). The nova230 can then be put into configuration mode as follows:-

♦ Start the Hyper Terminal program on the PC:-

Start | Programs | Accessories | Communication | Hyper Terminal

The communication parameters between the hyper terminal and the nova230 must be

set as standard (9600 Bd, 8 bits, without parity, 1 stop bit, without handshake).

♦ Apply power to the printer interface nova230.

Power switch to ON

♦ During initialisation, the nova230 interrogates the service interface (DIN socket) or

the serial interface (DB9 plug), and if a ‘space’ character is found within the first five

seconds, the nova230 changes to configuration mode and the configuration menu

appears on the screen. This means that the space bar on the PC’s keyboard must be pressed within the first five seconds.

N.B.

When nova230 is in configuration mode, the printer interface is inoperable. To

(9)

Configuration of printer interface

2

2.1.3 Configuration

The serial DB9 interface of the nova230 can be configured using the following menu

(N.B.: The menu is in German):-

*** Sauter EYL230F030 Printer-Interface Parametrierung V1.00 *** 1. Baudrate [ 1200] 2. Parität [N] 3. Datenbits [8] 4. Druckertyp [OKI390/391 S/W] 5. Daten speichern 6. Diagnosemenue

1. Communication speed: *** Baudraten-Menue ***

1. 1200 Baud 2. 2400 Baud 3. 4800 Baud 4. 9600 Baud 5. Hauptmenue 2. Parity: *** Parity-Menue *** 1. Keine (None) 2. Gerade (Even) 3. Ungerade (Odd) 4. Hauptmenue

3. Number of data bits: *** Databits-Menue ***

1. 7 Bits 2. 8 Bits

3. Hauptmenue

4. Printer type: *** Druckertyp-Menue ***

1. Epson LQ300 Farbe 2. Epson LQ300 S/W 3. OKI 390/391 S/W

4. Manuelle Definition

(10)

Configuration of printer interface

2

If the print sequences are defined manually (menu item 4), it is possible to set various escape codes for the various different printing commands. This is intended for use with some exotic printer models which do not adhere to the standard code. Most printers, however, can be operated with the 3 default definitions (Epson/Oki).

Such an input sequence is shown below:- 4. Manuelle Definition Å

Aktuelle Konfiguration

Codes für Normale Meldung: < 27 114 255 27 70> Codes für Alarm kommt: < 27 114 255 27 69> Codes für Alarm geht: < 0 0 0 0 0> Daten aendern (J/N) ? Å ‚J‘

*** Steuerzeichen für 'Normale Meldung' *** 1.Byte (Dezimal 0..255) :27

2.Byte (Dezimal 0..255) :114 3.Byte (Dezimal 0..255) :255 4.Byte (Dezimal 0..255) :27 5.Byte (Dezimal 0..255) :70

Codes für Normale Meldung: < 27 114 255 27 70> Eingabe in Ordnung (J/N) ? Å ‚J‘

*** Steuerzeichen für 'Alarm kommt' *** 1.Byte (Dezimal 0..255) :27

2.Byte (Dezimal 0..255) :114 3.Byte (Dezimal 0..255) :255 4.Byte (Dezimal 0..255) :27 5.Byte (Dezimal 0..255) :69

Codes für Alarm kommt: < 27 114 255 27 69> Eingabe in Ordnung (J/N) ? Å ‚J‘

*** Steuerzeichen für 'Alarm geht' *** 1.Byte (Dezimal 0..255) :27

2.Byte (Dezimal 0..255) :114 3.Byte (Dezimal 0..255) :255 4.Byte (Dezimal 0..255) :27 5.Byte (Dezimal 0..255) :70

Codes für Alarm geht: < 27 114 255 27 70> Eingabe in Ordnung (J/N) ? Å ‚J‘

(11)

Configuration of printer interface

2

Notes on the escape codes

These control characters, which can be found in the manual for the relevant printers, should be entered in decimal form:-

E.g. Fettdruck EIN 27 69

Fettdruck AUS 27 70

Blau 27 114 2

Rot 27 114 5

Schwarz 27 114 0

The third control byte should be entered as 255, since this is replaced internally by the relevant colour code.

5. Konfiguration Speicherung im EEPROM (Configuration save in EEPROM)

User-EPROM wird parametriert... User-EPROM ist parametriert

6. Diagnostics menu: *** Diagnose-Menue ***

1. System-Counter 2. DMA-Counter

3. Diagnosezaehler loeschen

4. Watchdog-Test 5. Hauptmenue This is a help menu and is used mainly for debugging purposes.

(12)

Configuration of printer interface

2

2.2 Connecting

the

printer

To connect a printer, a shielded cable of up to 10 metres is needed. The following RS232 specifications are necessary:-

On the nova230 On the printer

DB 9-pin socket DB 25-pin plug

Pin 3 = TXD ⇒ Pin 3 = RXD

Pin 2 = RXD Pin 2 = TXD

Pin 8 = CTS Pin 20 = DTR

Pin 5 = GND Pin 7 = GND

The shielding should be connected to earth at both ends (pin 5/7).

N.B.: Not all printers control the DTR signal.

In this case, the nova230 does not notice that the printer is inoperable (no paper

or offline), so the printable messages are lost.

Otherwise, the nova230 will use the MFA 255 as a printer fault address (alarm).

The printable messages will then be buffered for as long as the printer is inoper-able (FIFO of 1000 messages).

The MFA255 can be connected using a BI_Soft as a collective alarm (no paper, printer fault etc).

Every time nova230 is started up, the following message is printed out:-

(13)

Configuration of printer interface

2

2.3 Printing

the

protocol

The printing of a protocol is triggered with the DI input MFA 53 Bit 24 (terminal 49). A connection (pulse) with earth would trigger the printing of the messages of all printable (parameterised) addresses.

The protocol has a prefix:- ‘Status-Protokoll’ and ends with:-

‘End of Protokoll’

(14)

Configuration of printer interface

(15)

Parameterising with CASE FBD

3

3 Parameterising with CASE FBD

The printable messages coming from the installation should be parameterised with the

CASEFBD plan.

3.1 Principle

The automation stations which transfer their printable messages to the nova230 printer

interface, must be in the same novaNet network. Transmission is done via AS-AS link or common link.

These data are accepted by the nova230 printer interface by means of an FBD transfer

module (EM_AI, EM_BI or EM_DI) and must be placed in the software range of the AS

with a software module (MFA 64 ... MFA 254).

To do so, you must use the following modules in the FBD:

AI_Soft for measured values or counter values

AIA_Soft for setpoints

BI_Soft for alarms or status

DI_Soft for commands and binary feedback signals

DIA_Soft for commands, automatic/manual

Dies ist eine typische WINDOWS Anwendung. Sie können Word oder auch Excel benutzen, ohne einbusse der Druckerqualität Dies ist eine typische WINDOWS Anwendung. Sie können Word oder auch Excel benutzen, ohne einbusse der Druckerqualität Dies ist eine typische WINDO WS Anwendung. Sie können W ord oder auch Excel benutzen, ohne einbusse der Druckerqualität

novaNet

Common Common Printable

Value Soft_Address novaNet transfer

(16)

Parameterising with CASE FBD

3

The printer interface nova230 uses the hardware card code and the software card code

of the relevant address as the print criterion.

The hardware card code is set by the CASE FBD when the Print parameter is set.

The software card code is set by the CASE FBD when the Parameter FC1 parameter

(without totalisation) is set for analogue values and FC (with hours-run counter) for digital values.

3.2

Choosing the nova230 printer

In order to ensure that everything functions properly, you should choose

‘nova230Printer’ as the type in the FBD-Plan under AutomationStation, and the func-tionality index should be 5 or higher.

(17)

Parameterising with CASE FBD

3

3.3 Measured

values

The printable measured values should be parameterised using an AI_Soft module.

On the one hand, the undercutting of the lower limit value Lb or the exceeding of the

upper limit value Lt serves as the trigger criterion.

On the other, the return to a level within the stated limit values is treated as a further print criterion.

The print-out appears as follows:-

Date Time Zone House address

Address text Measured value + unit

Lower limit value + unit Upper limit value + unit

Input

Lb Lower limit value

Lt Upper limit value

Parameters

FC1 Without totalisation

HA House address

ATxt Address text

PZ Zone

DIMY Dimension

Print Yes

Connection

1. Value comes from an other

AS via the common.

2. Value comes from the

nova230Printer. Card code

HW: 80

(18)

Parameterising with CASE FBD

3

3.4 Counter

values

The printable counter values should be parameterised using an AI_Soft module.

On the one hand, the exceeding of the upper limit value Lt serves as the trigger

crite-rion.

On the other, the return, e.g. a resetting of the counter value, to a level below the upper

limit value Lt is treated as a further print criterion.

The print-out appears as follows:-

Date Time Zone House address

Address text Counter value + unit

Lower limit value + unit Upper limit value + unit

Connection

1. Value comes from an other AS

via the common.

2. Value comes from the

nova230Printer. Card code:

HW: 80

SW: 40

Parameters

FC1 Without totalisation

HA House address

ATxt Address text

PZ Zone

DIMY Dimension

Print Yes

Input

(19)

Parameterising with CASE FBD

3

3.5 Setpoints

The printable setpoints should be parameterised using an AIA_Soft module.

The raster-threshold violation TRW serves as the trigger criterion.

The print-out appears as follows:-

Date Time Zone House address

Address text Setpoint + unit + Aut/Man

Lower limit value + unit Upper limit value + unit

Connection

1. Value comes from an other AS

via the common.

2. Value comes from the

nova230Printer. Card code HW: 80

SW: 70

Parameters

HA House address

ATxt Address text

PZ Zone

DIMY Dimension

TRW Half raster width

(20)

Parameterising with CASE FBD

3

3.6

Alarms or status

The printable alarms or status should be parameterised using a BI_Soft module. The

hours-run counter must be activated.

The status change on input fB serves as the trigger criterion.

The print-out appears as follows:-

Date Time Zone House address

Address text Alarm/status text

Parameters

FC With hours-run counter

fAlSt Alarm or status

HA House address

ATxt Address text

PZ Zone CPB1 Enable HBG Txt0 Alarm Txt1 Status Print Yes Connection

1. Value comes from an other AS

via the common.

2. Value comes from the

nova230Printer. Card code HW: 20 SW: 30 Card code HW: 20 SW: 30

(21)

Parameterising with CASE FBD

3

3.7

Commands with binary feedback

The printable commands with binary feedback signals should be parameterised using a

DI_Soft module. The hours-run counter must be activated.

Every speed change on cB serves as the trigger criterion.

The print-out appears as follows:-

Date Time Zone House address

Address text Speed I II III AUT

IV V VI LOC

Parameter:

FC With hours-run counter

HA House address

ATxt Address text

PZ Zone CPB2 Enable HBG CTxt0 ... Command text fCP0 ... Enable command Print Yes Connection

1. Value comes from an other AS

via the common.

2. Value comes from the

nova230Printer. Card code HW: 20

(22)

Parameterising with CASE FBD

3

3.8 Auto./Manu.

command

The printable commands with Auto./Manu. function should be parameterised using a

DIA_Soft module.

Every speed change on cB serves as the trigger criterion.

The print-out appears as follows:-

Date Time Zone House address

Address text Speed I II III AUT

IV V VI LOC

Parameters

HA House address

ATxt Address text

PZ Zone CPB2 Enable HBG CTxt0 ... Command text fCP0 ... Enable command Print Yes Connection

1. Value comes from an other

AS via the common.

2. Value comes from the

nova230Printer. Card code HW: 20

References

Related documents

Accordingly the cost effectiveness compared to the flat plate or other conventional air heater can be compensated through high temperature heat generation &amp;

Thus concrete crack remediation technique by Microbiologically Induced Calcite Precipitation (MICP) using environment friendly bacteria to precipitate calcium carbonate (CaCO3)

Jaccard’s similarity coefficient index was calculated to determine the colonization similarity of fungal endophytes in two host plants, based on the colonized endophytic fungi

This CO2 related to root carbon stock has evolved in the same direction as the aboveground carbon stock in different plots (Table 1: Value of mean aboveground

In addition to the advantages of high strength (as well as high stiffness) and light weight, another advantage of the laminated composite plate is the controllability of

Each join has an on clause that specifies the join conditions for that one table. I use parentheses around each on

While clinical educators are responsible for ensuring the safety of patients when supervising student nurse anesthetists in the clinical setting, program administrators are