
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
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 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
tant
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
PTV
sl
-
-
-
-
-
-
-
-
-
○
-
-
-
-
4~7
○
-
-
ax
○
-
○
-
-
-
○
-
-
○
-
-
○
-
PTV
COMMAND
PTV
sl
ax
Содержание XBC-DN20S
Страница 210: ...Chapter 7 Program Examples of Positioning 7 6 2 XEC ...
Страница 215: ...Chapter 7 Program Examples of Positioning 7 11 2 XEC ...
Страница 220: ...Chapter 7 Program Examples of Positioning 7 16 2 XEC ...
Страница 225: ...Chapter 7 Program Examples of Positioning 7 21 2 XEC ...
Страница 232: ...Chapter 7 Program Examples of Positioning 7 28 2 XEC ...
Страница 237: ...Chapter 7 Program Examples of Positioning 7 33 2 XEC ...
Страница 240: ...Chapter 7 Program Examples of Positioning 7 36 ...
Страница 308: ...Appendix 4 Dimension App 4 3 3 High end type main unit XBC DN32H XEC DN32H XEC DP32H XBC DR32H XEC DR32H ...
Страница 309: ...Appendix 4 Dimension App 4 4 XBC DN64H XEC DN64H XEC DP64H XBC DR64H XEC DR64H ...
Страница 311: ...Appendix 4 Dimension App 4 6 XBE DC08A XBE DC16A XBE TN08A XBE TN16A XBE DR16A XBE RY08A ...
Страница 312: ...Appendix 4 Dimension App 4 7 5 Communication module XBL C41 21A XBL EMTA ...
Страница 313: ...Appendix 4 Dimension App 4 8 5 Special module XBF AD04A XBF DV04A ...