Specifications

IP 240 Functional Description
6.4.2 Parameter and Data Errors
Parameter errors
When parameter errors occur, the function block sets bit 1 in the PAFE byte.
Parameter errors occur when
the function block is not compatible with the IP firmware
the function block is incorrectly initialized
the channel was not configured, or it was not configured for this control FB.
The function block enters the precise cause of error in data word 13 of the specified data block,
and the data block is exited.
Table 6-5. Parameter Error Codes
Error code in
DW 13
0001
0002
0003
0004
0210
0211
0212
Description
Module address is illegal
Channel number is illegal
Configuration parameter incorrect
FB not executable with IP firmware
Channel not configured
Control FB not compatible with the configured mode or the specified
data block
Function number illegal
Data errors
Data errors occur when the specified data e.g.
are out of range,
not in BCD format,
contain illegal bit combinations.
These errors can be flagged by both the function block and the module firmware.
When the function block detects a data error, it sets bit 1 in the PAFE byte and enters the precise
cause of error in data word 13 of the specified data block. The FB is then exited; the function is
not executed.
When the module firmware detects a data error, the function block sets bit 0 in the PAFE byte.
The function block reads out the precise cause of error from the IP and enters it in data words 8 to
10 of the specified data block. Once the error has been read out, the IP 240 resets its error flag.
Note
See Chapter 14 for a complete table of error codes.
EWA 4NEB 811 6120-02a
6-7