Description, Tips, 4 instruction details – KEYENCE Visual KV Series User Manual
Page 134

2.4 Instruction Details
3-110
2
Chapter 2 Instructions
■ Process progression with Wait instruction
Description
When using the W-UE instruction in a program with STG instructions on the previ-
ous page, you can create a program for an operation which moves to the next stage
every time when start switch 0000 turns ON (process progression).
➮ "W-UE instruction" (p. 3-98)
Tips
Resetting STG instructions (in the above example)
Use the SFT instruction to turn OFF all STG instructions in an emergency.
Enter the initial setting process depending on the program. The above example
cannot start the next operation without the initial setting.
➮ "SFT instruction" (p. 3-82)
Note 1: The scan time is not affected by any instructions between STG and JMP/
ENDS instructions which are not executed.
Note 2: STG operand relay Nos. cannot be duplicated in a program.
Note 3: The STG instruction must be connected to the bus.
Note 4: The STG, JMP, or ENDS instruction cannot be used in subroutines.
2008
1100
0500
1001
JMP
1000
STG
1002
JMP
1001
STG
0501
1003
JMP
1002
STG
0502
0500
0501
0502
1003
STG
1004
STG
1004
JMP
1000
SET
0000
1100
1104
1000
JMP
0000
1104
1101
1102
1103
0000
1101
0000
1102
0000
1103
2003
2003
SFT
D
1000
CLK
1004
RES
1000
SET
Initial setting
Reset input
STG start relay
Reset input
STG end relay
STG
KVNKA Chap 02_4bP.p65
08.3.11, 0:00 PM
110