Delta C2000 series User Manual page 540

Classical field oriented control ac motor drive
Hide thumbs Also See for C2000 series:
Table of Contents

Advertisement

API
TZCP
161
P
Bit Devices
X
Y
M
K
S1
S2
S
D
Operands:
Please refer to the specifications of each model for the
range of operands.
S1: Lower limit time data S2: Upper limit time data S: Current time of calendar
Explanation
D: Comparison result (occupies 3 continuous devices)
S is compared to the time period of S1~ S2 and the comparsion result is stored in
D.
S1 , S1 +1, S1 +2: respectively represent "Hours", "Minutes", "Seconds" of the
lower limit time data.
S2, S2 +1, S2 +2: respectively represent "Hours", "Minutes", "Seconds" of the
upper limit time data。
S , S +1, S +2: respectively represent "Hours", "Minutes", "Seconds" of the current
time of perpetual calender.
The current time of real time clock specified by S is read by using TRD command
previously and then compared by using TZCP command. If the content of S, S1, S2
exceeds the range, it will result in "operation error". At this time, the command won't
be executed and M1068=On.
If S < S1, and if S < S2 , D is On. If S > S
two situations, D +1 is On.
Example
X10
Word Devices
H
KnX KnY KnM
T
When X10= On, the TZCP command is executed and one of M10~M12 will be
On. When X10= Off, the TZCP command is not executed but the state of
M10~M12 before X10=Off is kept.
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 C2000 Series
Comparison of calendar data area
16-bit command (5 STEPS)
C
D
TZCP
32-bit command
Flag signal: none
and if S > S2, D +2 is On. Besides these
1
D20
D10
D10 (hr)
>
D11 (min)
D12 (sec)
D10 (hr)
<
<
=
=
D11 (min)
D12 (sec)
D10 (hr)
>
D11 (min)
D12 (sec)
16-93
TZCPP
M10
D20 (hr)
D21 (min)
D22 (sec)
D20 (hr)
D21(min)
D22 (sec)

Advertisement

Table of Contents
loading

Table of Contents