Delta AS Series Programming Manual page 875

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
1606
Device
X
S
1
S
2
S
D
Data
type
S
1
S
2
S
D
Symbol
_6
Explanation
1.
This instruction compares the current time specified by S with the lower limit time specified by S
upper limit time specified by S
2.
The hour of the lower limit time is in the device specified by S
specified by S
3.
The hour of the upper limit time is in the device specified by S
specified by S
4.
The hour of the current time is in the device specified by S, the minute of the current time is in the device specified
by S+1, and the second of the current time is in the device specified by S+2.
5.
The time in the device specified by S
device specified by S
device specified by S
6.
In general, use the TRD instruction (API 1600) to read the current time from the real-time clock first, and then use
6 - 5 9 6
TZCP
P
Y
M
S
T
C
, and stores the comparison result in D.
2
+1, and the second of the lower limit time is in the device specified by S
1
+1, and the second of the upper limit time is in the device specified by S
2
must be less than the time in the device specified by S
1
is larger than the time in the device specified by S
1
as the upper limit time during the execution of the instruction.
1
Operand
,S
,S,D
S
1
2
HC
D
FR
SM
Pulse instruction
AS
: Lower limit time
S
1
: Upper limit time
S
2
S : Current time
D : Comparison result
, the minute of the lower limit time is in the device
1
, the minute of the upper limit time is in the device
2
Function
Time zone comparison
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
, and with the
1
+2.
1
+2.
2
. If the time in the
2
, the instruction takes the time in the
2
"$"
F
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents