300
T R D P
D
1
2
M
3
○○
FNC
166
○○
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
D
TRD D0
X20
D : the head register that stores the present value of the RTC
D9018
D9017
D9016
D9015
D9014
D9013
D9019
2000〜2099
1〜12
1〜31
0〜23
0〜59
0〜59
0〜6
D0
D1
D2
D3
D4
D5
D6
D
D
D
Operand
Devices
Read RTC Data
D occupies 7 components
When the Main Unit has installed a VS-MCR multi-function memory card, the PLC will provide with the real time
clock (RTC) function. The real time clock has seven sets of data, such as year, month, day, hour, minute, second
and day of the week, the data will be stored in the Special Registers D9013~D9019 sequentially.
Programmers do not need to memorize the Special Registers of the RTC, they can use this instruction to read the
current time and store the time data to contiguous 7 registers which are specied by .
When X20 = “ON”, the instruction will be performed to read the current time from the RTC.
Item
Special Register
Content Value
Read
Year (C.E.)
Month
Day
Hour
Minute
Second
Week
The meaning of the content value at the D9019:
0 = Sunday,
1 = Monday,
2 = Tuesday,
3 = Wednesday,
4 = Thursday,
5 = Friday,
6 = Saturday.