Input Description

EN   BOOL \    (enable)

Acknowledgement is activated with a FALSE -> TRUE edge at input EN. The acknowledge request is processed, if the value applied at input CODE is valid. If the value at input CODE is not valid, processing is aborted and a corresponding error is displayed at output ERR/ERNO. If output DONE changes to TRUE, the acknowledgement is completed successfully. During processing of the request, state changes at input EN are recognized but not evaluated.

CODE   DWORD \    (code)

At input CODE, the code number of the error to be acknowledged is specified. The code number of an existing error can be read using the Function Block DIAG_GET or calculated manually. The structure of the error coding is as follows:

../_images/8d5eb7ba6d8298f30a3313902b2c8b291
Bit 0 to 5 - Error number Valid range: 0…63
Bit 6 to 10 - Channel number Valid range: 0…31
Bit 11 to 15 - Module number Valid range: 0…31
Bit 16 to 23 - Device number Valid range: 0…255
Bit 24 to 27 - Component number Valid range: 0…15
Bit 28 to 29 - Error class Valid range: 1…4
Bit 30 to 31 - Reserved; both bits always must be zero.

Valid range: 16#3E9..16#3FFFFFFF