Output Description

../_images/e2acf5625c9b5c370a331390005647fa

Function Block LOG_IEC60870_INPUT

DONE (done)

Data type: BOOL

On this output the status of the Function Block is shown. DONE = TRUE if the execution is finished or discarded due to an error. Therefore this output always has to be evaluated with the ERR output. If DONE = TRUE and ERR = TRUE, an error will be pending. In this case the error number can be read from the output ERNO.

ERR (error)

Data type: BOOL

Output will be TRUE, if an error occurs while execution of the Function Block. Output will be FALSE, if the execution is ended normal.

ERNO (error number)

Data type: WORD

On this output an error code will be given, if an error occurs while execution of the Function Block (ERR = TRUE).

In addition, if errors occur while executing the IEC standard Function Blocks which are used internally, on the output ERNO a related error code will be given (ERR = TRUE).

RDY (ready)

Data type: BOOL

Output will be TRUE, if a command is been received. As this is only true for one cycle, also RDY = TRUE for one cycle only.

OV (overrun)

Data type: BOOL

Output will be TRUE, if an overflow occurs. On this output a rising edge (FALSE -> TRUE) shows that the transmit requests are coming too fast and thereby the SRAM-FIFOin is fully filled.

STATE (enumeration of type zLOG_STATE_ENUM)

Data type: zLOG_STATE_ENUM

Clear text messages of errors and states. The output uses the enumeration of the data type zLOG_STATE_ENUM declared in “data types”.

FIFOIN_LEVEL (FIFOin level)

Data type: DINT

Output represents the current level of SRAM-FIFOin %R area (zLOG_FIFOIN_LEVEL).

FIFOIN_NEXTWRITE (next write position in FIFOin)

Data type: DINT

Shown is the next write position in SRAM-FIFOin %R area (zLOG_FIFOIN_NEXTWRITE).

FIFOIN_MAXLIMIT (max number of datasets in FIFOin)

Data type: DINT

Shows the value of the constant FIFOLIMIT of the datasets in SRAM-FIFOin %R area (zLOG_CONST_FIFOLIMIT).

NUMBER_ITEMS (max number of items)

Data type: DINT

Shows the executed write operation into the SRAM-FIFO since EN=TRUE.

NUMBER_OV (max number of overflow-items)

Data type: DINT

Shows the not executed write operations into the SRAM-FIFO since EN=TRUE.

Wiring examples

../_images/3457de5f616ef6b50a331390003c471f

Wiring example for SP1

../_images/ea8befd6617013d00a33139001eadb72

Wiring example for ME16

Integrated Visualization

../_images/5a3f905f705613260a331390012a41f1

Visualization