Delta CFP2000 Series User Manual page 680

Ip55 fan and pump drive
Table of Contents

Advertisement

API
TADD
162
P
Bit device
X
Y
M
K
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
: time addend. S
S
1
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
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
Word device
H
KnX KnY KnM
T
: time augend. D: time sum.
2
or S
exceeds the range, this is considered an operating error, the
1
2
TADD
D0
Chapter 16 PLC Function Applications│CFP2000
Calendar data addition
16-bit command (7 STEP)
TADD
Continuous
C
D
execution type
32-bit command
Flag signal:
D10
D20
16-107
TADDP
Pulse
execution type
M1020 Zero flag
M1022 Carry flag
M1068 Calendar error
is added to the
2
, and the result is
1

Advertisement

Table of Contents
loading

Table of Contents