
Chapter 5 Positioning Instructions
5
-
4
(1) Origin return Instruction (ORG)
A
[Area seting]
Operand
Description
Setting range
Data size
sl
Slot number where positioning modules are
mounted
XGB is fixed at 0.
WORD
ax
The axis to give instructions
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 for carrying out the origin return of the XGB built-in positioning function.
• It gives the origin return instruction to the axis designated as the ax of positioning built in XGB at the
rising edge of the input condition.
• When origin return is completed, the origin setting bit (axis X:K4204,axis Y:K4304) turns On and the
current address is preset at the address value set in the origin return parameter.
(s) 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 is an error of instruction execution, so the error flag (axis X:K4201,axis Y: K4301) of area K for
positioning does not turn On.
(2) Related Device Alarm
• The parameters and area K devices related to ORG instructions are as follows.
Parameter
Area K
Data size
Item
Setting range
axis X
axis Y
Properties
origin return method
0 : DOG/Home(Off)
1 : DOG/Home(On)
2 : DOG
K4780
K4781
K5180
K5181
Read/write
2 bit
origin
return
direction
0 : CW,
1 : CCW
K4782
K5182
Read/write
Double word
Origin address
-2,147,483,648
∼
2,147,483,647[pulse]
K469
K509
Read/write
Double word
origin
return
high
speed
1
∼
100,000[pps]
K471
K511
Read/write
Double word
Instruction
Available areas
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)
ORG
sl
-
-
-
-
-
-
-
-
-
○
-
-
-
-
4~7
○
-
-
ax
○
-
○
-
-
-
○
-
-
○
-
-
○
-
ORG
COMMAND
ORG
sl
ax
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 ...