Delta C2000 Series User Manual page 585

Vector control drive
Hide thumbs Also See for C2000 Series:
Table of Contents

Advertisement

Chapter 16 PLC Functions Applications
API
TADD
162
Bit device
X
Y
M
S1
S2
D
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
C2000 Series
P
Word device
K
H
KnX KnY KnM
S
: time addend. S
: time augend. D: time sum.
1
2
The calendar data in hours, minutes, and seconds designated by S
calendar data in hours, minutes, and seconds designated by S
stored as hours, minutes, and seconds in the register designated by D.
If the value of S
or S
1
2
command will not execute, M1067, M1068=On, and D1067 will record the error
code 0E1A(HEX).
If the results of addition are greater than or equal to 24 hours, carry flag
M1022=On, and D will display the results of addition minus 24 hours.
If the results of addition are equal to 0 (0 hours, 0 minutes, 0 seconds), zero flag
M1020=On.
When X10=On, the TADD command will be executed, and the calendar data
in hours, minutes, and seconds designated by D0 to D2 will be added to the
calendar data in hours, minutes, and seconds designated by D10 to D12, and
the results are stored as a total number of hours, minutes, and seconds in the
registers designated by D20 to D22.
X10
TADD
hr
D0
8(
min
+
D1
sec
D2
20(
8 : 10 : 20
Calendar data addition
16-bit command (7 STEP)
TADD
T
C
D
32-bit command
Flag signal:
exceeds the range, this is considered an operating error, the
D0
D10
D20
hr
6(
min)
D11
40(
sec
D12
6(
6 : 40 : 6
16-94
Continuous
TADDP
execution type
execution type
M1020 Zero flag
M1022 Carry flag
M1068 Calendar error
is added to the
2
, and the result is
1
hr
D20
14(
min
D21
50(
sec)
D22
26(
14: 50: 26
Pulse

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

690v

Table of Contents