Output Description

../_images/2d7df4c065c2740c0a33139001689805

Function Block LOG_GENERIC_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).Error messages: Error Messages of the Function Block Libraries

Monitoring of the global constant diconFIFOmaxLimit defined in the the segment 0 of the %R area. Error in case of diconFIFOmaxLimit < 1 or diconFIFOmaxLimit > 1120.

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/d944fbbd7091ebf10a33139000494768

Wiring example for BOOL

../_images/80ae33df709297e80a33139001bc9d04

Wiring example for REAL

Integrated Visualization

../_images/bc118189706f13990a33139001f56022

Visualization