Delta C2000 Series User Manual page 864

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

Advertisement

API
TCMP
160
P
Bit device
X
Y
M
K
S1
*
S2
*
S3
*
S
D
*
*
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
: Sets the hours of the comparison time, setting range is "K0–K23." S
S
1
minutes of the comparison time, setting range is "K0–K59." S
the comparison time, setting range is "K0–K59." S: current calendar time. D:
Results of comparison.
Compares the time in hours, minutes, and seconds set in S
calendar time in hours, minutes, and seconds, with the results of comparison
expressed in D.
S The hour content of the current calendar time is "K0–K23." S +1 comprises the
minutes of the current calendar time, and consists of "K0–K59." S +2 comprises the
seconds of the current calendar time, and consists of "K0–K59."
The current calendar time designated by S is usually compared using the TCMP
command after using the TRD command to read the current calendar time. If the
content value of S exceeds the range, this is considered an operating error, the
command will not execute, and M1068=On.
When X10=On, the command will execute, and the current calendar time in
D20–D22 will be compared with the preset value of 12:20:45; the results will be
displayed in M10–M12. When X10 On→Off, the command will not be executed, but
the On/Off status prior to M10–M12 will be maintained.
If results in the form of ≥, ≤, or ≠ are needed, they can be obtained by series and
parallel connection of M10–M12.
Word device
H
KnX KnY KnM
T
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
Chapter 16 PLC Function ApplicationsC2000
Comparison of calendar data
16-bit command (11 STEP)
C
D
TCMP
Continuous
*
*
execution type
*
*
*
*
32-bit command
*
*
Flag signal: none
16-103
TCMPP
Pulse
execution type
: Sets the
2
: Sets the seconds of
3
–S
with the current
1
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents