hit counter script

Siemens SIMATIC S7 System Manual page 264

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

101BExtended instructions
8.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
Parameter and type
ID
OUT
LEN
OUT
TINFO
IN_OUT
AINFO
IN_OUT
Note
If you call "RALRM" in an OB whose start event is not an I/O interrupt, the instruction will
provide correspondingly reduced information in its outputs.
Make sure to use different instance DBs when you call "RALRM" in different OBs. If you
evaluate data resulting from a "RALRM" call outside of the associated interrupt OB, you
should use a separate instance DB per OB start event.
Note
The interface of the "RALRM" instruction is identical to the "RALRM" FB defined in
"PROFIBUS Guideline PROFIBUS Communication and Proxy Function Blocks according to
IEC 61131-3".
Calling RALRM
You can call the RALRM instruction in three different operating modes (MODE).
Table 8- 75
RALRM instruction operating modes
MODE
Description
0
Shows the component that triggered the interrupt in the output parameter ID and sets the output
parameter NEW to TRUE.
1
Describes all output parameters, independent of the interrupt triggering component.
2
Checks whether the component specified in input parameter F_ID has triggered the interrupt.
If not, NEW = FALSE
If yes, NEW = TRUE, and all other outputs parameters are described.
264
Data type
Description
HW_IO (Word)
Logical start address of the component (module) from which an
interrupt was received. Bit 15 contains the I/O ID:
Note: Refer to the F_ID parameter for an explanation of how to
determine the device ID.
DWord, UInt, UDInt,
Length of the received interrupt information
DInt, Real, LReal
Variant
Task information: Target range for OB start and management
information
Variant
Interrupt information: Target area for header information and additional
interrupt information. For AINFO, provide a length of at least the MLEN
bytes.
0 for an input address
1 for and output address
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents

Save PDF