80 Version: 1.2.1 MS249E C-863.12 Mercury Controller
7.3.3 Configuring the "On Target" Trigger Mode
The on-target state of the axis selected (p. 23) is output at the selected trigger output in On
Target trigger mode.
1. Configure the digital output line (<TrigOutID>) to be used as the trigger output:
− Send CTO <TrigOutID> 2 A, where A indicates the axis to be moved.
− Send CTO <TrigOutID> 3 2, where 2 specifies the On Target trigger mode.
2. If you want to activate the conditions for trigger output, send TRO <TrigOutID> 1.
Example:
The on-target state of axis 1 is to be output on the digital output line 1.
➢ Send:
CTO 1 2 1
CTO 1 3 2
TRO 1 1
7.3.4 Configuring the "Motion Error" Trigger Mode
The Motion Error trigger mode is suitable for monitoring motion. The selected digital output
line becomes active when a motion error occurs on one of the connected axes. The line stays
active until the error code is reset to 0 (by an ERR? query).
A motion error occurs when the current position differs too much from the commanded
position during motion.
For further information, see "Motion Error" (p. 73).
1. Configure the digital output line (<TrigOutID>) that is to be used as the trigger output:
− Send CTO <TrigOutID> 3 5, where 5 specifies the Motion Error trigger mode.
2. If you want to activate the conditions for trigger output, send TRO <TrigOutID> 1.
7.3.5 Configuring the "In Motion" Trigger Mode
The motion state of the selected axis is output at the selected trigger output in In Motion
trigger mode. The line is active, as long as the selected axis is in motion.
The motion state can also be read with the #5 (p. 127), #4 (p. 126), and SRG? (p. 193)
commands.