
496
7 APPLICATION INSTRUCTION
7.11 Special timer instruction
7.11
Special timer instruction
Teaching timer
TTMR
This instruction measures the period of time in which TTMR instruction is ON.
Use this instruction to adjust the set value of a timer by a pushbutton switch.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
■
Control data
Processing details
• This instruction measures the period of time to press and hold the command input (pushbutton switch) in 1-second units,
multiplies the measured value by the magnification (10
s
) which is specified by (s), and stores it in the device specified by
(d).
• The table below shows the actual value indicated by (d) depending on the magnification specified by (s) and the pressing
and holding time
0.
Ladder diagram
Structured text
ENO:=TTMR(EN,s,d);
Operand
Description
Range
Data type
Data type (label)
(d)
Device storing the teaching data
16-bit signed binary
ANY16
(s)
Magnification applied to the teaching data
0 to 2
16-bit signed binary
ANY16
Operand
Bit
Word
Double word
Indirect
specification
Constant
Others
X, Y, M, L,
SM, F, B, SB
U
\G
T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(d)
(s)
Operand: (d)
Device
Description
Setting range
Set by
+0
Teaching time
System
+1
Current value of the pressing and holding time
System
(s)
Magnification
(d)
K0
0
(d)
1
K1
10
0
(d)
10
K2
100
0
(d)
100
(d)
(s)
0
(d)+1
(d)
(d)+1
(d)
0
Pressing and holding time
Pressing and holding time
Execution
command
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......