EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended instructions
9.5 Interrupts
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
431
9.5.3.4
QRY_TINT (Query status of time of day interrupt)
Table 9- 116 QRY_TINT (Query date and time of day interrupt)
LAD / FBD
SCL
Description
ret_val:=QRY_TINT(
OB_NR:=_int_in_,
STATUS=>_word_out_);
Queries the date and time of day interrupt status for
the specified interrupt OB.
Table 9- 117 Data types for the parameters
Parameter and type
Data type
Description
OB_NR
IN
OB_TOD (INT)
OB number (accepts symbolic name) of the interrupt OB to query
RET_VAL
OUT
Int
Execution condition code
STATUS
OUT
Word
Status of the specified interrupt OB
Table 9- 118 STATUS parameter
Bit
Value
Description
0
0
In Run
1
In Startup
1
0
The interrupt is enabled.
1
The interrupt is disabled.
2
0
The interrupt is not active or has expired.
1
The interrupt is active.
4 0 The assigned OB_NR does not exist.
1
An OB with the assigned OB_NR exists.
6
1
The date and time of day interrupt uses local time.
0
The date and time of day interrupt uses system time.
Others
Always 0
Table 9- 119 Condition code
RET_VAL (W#16#....)
Description
0000
No error
8090
Invalid OB_NR parameter

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals