
7 Operation
C-863.12 Mercury Controller
MS249E
Version: 1.2.1
81
INFORMATION
If the axis is in motion, then bit 14 of the state register 1 of the axis is set.
1.
Configure the digital output line (<TrigOutID>) that is to be used as the trigger output:
−
Send
CTO <TrigOutID> 2 A
, where
A
indicates the axis to be moved.
−
Send
CTO <TrigOutID> 3 6
, where 6 specifies the
In Motion
trigger mode.
2.
If you want to activate the conditions for trigger output, send
TRO <TrigOutID> 1
.
Example:
Digital output line 1 is to be active if axis 1 of the positioner is in motion.
➢
Send:
CTO 1 2 1
CTO 1 3 6
TRO 1 1
7.3.6
Configuring the "Po Offset" Trigger Mode
The
POffset
trigger mode is suitable for scanning applications. The first trigger pulse is
output when the axis has reached a specified position (TriggerPosition). The next trigger pulses
are output respectively when the axis position equals the sum of the last valid trigger position
and a specified distance (TriggerStep). The trigger output is stopped when a stop value is
reached. The polarity sign of the distance value determines the direction of motion in which
trigger pulses are to be output.
The pulse width is one servo cycle.
The unit for TriggerPosition, TriggerStep and stop value is subject to the settings of parameters
0xE and 0xF. Default is mm.
1.
Configure the digital output line (<TrigOutID>) that is to be used as the trigger output:
−
Send
CTO <TrigOutID> 2 A
, where
A
indicates the axis to be moved.
−
Send
CTO <TrigOutID> 3 7
, where 7 specifies the
POffset
trigger
mode.
−
Send
CTO <TrigOutID> 1 S
, where
S
indicates the distance.
−
Send
CTO <TrigOutID> 10 TriPos
, where
TriPos
indicates the position for
the output of the first trigger pulse.
−
Send
CTO <TrigOutID> 9 Stop
, where
Stop
indicates the stop value.
2.
If you want to activate the conditions for trigger output, send
TRO <TrigOutID> 1
.