
Setting Up "Position Distance" Trigger Mode
The Position Distance trigger mode lends itself to scanning applications. A trigger pulse is
output as soon as the axis has covered the distance set with CTO parameter ID = 1
(TriggerStep). The pulse width is one servo cycle. The distance unit (TriggerStep) depends on
the settings of the Numerator Of The Counts-Per-Physical-Unit Factor parameter (0xE) and
the Denominator Of The Counts-Per-Physical-Unit Factor parameter (0xF). Default is mm.
1. Configure the digital output line <TrigOutID> to be used as trigger output:
a) Send
where A indicates the axis to be moved.
b) Send
CTO <TrigOutID> 3 0
, where 0 determines the Position Distance trigger mode.
c) Send
CTO <TrigOutID> 1 S
, where S indicates the distance.
2. If you want to enable the conditions for trigger output, send
TRO <TrigOutID> 1
.
Example: A pulse on digital output line 1 is output each time axis 1 of the mechanics covers
a distance of 0.1 µm.
Send:
CTO 1 2 1
CTO 1 3 0
CTO 1 1 0.0001
TRO 1 1
"Position Distance" trigger mode with start and stop values for positive motion direction of
the axis
Optionally, you can determine the start and stop values for triggering for limiting the range
and specifying the motion direction of the axis (positive or negative).
Information
If start and stop values have the same value, they are ignored.
If the direction of motion is reversed before the axis position has reached the stop value,
trigger pulses continue to be output.
The following commands must be sent to configure the <TrigOutID> digital output line to be
used as trigger output:
CTO <TrigOutID> 2 A
, where A indicates the axis to be moved
CTO <TrigOutID> 3 0
, where 0 determines the Position Distance trigger mode
CTO <TrigOutID> 1 S
, where S indicates the distance
CTO <TrigOutID> 8 Start
, where Start indicates the start value
CTO <TrigOutID> 9 Stop
, where Stop indicates the stop value
Example for positive direction of axis motion: A pulse on digital output line 1 is output every
time axis 1 of the mechanics covers a distance of 0.1 µm, as long as axis 1 is moving in a
positive direction of motion within the range of 0.2 µm to 0.55 µm (start value < stop value).
Send:
CTO 1 2 1
CTO 1 3 0
CTO 1 1 0.0001
CTO 1 8 0.0002
CTO 1 9 0.00055
TRO 1 1
Example for negative direction of axis motion: A pulse on digital output line 1 is output
every time axis 1 of the mechanics covers a distance of 0.1 µm, as long as axis 1 is moving in
a negative direction of motion within the range of 0.55 µm to 0.2 µm (stop value < start
value).
8 E-871.1A1N FUNCTIONS
PZ285EN
‒
1/30/2019
77
M O T I O N | P O S I T I O N I N G