
Examples and tips
PROGRAMMING MANUAL
258
Revi
si
on 3.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
I52E-EN-03.book Seite 258 Freitag, 29. Juni 2007 11:55 11