
Chapter 5 Positioning Instructions
5
-
16
(a) Function
• This instruction is giving the straight interpolation starting instruction to XGB built-in positioning.
• The two axes of XGB positioning conduct straight interpolation starting at the rising edge of input
condition.
• If the instruction is executed, the two axes of XGB positioning carried out the straight interpolation
operation according to the axis setting designated in n2. The step number to be operated is the
step number set in n1.
• In setting of the axis of n2, the axis to carry out the straight interpolation operation as follows.
Bit number
15 ~ 3
2
1
0
Setting
Not used
Axis Z (XGB is not
used)
axis Y
axis X
- Each bit refers to the axis to start the straight interpolation. In the case of XGB built-in positioning,
n2 should be fixed as 3 since only axis X and axis Y are available. Otherwise, error code 253 is
issued and it does not operate.
(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.
• Since this case if an error of execution of the instruction, the error in positioning area K error
flag(axis X:K4201, axis Y: K4301) does not turn On..
• If the set value of the starting step number gets out of the settable range, instruction Error
Flag(F110) is not set, the error flag of positioning area K (axis X:K4201, axis Y: K4301) turns On,
and the operation does not occur.
(2) Example of Use of the Instruction
(a) Example of the Program
(b) Device Used
Device
Description
Data size
Example of setting
M0000
axis X
origin
return
instruction signal
BIT
-
M0001
Interpolation starting
instruction signal
BIT
-
K4200
signal during axis X
operation
BIT
-
K4201
axis X error
BIT
-
D0000
Operation step number
WORD
10
D0001
Axis information
WORD
3
Summary of Contents for XBC-DN20S
Page 210: ...Chapter 7 Program Examples of Positioning 7 6 2 XEC ...
Page 215: ...Chapter 7 Program Examples of Positioning 7 11 2 XEC ...
Page 220: ...Chapter 7 Program Examples of Positioning 7 16 2 XEC ...
Page 225: ...Chapter 7 Program Examples of Positioning 7 21 2 XEC ...
Page 232: ...Chapter 7 Program Examples of Positioning 7 28 2 XEC ...
Page 237: ...Chapter 7 Program Examples of Positioning 7 33 2 XEC ...
Page 240: ...Chapter 7 Program Examples of Positioning 7 36 ...
Page 309: ...Appendix 4 Dimension App 4 4 XBC DN64H XEC DN64H XEC DP64H XBC DR64H XEC DR64H ...
Page 311: ...Appendix 4 Dimension App 4 6 XBE DC08A XBE DC16A XBE TN08A XBE TN16A XBE DR16A XBE RY08A ...
Page 312: ...Appendix 4 Dimension App 4 7 5 Communication module XBL C41 21A XBL EMTA ...
Page 313: ...Appendix 4 Dimension App 4 8 5 Special module XBF AD04A XBF DV04A ...