Chapter 5 Positioning Instructions
5 - 22
5.2.8 Position Speed Switching Instruction
• This is operation by switching the axis operating by the current position control into speed control by
the position/speed switching instruction (PVT instruction). For details, refer to 3.1.5.
(1) Position/Speed Switching Instruction (PTV)
[
[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 position/speed 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 position
operation to speed operation.
• The current position which was output during the previous speed control operation is not initialized
to 0 and only the control method is switched to speed control with the operation continued.
(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 position/speed control switching instruction is described with the example of the following
program.
(a) Example of the Program
Instruction
Areas available
Step
Flag
PMK F L T C S Z D.x R.x
Cons