Specifications

Positioning IP 240
10.22 Error Processing Following Positioning Control
Errors occurring during transfer of data to the IP are flagged
in the PAFE byte when FB 168 is used and
in the IP's status register when using direct data interchange ( Chapter 11).
Warning
The PAFE byte or IP 240 status register must be evaluated after every data inter-
change. In the event of an error, it may be necessary to interrupt positioning
instantaneously by disabling the outputs.
Errors in FB parameters are detected by the FB and described in more detail in DW13 of the
specified data block. The FBs must be reinvoked after correcting the relevant parameters.
The data transferred is checked by the IP 240 module firmware. If an error is detected,
the incorrect values are rejected. The only exception is control bit FREI=0. The channel's
outputs are also disabled if an illegal control bit combination or invalid position number is
detected.
a detailed description of the error is entered in the ”error flag” area on the IP.
Reading the error flags from the IP 240
with control FB 168 in direct data interchange
FB 168 reads the error flags automatically
when an error is detected. The data is trans-
ferred to DW 8 to 10.
You must specify job number 01
H
to read the
error flags. The IP then makes these flags
available in the transfer buffer.
Table 10-26. Contents of the Data Block and the Transfer Buffer on Reading Error Flags
Bit
76543210
Description
Data byte
in data
block
Offset
in transfer
buffer
Extension to error no. 312
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
DR 8
Error no. 302
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
DL 8
Extension to error no. 232
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
DR 9
Error no. 222
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
DL 9
Extension to error no. 152
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
DR 10
Error no. 142
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
DL 10
The error number and the error extension are in KH format.
When the transfer buffer has been read out, the error flags are reset on the IP 240. They must be
reset in the DB via the STEP 5 program.
You will find a complete list of error codes in Chapter 14.
10-74
EWA 4NEB 811 6120-02a