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