Delta CT2000 Series User Manual page 534

Table of Contents

Advertisement

API
TZCP
P
161
Bit device
X
Y
M
K
S1
S2
S
D
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
S
: Sets the lower limit of the comparison time. S
1
comparison time. S: current calendar time. D: Results of comparison.
Performs range comparison by comparing the hours, minutes, and seconds of the
current calendar time designated by S with the lower limit of the comparison time
set as S
results of comparison in D.
S
、S
1
comparison time.
S
、S
2
comparison time.
S、S +1、S +2: The hours, minutes, and seconds of the current calendar time
The D0 designated by the S listed in this program is usually obtained by
comparison using the TZCP command after using the TRD command in advance to
read the current calendar time. If the value of S
considered an operating error, the command will not execute, and M1068=On.
When the current time S is less than the lower limit value S
upper limit value S
limit value S
will be On under other conditions.
X10
Word device
H
KnX KnY KnM
T
and the upper limit of the comparison time set as S
1
+1、S
+2: Sets the hours, minutes, and seconds of the lower limit of the
1
1
+1、S
+2: Sets the hours, minutes, and seconds of the upper limit of the
2
2
, D will be On. When the current time S is greater than the lower
2
and S is greater than the upper limit value S
1
When X10=On, the TZCP command executes, and one of M10-M12 will be
On. When X10=Off, the TZCP command will not execute, and M10-M12 will
remain in the X10=Off state.
TZCP
D0
M10
D0 (hr)
D1 (min)
D2 (sec)
M11
D0 (hr)
D1 (min)
ON when
D2 (sec)
M12
ON when
Chapter 16 PLC Function CT2000 Series
Comparison of calendar data
16-bit command (9 STEP)
C
D
TZCP
Continuous
execution type
32-bit command
Flag signal: none
, S
1
D20
D10
D10 (hr)
>
D11 (min)
D12 (sec)
D10 (hr)
<
<
=
=
D11 (min)
D12 (sec)
D10 (hr)
>
D11 (min)
D12 (sec)
16-93
TZCPP
Pulse
execution type
: Sets the upper limit of the
2
, and expresses the
2
, or S exceeds the range, this is
2
and S is less than the
1
, D +2 will be On; D +1
2
M10
D20 (hr)
D21 (min)
D22 (sec)
D20 (hr)
D21(min)
D22 (sec)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents