Qry_Tint (Query Status Of Time Of Day Interrupt) - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Extended instructions
8.4 Interrupts
Table 8- 102 Data types for the parameters
Parameter and type
OB_NR
IN
RET_VAL
OUT
Table 8- 103 Condition codes
RET_VAL (W#16#....)
0000
8090
80A0
80A1
8.4.3.4

QRY_TINT (Query status of time of day interrupt)

Table 8- 104 QRY_TINT (Query date and time of day interrupt)
LAD / FBD
Table 8- 105 Data types for the parameters
Parameter and type
OB_NR
IN
RET_VAL
OUT
STATUS
OUT
340
Data type
Description
OB_TOD (INT)
OB number (accepts symbolic name)
Int
Execution condition code
Description
No error
Invalid OB_NR parameter
Start date and time-of day not set, for the relevant time-of-day
interrupt OB
The activated time is in the past. The error only occurs when the
interrupt OB is set to execute once only.
SCL
ret_val:=QRY_TINT(
OB_NR:=_int_in_,
STATUS=>_word_out_);
Data type
Description
OB_TOD (INT)
OB number (accepts symbolic name) of the interrupt OB to query
Int
Execution condition code
Word
Status of the specified interrupt OB
Description
Queries the date and time of day interrupt status for
the specified interrupt OB.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG

Advertisement

Table of Contents
loading

Table of Contents