Specifications

C-30
IP 240
EWA 4NEB 811 6120-02b
Start-up Program and Error Responses
The start-up program is in OB 100. When OB 100 has been processed, you
can check the following entries with “Monitor/Modify variable”:
DB 170.DBB 2 to DBB 7: Product code of the module
DB 170.DBB 8 to DBB 13: Firmware version
DB 170.DBB 14 and DBB 15: Hardware version
DB 170.DBB 46: B#16#041 (“Positioning” mode)
DB 170.DBW 48: Data block number
DB 170.DBW 52: Basic address of the module
The actual value
DB 170.DBD 60: Actual value (BCD-coded or
binary-coded, depending on how
the BCD parameter is assigned)
is the value of the zero displacement.
The returned position number
DB 168.DBW 56 Number of position to be approached
is the value W#16#00FF (no position selected).
If all inputs show the signal state ‘0’, no output may be activated.
If an error or fault occurs during execution of the start-up program, the cyclic
block calls are no longer processed; the error memory bit is set.
After every block call in the cyclic program, an error is flagged when an
error occurs (BR = ‘0’), which in turn causes a group error message to be
output at Q 1.7 (M 191.7).
In the case of a group error message, the associated error bit indicates which
block call has caused the error. A precise description of the error can be
found in the corresponding PAFE byte and in the error words of the data
block (see the IP 240 Manual, Sections 10.23.1 “Configuring Function
Block” and 10.23.2 “Control Function Block”).
Start-up Program
Responses to
Errors
IP 240 Counter, Position Decoder and Positioning Module