
User Manual
E727T0005, valid for E-727
BRO, 2019-06-28
Physik Instrumente (PI) GmbH & Co. KG, Auf der Roemerstrasse 1, 76228 Karlsruhe, Germany
Page 83 / 240
Phone +49 721 4846-0, Fax +49 721 4846-1019, Email
Example 2: Use Generator Level Trigger mode to switch the digital output line to a certain level for
a certain range of the waveform.
Command String to Send
Action Performed
WAV 2 X SIN_P 2000 20 10 2000 0 1000
Define a sine waveform for Wave Table 2, the segment
length and hence the number of points in the wave table is
2000
CTO 1 3 4
The digital output line OUT1 is set to "Generator Level
Trigger" mode.
TWS 1 1 3 1 750 2 1 1150 3
For all waveform points from point 1 to point 749, the
output line is set low. At point 750, there is a rising edge on
the output line. Therefore, the output line is set high from
point 751 to point 1149. At point 1150, there is a falling edge
on the output line, and for all subsequent points the line will
therefore be set low.
WSL 1 2
Connect Wave Generator 1 (Axis 1) to Wave Table 2
WGO 1 1
Start output of Wave Generator 1 immediately (synchronized
by servo cycle). Now the trigger output action will take place
as specified.
WGO 1 0
Stop output of Wave Generator 1 and hence also the trigger
output.
Example—"Generator Pulse Trigger" Mode
With the "Generator Pulse Trigger" mode, the trigger output will be synchronized with the wave
generator output, and CTO must be used in combination with TWS.
The length of a single trigger pulse is shorter than the servo cycle duration. If the signal level is set
to HIGH with TWS for consecutive points of a wave table, the signal level therefore changes back to
LOW after each point. This way, the trigger output can be used, for example, to count the
waveform points that are output by the wave generator.
The following parameter must be set for the digital output line which is to be used for trigger
output (<TrigOutID>):
TriggerMode (<CTOPam> = 3)
General notation of the CTO command for this mode:
Command mnemonic Trigger mode selection
CTO
<TrigOutID> 3 9
Instead of using the CTO command, you can also set the value of the corresponding parameter
with SPA or SEP, see “Configuring Trigger Output” (p. 69) for a parameter list.
The examples given for the “Generator Level Trigger” mode (p. 82) can also be used in “Generator
Pulse Trigger” mode. Note: If example 2 is used in “Generator Pulse Trigger” mode, the digital
output line will toggle between high and low with each waveform point from point 751 to point
1149.