7 APPLICATION INSTRUCTIONS
7.26 Timing Check Instructions
1031
7
7.26 Timing Check Instructions
Generating timing pulses
DUTY
This instruction turns on the user timing clock for the specified number of scans and off for the specified number of scans.
■Execution condition
■Descriptions, ranges, and data types
*1 Only labels assigned to SM420 to SM424 can be used.
■Applicable devices
*1 Only SM420 to SM424 can be used.
Ladder ST
ENO:=DUTY(EN,n1,n2,d);
FBD/LD
Instruction Execution condition
DUTY
Operand Description Range Data type Data type (label)
(n1) Number of scans during which the clock is turned on 0 to 65535 16-bit unsigned binary ANY16
(n2) Number of scans during which the clock is turned off 0 to 65535 16-bit unsigned binary ANY16
(d) Special relay device number of user timing clock to be
operated
SM420 to SM424 Bit ANY_BOOL
*1
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 $
(n1)
(n2)
(d)
*1
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)