Online printing

Previous chapterNext chapter Show allShow all    Hide allHide all

An open protocol is available for printing the Alarm Information List. The printout of the Alarm Information List can be selected alternatively to the printout of the operation journal. Use the function Create online-protocol to start a new page (e.g. change of day). To start or stop online-printing use the function Switch online printing on/off. Online-printing needs an Epson-compatible printer for line-orientated output. Be aware of this when installing a printer.

The setting of the protocolling is done in the project properties under Alarm/CEL list.

The file ALARM.FRM is used for formatting the output. A default is saved in the installation directory.

The FRM file has three parts:

The individual parts are separated by %%. The separation marking must be used only once for the list and the base part.

info Info

It is important, that after the last line at least two ENTERs have to be added.
Otherwise the footer is not printed!

The setting of the page length is done in the project properties under Alarm/CEL list.

The number of the alarm entries arises from the predetermined number of lines (e.g. 72), less the lines used for header and base texts.

Free texts and keywords can be used in the formatting file. Keywords for the list part are:

Key word

Description

@DATZEITKOMMT

Date/Time comes

@DATZEITGEHT

Date/Time goes

@DATZEITOK

Date/Time quitted

@DATZEITREAK

Date/Time reactivated

@DATZEIT

Date/Time received/cleared/acknowledged (only for online printing)

@ZTKOMMT

Coming time

@ZTGEHT

Going time

@ZEITOK

Accknowledging time

@ZTREAK

Reactivation time (like ZTKOMMT)

@ZEIT

Date/Time received/cleared/acknowledged (only for online printing)

received

cleared

ok

@REAKTANZ

Number of reactivations

@KANALNAME

Channel name, variable name

@TAGNR

Long text

@AK

Alarm class number

@AG

Alarm group number

@AKNAME

Alarm class name

@AGNAME

Alarm group name

@REAKTIONSTEXT

user-defined comment from the Alarm Information List

- @WERT

Value

@STATUS

Evaluation of Status bits, as in the alarm list

@AMELDUNG

Status text

@ANWENDUNG

Project name

The option "with time reactivated" must be activated, in order to be able to use the keywords relating to the reactivations (time, number).

The following keywords are defined for the header and footer:

Key word

Description

@anwendung

Project name

@seite

Current page

@headdatzeit

Current date with time

@headdatum

Current date

@headzeit

Current time

@user

current user name

@username

current user name

@Rechner

Own computer name

Text

Random text

In formatting with keywords it is necessary to observe, that there must be sufficient place between the keyword and the next one to avoid overwriting entries. The file ALARM.FRM must be imported to the Project manager File/Lists. There is an example file in the program directory and can be copied from there.

info Info

No tabs are allowed for the positioning of the single entries. Use blanks instead!

Formatting example:

Engineering in ALARM.FRM

Date: @headdatum

Alarm inf. list/demo proj.

Time @headdatum o'clock

Text

Date / Time received

Time cleared

Information text

Status text

%%

 

 

 

@DATZEITKOMMT

@ZTGEHT

@TAGNR

@AMELDUNG

%%

 

 

 

 

Page

@seite

 

Printout on the printer

Date: 20.03.1995

Alarm inf. list/demo proj.

Time: 12:00 o'clock

Text

Date / Time received

Time cleared

Information text

Status text

20.03.1995 13:00:00

20.03.1995 13:03:59

Information xyz

received

20.03.1995 13:00:00

13:05:35

Demo information

on

20.03.1995 13:03:59

 

Information xyz

cleared

20.03.1995 13:11:23

 

Information xyz

received

20.03.1995 13:03:59

13:12:45

Demo information

off

 

Page

1

 

info Info

When editing the format file in a text editor, the automatic word wrap should not be active, because undesired effects in the formatting might occur.