Online and diagnostic tools
15.16 Determining the type of wire break condition from an SM 1231 module
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
1351
For example, consider bytes 26 - 33 of this AINFO structure:
● The Word at bytes 26 and 27 is 16#8000, which indicates that this is a Profinet style
diagnostic.
● The Word at bytes 28 and 29 indicates this is a diagnostic for channel 0 or the module.
● Byte 30 is 16#28, which when interpreted as the bit pattern aaa bb 00 is 001 01 000. This
value indicates that this diagnostic is for an input channel and is an incoming error.
● Byte 31 is 5, which indicates a Word value
● The word value at bytes 32 and 33 is 16#0007, which indicates high limit exceeded.
By caputuring the AINFO information from a Diagnostic error interrupt event, you can thus
determine the nature of the diagnostic event.