Chapter 5 Positioning Instructions
5 - 50
5.3.2 Function Block for Return to Origin
•Return to Origin instruction is usually used to confirm the Origin of machine when applying power.
This instruction is executed in accordance with the set-up parameters shown below (see 3.2.4 for
setting-up of the return-to-Origin parameters).
(1) Return to Origin Function Block (APM_ORG)
•This instruction is for the execution of the Origin return of the XEC-DN**H internal
positioning function.
•At the ascending edge of the input condition, the return to Origin instruction is given
to the axis defined to be the axis of the internal positioning decision.
•After completing Origin return, the Origin determination bit (X-axis:
%KX6724,Y-
axis:
%KX6884) turns on and the present address is preset to the address setup with
the Origin return parameter.
(2) Related Device List
•The parameters related with the APM_ORG instruction and the exclusive K area devices are
presented in the table below.
Parameter Exclusive K Area
Data Type
Title Setting Range X-axis Y-axis Attribute
Origin returning
method
0: DOG/ Origin (Off)
1: DOG/ Origin (On)
%KX7648 %KX8288
Read/Writ
e
Bool
%KX7649 %KX8289 Bool
Origin returning
0: normal, 1: reverse %KX7650 %KX8290
Read/Writ
Bool
Origin address
-2,147,483,648∼
1 ∼ 100,000[pps]
%KD235 %KD255
Read/Writ
1 ∼ 100,000[pps]
%KD236 %KD256
Read/Writ
0 ~ 10,000[ms] %KW475 %KW515
Read/Writ
0 ~ 10,000[ms] %KW476 %KW516
Read/Writ
UINT
Dwell time 0 ~ 50,000[ms] %KW477 %KW517
Read/Writ