Delta C2000 Series User Manual page 868

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

Advertisement

API
TRD
166
Bit device
X
Y
M
K
D
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
: time minuend. S
S
1
D: device used to store the current calendar time after reading.
The EH/EH2/SV/EH3/SV2/SA/SX/SC main units have a built-in calendar clock, and
the clock provides seven sets of data comprising year, week, month, day, hour,
minute, and second stored in D1063 to D1069. The TRD command function allows
program designers to directly read the current calendar time into the designated
seven registers.
D1063 only reads the two right digits of the Western calendar year.
When X0=On, the current calendar time is read into the designated registers D0 to
D6.
In D1064, 1 indicates Monday, 2 indicates Tuesday, and so on, with and 7 indicating
Sunday.
X0
Special
D
D1063
D1064
D1065
D1066
D1067
D1068
D1069
P
Word device
H
KnX KnY KnM
: time augend. D: time sum.
2
TRD
D0
Item
Content
Year
00–99
(Western)
Weeks
1–7
Month
1–12
Day
1–31
Hour
0–23
Minute
0–59
Second
0–59
16-107
Chapter 16 PLC Function ApplicationsC2000
Calendar data read
16-bit command (3 STEP)
TRD
T
C
D
execution type
*
*
*
32-bit command
Flag signal: none
General
D
D0
(Western)
D1
D2
D3
D4
D5
D6
Second
Continuous
TRDP
execution type
Item
Year
Weeks
Month
Day
Hour
Minute
Pulse

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents