9 Application Instructions API 150-199
DVP-PLC Application Manual
9-43
API Mnemonic Operands
Function
166
TRD P
Time Read
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices
Word Devices
Program Steps
Type
OP
X Y M S K H
KnX KnY KnM KnS T
C
D
E
F
D
*
*
*
TRD, TRDP: 3 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
D
: The device for storing the current time read in RTC
Explanations:
1.
D
will occupy 7 consecutive devices.
2.
See the specifications of each model for their range of use.
3.
Flags: M1016, M1017, M1076. See remarks for more details.
4.
The built-in RTC in EH/EH2/SV/SA/SX/SC series MPU offers 7 data (year, week, month, day, hour, minute,
second) stored in D1319 ~ D1313. TRD instruction is for program designers to read the current data in RTC
and store the data to the 7 registers designated.
5.
D1319 only reads the 2-digit year in A.D. If you wish D1319 to read the 4-digit year, see remarks for more
information.
Program Example:
1.
When X0 = On, the instruction will read the current time in RTC to the designated registers D0 ~ D6.
2.
The content of D1318: 1 = Monday; 2 = Tuesday … 7 = Sunday.
TRD
X0
Special D
Item
Content General D
Item
D1319 Year
(A.D.) 00~99
D0 Year
(A.D.)
D1318
Day
(Mon ~ Sun)
1~7
D1
Day
(Mon ~ Sun)
D1317 Month 1~12
D2 Month
D1316 Day 1~31
D3 Date
D1315 Hour 0~23
D4 Hour
D1314 Minute 0~59
D5 Minute
D1313 Second 0~59
D6 Second
Содержание DVP-PLC
Страница 1: ...PLC PLC...
Страница 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Страница 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Страница 250: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 38 X0 DIV D0 D10 D20 D0 D10 K4Y0 DIV...
Страница 270: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 58 RST M0 X0 RST T0 RST Y0 FMOV K0 D10 K5...
Страница 337: ...7 Application Instructions API 50 99 DVP PLC APPLICATION MANUAL 7 53 X10 STMR T10 K50 Y0 Y3 X10 Y1 Y2 5 sec 5 sec...
Страница 458: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 56 or relay itself See 2 3 for more information...
Страница 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Страница 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...