Delta AS Series Programming Manual page 866

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
1602
T+
Device
X
Y
M
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
Explanation
1.
This instruction adds the value of the hour, the minute, and the second in the real-time clock specified by S
value of the hour, the minute, and the second in the real-time clock specified by S
register specified by D.
2.
The operands S
, S
, and D each occupy three consecutive devices.
1
2
3.
If the sum is larger than or equal to 24 hours, SM602 is ON, and the instruction subtracts 24 hours from the sum
before storing the result in D.
4.
If the sum is zero (zero hour zero minute zero second), SM600 is ON.
Example
When M0 is ON, the instruction adds the value of the hour, the minute, and the second in D10–D12 to the value of the
hour, the minute, and the second in D0–D2, and stores the sum in D20–D22.
Operand
P
S
, S
, D
1
2
S
T
C
HC
Pulse instruction
: Source device 1
S
1
: Source device 2
S
2
D : Device where the result is stored
Ch ap te r 6 Ap pl ie d Instruc ti ons
D
FR
SM
SR
16-bit instruction
AS
AS
Function
Adding the time
E
K
16#
"$"
32-bit instruction
-
to the
2
, and then stores the sum in the
1
6 - 5 8 7
F
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents