BIT -
K4201 axis X error BIT -
(c) Operation of the Program
• VTP instruction is executed when there is the rising edge of M0001, which was used as the
speed/position switching instruction signal.
• It the speed control is going on currently, it is switched into position control, the current position is
preset to 0, and position control is carried out up to the target position. Now the target position
divides into the following cases according to the direct and indirect starting.
1) In case of indirect starting, the target position of the operating step becomes the target position
after the speed position switching.
2) In case of direct starting, the target position set as the operand in the DST instruction becomes
the target position after the speed position switching
• When using the speed/position switching instruction, make sure that the instruction is not executed
during the position operation by using the display flag (axis X:K4211, axis Y:K4311) during speed
control as the program example above.