
Chapter 5 Positioning Instructions
5
-
10
• The instruction only sets the item of the operation data, and the basic parameter items related to
the operation such as the bias speed and speed limit are fixed in the positioning basic parameters.
• If you use the DST instruction, the operation pattern is fixed as End operation, and the operation
method is fixed as the single operation. But if continued operation or repeated operation is needed,
use indirect starting (IST instruction).
(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.
• This case if an error of execution of the instruction, so the error of positioning area K flag (axis
X:K4201, axis Y: K4301) does not turn On.
(2) Example of Use of the Instruction
• Direct starting instruction is described with the example of the following program.
• The example of use of the DST instruction is described on the basis of axis X.
(a) Example of the Program
(b) Device Used
Device
Description
Data size
Example of setting
M0000
axis X origin return
instruction signal
BIT
-
M0001
axis X direct starting
instruction signal
BIT
-
K4200
signal during axis X
operation
BIT
-
K4201
axis X error
BIT
-
D0000
Target position
DINT
100,000
D0002
Target speed
DWORD
30,000
D0004
Dwell time
WORD
100
D0005
M code number
WORD
123
D0006
Control word
WORD
H’20
※
※
H`
20 : Bit5~6 : 1 (No.2 acceleration/deceleration pattern), Bit 4 : 0 (absolute coordinates),
Bit0 : 0(position control)
Содержание 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 ...