Chapter 5 Positioning Instructions
5 - 20
5.2.7 Speed Position Switching Instruction
• This is positioning according to the target position by switching the axis operated by speed control to
position control through speed/position switching instruction (VTP instruction). For details, refer to
3.1.4.
(1) Speed/Position Switching Instruction (VTP)
[
[Area Setting]
Operand
[Flag Set]
Flag Description Device number
Error If the value of ax gets out of the range F110
(a) Function
• This instruction is giving the speed/position control switching instruction to XGB built-in positioning.
• The axis designated as ax at the rising edge in the input condition is switched from the speed
operation to position operation.
• The current position which was output during the previous speed control operation is initialized to
0 and operated to the target position by absolute coordinates method.
(b) Error
• If the value designated as ax (instruction axis) is other than 0 and 1, the error flag (F110) is set
and the instruction is not executed.
(2) Example of Use of the Instruction
• The program speed/position control switching instruction is described with the following example.
(a) Example of the Program
Instruction
Areas available
Step
Flag
PMK F L T C S Z D.x R.x
con
stan