Error Messages; Errors Flagged In The Pafe Byte; Hardware Faults - Siemens Simatic S5 IP 240 Manual

Counter/positioning/position decoder module
Hide thumbs Also See for Simatic S5 IP 240:
Table of Contents

Advertisement

IP 240
14

Error Messages

If you use standard FBs 167 to 173 for data interchange between S5 CPU and IP 240, you can
ascertain whether an error or fault occurred and obtain information on where you can find a
more detailed error description by evaluating the PAFE byte. PAFE should be evaluated following
every FB call.
Bit number in
PAFE byte
HEX
0
01
Hardware, communications and data errors
H
1
02
Parameter and data errors
H
2
04
Illegal data block no.,
H
no such data block, or data block too short,
CPU not permissible
3
08
Start or continuation of data interchange with the IP 240
H
not possible. Waiting time for communication with IP
240 exceeded.
7
80
Function block prematurely aborted
H
If you program data interchange between S5 CPU and IP 240 yourself, you must scan the ERR bit
after reading the IP 240's status register and read out the error messages from the IP 240 if this bit
is "1" ( Chapter 11, "Direct Data Interchange").
Note
All error messages are in KH format.
14.1

Hardware Faults

Some hardware components are checked via a test routine following power-up. If a fault is de-
tected, the IP 240 sets the red MF LED. You can read out the error message from the IP 240 by
invoking a configuring FB. The FB enters the error codes in DW 8 to 10 of the specified data block.
Error code
(DW 8 to 10)
1001
1002
1003
101n
102n
EWA 4NEB 811 6120-02a
Table 14-1. Errors Flagged in the PAFE Byte
Type of error
Table 14-2. Hardware Faults
Description
Watchdog error
Error in checksum test (EPROM)
Error in counter test (82C54)
Error detected in RAM test no. n (n=1 to 8)
Error detected in transfer buffer test no. n (n=1 to 8)
Error Messages
Detailed
description in DB
DW 8 to10
DW 13
-
-
-
14-1

Advertisement

Table of Contents
loading

Table of Contents