7.25
Clock Instructions
Reading clock data
DATERD(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions read "year, month, day, hour, minute, second, and day of week" from the clock element of the CPU module.
Ladder
(d)
FBD/LD
EN
ENO
d
■Execution condition
Instruction
DATERD
DATERDP
Setting data
■Description, range, data type
Operand
Description
(d)
Start device for storing the clock data that has been read
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=DATERD(EN,d);
ENO:=DATERDP(EN,d);
Range
Data type
16-bit signed binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANY16_ARRAY
(Number of elements: 7)
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.25 Clock Instructions
7
1001