Online and diagnostic tools
15.16 Determining the type of wire break condition from an SM 1231 module
S7-1200 Programmable controller
1350 System Manual, V4.2, 09/2016, A5E02486680-AK
Interpreting AINFO after a diagnostic interrupt has occurred
The AINFO byte array will contain the information about the module diagnostics after the
Diagnostic error interrupt OB executes.
Bytes 0 - 25 are header information. The bytes pertaining to the module diagnostic are as
follows:
Word value 16#8000 - indicates the diagnostic is a Profinet style diagnostic
28 and 29 Word containing channel number responsible for this diagnostic
30
Bit pattern aaabb000 that indicates the type of channel (aaa) and type of error (bb)
011: input/output channel
11: outgoing error, other errors present
31 Indication of data format
0: Free data format
1: Bit
2: Two bits
3: Four bits
4: Byte
5: Word (two bytes)
6: Double word (four bytes)
7: Two double words (eight bytes)
32 and 33 Word that defines the type of error:
16#0000: reserved
16#0001: short circuit
16#0002: undervoltage
16#0003: overvoltage
16#0004: overload
16#0005: over temperature
16#0006: wire break
16#0007: high limit exceeded
16#0008: low limit exceeded