Examples and tips
PROGRAMMING MANUAL
286
R
e
vi
si
o
n
1
.0
Origin search using encoder reference pulse “Zero Mark”
fig. 31
This origin search procedure performs origin search by searching for the
"Zero Mark" signal of the encoder. This signal is also known as "marker" or
"reference pulse". It appears one time per full encoder revolution. The
example for this homing procedure is shown in the figure.
fig. 32
The possible scenarios for origin search using encoder reference pulse
"Zero Mark", depending on the position of the moving part on power on, are
shown in the figure.
The program example that does this origin search sequence is given below.
'Origin and left limit switch: IN0
'Right limit switch: IN1
REV_IN=-1
BASE(0)
DATUM_IN=0
SERVO=ON
WDOG=ON
DATUM(6)
WA(1)
WAIT IDLE
Static origin search, forcing a position from a user reference
This origin search procedure performs a static origin search by directly
forcing an actual position. It does not perform any physical move.
DATUM(0)
ON
OFF
ON
OFF
min. limit switch
moving part
max. limit switch
encoder
FORWARD
REVERSE
min limit switch
encoder 2 pulses
max limit switch