![Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual Download Page 21](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114021.webp)
19
HOW TO READ THIS MANUAL
The following describes the page layout and symbols used in this manual.
How to read PART 3 and PART 4
The contents described in this section are provided only for explaining how to read this manual. Thus, the actual description
may differ.
Processing details
• This instruction uses the four devices from the device specified by (d) to perform four types of timer output.
(1): Command of the STMR instruction
(2): Setting value specified by (s2)
(1)
(2)
(2)
(2)
(2)
(d)+1
(d)+2
(d)+3
Precautions
• The timer number specified in this instruction cannot be used in other general circuits (such as OUT instruction). If the timer
number is used in other general circuits, the timer malfunctions.
• The timer specified by (s1) starts counting as a 100 ms timer on the rising edge of the command contact.
• Four devices are occupied from a device specified in (d). Make sure that such devices are not used in other controls for the
machine.
• If the command contact is turned off, (d), (d)+1, and (d)+3 turn off when the set time elapses. (d)+2 and the timer (s1) are
immediately reset.
Operation error
Error code
(SD0/SD8067)
Description
2820H
The device range specified by (d) exceeds the corresponding device range.
3405H
The value specified by (s2) is outside the following range.
1 to 32767
564
8 APPLICATION INSTRUCTION
8.11 Special Timer Instruction
8
Special function timer
STMR
This instruction uses the four devices from the device specified by (d) to perform four types of timer output.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
*1 Only T can be used.
■
Control data
Ladder diagram
Structured text
ENO:=STMR(EN,s1,s2,d);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(s1)
Used timer number (operates as a 100 ms timer)
Device name
ANY16
(s2)
Timer set value
1 to 32767
16-bit signed binary
ANY16
(d)
Start bit number to be output
Bit
ANYBIT_ARRAY
(Number of elements: 4)
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, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s1)
*1
(s2)
(d)
Operand: (d)
Device
Description
Setting range
Set by
+0
Off delay timer output:
Turns on at the rising edge of the command of the STMR instruction and turns off when the time specified by
(s2) elapses after the falling edge.
System
+1
One-shot timer output after turning off:
Turns on at the falling edge of the command of the STMR instruction and turns off when the time specified by
(s2) elapses.
System
+2
One shot timer output after turning on
System
(s1) (s2)
(d)
EN
ENO
d
s1
s2
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......