Description
(Original Document)
Naming
Name in LL984 Editor
Function Block Name
name of legacy 984 instruction
name in other tools and editors like:
  • Type Library Browser
  • Data Editor
  • Animation Tables
  • Search Results
Function Description
The L9E_ERLOG DFB retrieves a log of event types since last invocation.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON = retrieves a log of event types since last invocation
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN
RES
ARRAY[1...2] OF UINT
%MW
not used in the operation but its allocation is required
Middle
IN/OUT
ERRDAT
ARRAY[1...4] OF UINT
“%MW
Word 1 of ERRDAT contains the event code and function code of the last EMTH function block which has had an event.
For detailed information see ERRDAT table below.
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = retrieval successful
Middle
ERRLOG
BOOL
ON = nonzero values in ERRDAT
OFF = all zeros in ERRDAT
ERRDAT
Usage of ERRDAT (Word 1)
Control Expert-IEC bits
Function
0
floating point underflow
1
floating point overflow
2
invalid floating point value or operation
3
exponential function power too large
4
integer/floating point conversion event
5...7
not used
8...15
function code of last event logged (see Function Codes of the EMTH Subfunctions)
If the bit is set to 1, then the specific event condition exists for that bit.