Extended instructions
9.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
S7-1200 Programmable controller
396 System Manual, V4.2, 09/2016, A5E02486680-AK
You can call the RALRM instruction in three different operating modes (MODE).
Table 9- 83 RALRM instruction operating modes
0
• ID contains the hardware identifier of the I/O module that triggered the interrupt.
• Output parameter NEW is set to TRUE.
• LEN produces an output of 0.
• AINFO and TINFO are not updated with any information.
1
• ID contains the hardware identifier of the I/O module that triggered the interrupt.
• Output parameter NEW is set to TRUE.
• LEN produces an output of the amount in bytes of AINFO data that is returned.
• AINFO and TINFO are updated with interrupt-related information.
2 If the hardware identifier assigned to input parameter F_ID has triggered the interrupt then:
• ID contains the hardware identifier of the I/O module that triggered the interrupt. Should be the same
as the value at F_ID.
• Output parameter NEW is set to TRUE.
• LEN produces an output of the amount in bytes of AINFO data that is returned.
• AINFO and TINFO are updated with interrupt-related information.
Note
If you assign a destination area for TINFO or AINFO that is too short, RALRM cannot return
the full information.
e amount of AINFO data that is returned.
Refer to the AINFO parameters and TINFO parameters of the online information system of
STEP
7 for information on how to interpret the TINFO and AINFO data.