400
6
6 Positioning and InterpolationDSZR: DOG search return to origin
• Select appropriate parameters based on the set parameter value range. It is suggested that the creep speed be
smaller than or equal to the zero return speed.
The zero return speed ranges from 10 to 200,000 Hz.
The creep speed ranges from 10 to 32,767 Hz.
The base speed ranges from 10 to 32,767 Hz.
You can set the zero return direction ag bit to ON or OFF to specify the zero return direction. The base
speed is accelerated to the zero return speed and the actuator moves toward the direction specied by the
zero return direction ag bit. When the system detects that the near point signal (DOG) specied by S1 is
ON, the system decelerates to the creep speed. After the near point signal (DOG) specied by S1 switches
from ON to OFF, if the system detects that the origin signal specied by S2 switches from OFF to ON, the
system stops outputting the pulse immediately.
If the same input is specied for the near point signal and the origin signal, similar to the ZRN instruction,
this instruction does not use the origin signal. When the near point signal switches from ON to OFF, the
system immediately stops outputting the pulse. If the same input is specied for the near point signal and
the origin signal and the logical inversion ag bit is set to ON, the logic of the near point signal prevails.
When the clearing signal output function is enabled (ON), after the pulse output stops (within 1 ms), the
clearing signal keeps ON within 20 ms plus one calculation cycle. When the instruction execution complete
ag bit (M8029) is ON, the zero return action stops.
This is the description about the case where the logical inversion ag bit of the near point signal and
the origin signal is set to OFF. If the logical inversion ag bit is set to ON, the ON and OFF states of the
corresponding near point signal and origin signal must be changed to each other.
When the instruction ow status is OFF, the pulse output stops immediately. When the instruction ow
status switches from OFF to ON, the pulse output restarts. When the instruction is executed, the M8029
ag is set to ON.
The following gure shows a pulse output diagram.
Origin
regression
speed
Creep
speed
Base
speed
Frequency
Regression direction
DOG
Rising edge
Falling edge
Origin
signal
Clearing
signal
DOG
signal
Clearing the
current pulse
value
Within 1ms
20 ms +1scan cycle