7 APPLICATION INSTRUCTIONS
7.14 Special Timer Instructions
885
7
Special function timer
STMR
This instruction implements the following four types of timer output.
• Off delay timer output
• After-off one-shot timer output
• After-on one-shot timer output
• On delay + off delay timer output
■Execution condition
■Description, range, data type
■Applicable devices
*1 Only T can be used.
Ladder ST
ENO:=STMR(EN,s1,s2,d);
FBD/LD
Instruction Execution condition
STMR Every scan
Operand Description Range Data type Data type (label)
(s1) Timer device or timer type label Device name ANY16
(s2) Set value 0 to 32767 16-bit signed binary ANY16
(d) (d)+0: Off delay timer output Bit ANYBIT_ARRAY
(Number of elements: 4)
(d)+1: After-off one-shot timer output
(d)+2: After-on one-shot timer output
(d)+3: On delay + off delay timer output
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)
*1
(s2)
(d)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)