7 APPLICATION INSTRUCTIONS
7.25 Clock Instructions
1027
7
Adding expansion clock data
S(P).DATE+
These instructions add time data.
*1 The engineering tool with version "1.035M" or later supports the ST.
■Execution condition
■Descriptions, ranges, and data types
■Applicable devices
Ladder ST
*1
ENO:=S_DATEPLUS(EN,s1,s2,d);
ENO:=SP_DATEPLUS(EN,s1,s2,d);
FBD/LD
( is replaced by either of the following: S_DATEPLUS, SP_DATEPLUS.)
Instruction Execution condition
S.DATE+
SP.DATE+
Operand Description Range Data type Data type (label)
(s1) Start device where the augend clock data is stored Refer to "Processing
details".
16-bit signed binary ANY16_ARRAY
(Number of elements: 5)
(s2) Start device where the addend time (clock) data is stored Refer to "Processing
details".
16-bit signed binary ANY16_ARRAY
(Number of elements: 5)
(d) Start device for storing the addition result time (clock) data 16-bit signed binary ANY16_ARRAY
(Number of elements: 5)
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 $
(s1)
(s2)
(d)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)