Applications of tmin (analog timer) instruction – KEYENCE Visual KV Series User Manual
Page 163

2.4 Instruction Details
1
2
3-139
Chapter 2 Instructions
Applications of TMIN (Analog timer) instruction
■ Changing the timer setting value
Uses the digital trimmer (TMIN0) to change the setting value of a timer (0 to 6553.5
sec.).
Coding
■ Changing setting values for multiple timers
Uses the digital trimmer (TMIN0) to change setting values for multiple timers (0 to
6553.5 sec.).
Coding
In the above example, T000, T001, and T002 have the same setting value.
Line No.
Instruction
Operand
Line No.
Instruction
Operand
0000
LD
2002
0005
OR
0500
0001
TMIN
0
0006
TMR
000 #00010
0002
CON
0007
ANB
T000
0003
STA
T000
0008
OUT
0500
0004
LD
0000
0
TMIN
T000
STA
2002
0000
0500
0500
T000
#00010
T000
0
TMIN
T000
STA
T001
STA
T002
STA
#00010
T000
2002
0000
0500
T000
#00010
T001
0001
0501
T001
0500
0501
#00010
T002
0002
0502
T002
0502
Line No.
Instruction
Operand
Line No.
Instruction
Operand
0000
LD
2002
0012
OUT
0500
0001
TMIN
0
0013
LD
0001
0002
CON
0014
OR
0501
0003
STA
T000
0015
TMR
001 #00010
0004
CON
0016
ANB
T001
0005
STA
T001
0017
OUT
0501
0006
CON
0018
LD
0002
0007
STA
T002
0019
OR
0502
0008
LD
0000
0020
TMR
002 #00010
0009
OR
0500
0021
ANB
T002
0010
TMR
000 #00010
0022
OUT
0502
0011
ANB
T000
TMIN / @TMIN
KVNKA Chap 02_4cP.p65
08.3.11, 0:02 PM
139