EasyManua.ls Logo

LSIS XEC-DN32H/DC - Speed Position Switching Instruction

LSIS XEC-DN32H/DC
315 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
Description
Setting range
Data size
sl
Slot No. of positioning module
XGB is fixed at 0
WORD
ax
Axis to give instruction
0 (axis X) or 1 (axis Y)
WORD
[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
t
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
VTP
sl
-
-
-
-
-
-
-
-
-
○
-
-
-
-
4~7 ○ - -
ax
○
-
○
-
-
-
○
-
-
○
-
-
○
-
VTP
COMMAND
VTP
sl
ax

Table of Contents