Tmin: trimmer in @tmin: trimmer setting – KEYENCE Visual KV Series User Manual
Page 162

2.4 Instruction Details
3-138
2
Chapter 2 Instructions
T000 preset value can be changed with trimmer as follows (#00000 to #65535):
Coding
Description
The TMIN instruction transfers the value of the KV series’ digital trimmer (0 to
65535) to the internal register. Additionally, if this value is transferred to a timer,
counter, relay, or data memory (by using the STA instruction), the numeric data of
the destination can be changed without modifying the program.
Note: To check the setting value of the digital trimmer with the KV-P3E(01)
handheld programmer, select the "READ TRIMMER SETTING" function (FUN73).
(Only values 0 to 9999 can be displayed.)
The @TMIN instruction is executed only once at the rising edge of the input relay.
Refer to "Chapter 3: Access Window" on page 1-79 for the functions and operation
procedures for the digital trimmer of the Access Window.
Operands
Key operation
Arithmetic flag
2009
No change
2010
Turns ON when "0" is entered by the TMIN instruction. Turns
OFF at other times.
2011, 2012 No change
TMIN: Trimmer In
@TMIN: Trimmer Setting
Inputs numerical value specified by digital
trimmer of access window (0 to 65535) to
internal register.
@
#,$
FUN
FUN
RES
0
ANB
5
RES
0
ANB
5
n
TMIN
n
TMIN
Inputs trimmer rotation angle of 0 to internal register.
Transfers contents of internal register to timer T000
for use as preset value.
Turns ON output 0500 when current value of
T000 reaches "#00000".
Timer T000 operates as ON-delay timer when 0000 is ON.
0
2002
TMIN
T000
STA
#00010
0000
T000 0500
T000
Line No.
Instruction
Operand
Line No.
Instruction
Operand
0000
LD
2002
0005
TMR
000 #65535
0001
TMIN
0
0006
CON
0002
CON
0007
AND
T000
0003
STA
T000
0008
OUT
0500
0004
LD
0000
STA
TMIN
Digital trimmer
value of access
window [0 to 65535]
Internal
register
Destination
Transfer
Numeric data
0 to 65535
Input
• Timer/counter preset
value
• Relay ch No.
• Data memory
• Temporary memory
@
#,$
FUN
FUN
RES
0
ANB
5
ENT
R-SRCH
ENT
R-SRCH
Operand
:
:
TMIN / @TMIN
Visual KV
KV-300/24/40/80
KV-10/16
0, 1
0, 1
0
KVNKA Chap 02_4cP.p65
08.3.11, 0:02 PM
138