Settings
10.17 Setting the return signals for diagnostics
FM 352 electronic cam controller
Operating Instructions, 05/2011, A5E01071724-03
135
10.17 Setting the return signals for diagnostics
Programming steps
The module sets the DIAG bit in the checkback interface each time it writes a new entry to
the diagnostics buffer. Error events belonging to any of the error classes listed in Appendix
"Data blocks / error lists (Page 177)" are logged in the diagnostics buffer.
1. The mod
ule sets the DATA_ERR bit in the che
ck-back interface when it detects faulty
data in a write job. The cause of the error is logged to the diagnostic buffer.
2. The FB CAM_CTRL stores the checkback interface in the channel DB.
3. The FM 352 resets the DIAG bit to 0 after the diagnostic buffer is read by FB DIAG.
Data used in the channel DB
Address Name Type Start value Comment
22.2 DIAG BOOL FALSE 1 = diagnostic buffer modified
22.4 DATA_ERR BOOL FALSE 1 = data error