Modes and Jobs
9-34
FM 351 Positioning Module
C79000-G7076-C351-02
9.12 Return Signals for Diagnostics
Definition
The “return signals for diagnostics” job informs you of diagnostic events that have
occurred.
Sequence
1. When the module enters a new event in the diagnostic buffer, it sets the DIAG
bit in all channels. Whenever an error occurs belonging to any of the error
classes listed in Appendix C, an entry is made in the diagnostic buffer. If you
delete the diagnostic buffer, the DIAG bit is also set.
2. If it is not possible to call a mode or to control an active mode or if an error
occurs attempting either of these actions, the module sets an operator error
(OT_ERR). The cause of the error is entered in the diagnostic buffer. As long
as the operator error is set, you can neither start a new mode nor continue the
stopped mode. You acknowledge an operator error with OT_ERR_A=1.
3. If the module recognizes a write job with incorrect data, it sets the DATA_ERR
bit. The cause of the error is entered in the diagnostic buffer.
4. The return signals are stored in the channel DB.
5. Once the diagnostic buffer has been read, the module resets the DIAG bit to 0
in all channels.
Data Used in the Channel DB
Address Name Type Initial Value Comment
22.2 DIAG BOOL FALSE 1 = diagnostic buffer modified
22.3 OT_ERR BOOL FALSE 1 = operator error
22.4 DATA_ERR BOOL FALSE 1 = data error