Download XGB Positioning

Transcript
Chapter 5 Positioning Instructions
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)
Form
Description
•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,Yaxis: %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
Title
Origin
method
returning
Origin
direction
returning
Origin address
Origin return high
speed
Origin return low
speed
Origin
return
accelerating time
Origin
return
decelerating time
Dwell time
Exclusive K Area
Setting Range
X-axis
Y-axis
Attribute
Read/Writ
e
0: DOG/ Origin (Off)
1: DOG/ Origin (On)
2: DOG
%KX7648
%KX8288
%KX7649
%KX8289
0: normal, 1: reverse
%KX7650
%KX8290
-2,147,483,648∼
2,147,483,647[pulse]
%KD234
%KD254
1 ∼ 100,000[pps]
%KD235
%KD255
1 ∼ 100,000[pps]
%KD236
%KD256
0 ~ 10,000[ms]
%KW475
%KW515
0 ~ 10,000[ms]
%KW476
%KW516
0 ~ 50,000[ms]
%KW477
%KW517
5 - 48
Read/Writ
e
Read/Writ
e
Read/Writ
e
Read/Writ
e
Read/Writ
e
Read/Writ
e
Read/Writ
e
Data Type
Bool
Bool
Bool
DINT
UDINT
UDINT
UINT
UINT
UINT