
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 99 / 240
Phone +49 721 4846-0, Fax +49 721 4846-1019, Email
Wave Generator
How to Work with the Wave Generator
The following subsections describe the wave generator handling in detail. See also "Wave
Generator Examples" (p. 104).
Basic Data
The number of wave tables can be queried using the SPA? command, parameter ID 0x1300010A.
The E-727 has 40 wave tables for creating and (temporarily) storing arbitrary waveforms
(identifiers are 1 to 40).
To ask for the number of wave generators, use the TWG? command. The assignment of wave
generators and axes to each other is fixed: wave generator 1 is connected to axis 1, wave
generator 2 to axis 2, ..., wave generator n to axis n.
The available wave tables can be flexibly assigned to the wave generators and hence to the axes
using the WSL command. A wave table can be used by multiple wave generators at the same time.
A certain amount of the controllers memory space is reserved for the waveform data (ask with the
SPA? command, parameter ID 0x13000004). The E-727 provides 262144 data points for waveform
definition. This memory space is (temporarily) allocated to the individual wave tables during the
waveform definition.
Basic Operation
1.
Define the waveform segment-by-segment using the WAV command. The waveform will be
written to the selected wave table.
2.
Connect the wave generator to the wave table using the WSL command.
3.
Start the wave generator output and hence the motion of the axis using the WGO command.
You can choose several start options (e.g. start/stop by external trigger, initialization/usage of
the Dynamic Digital Linearization (DDL) feature; see the description of the WGO command and
"Dynamic Digital Linearization (DDL)" (p. 114) for more information).
When starting the wave generator, data recording is started automatically.
4.
Stop the wave generator output with WGO or #24 or STP.
A simple example for your first steps (using the command entry facilities of PIMikroMove or
PITerminal):
Command String to Send
Action Performed
WAV 4 X SIN_P 2000 20 10 2000 0 1000 Define a sine waveform for Wave Table 4; see WAV
description for details
WSL 1 4
Connect the Wave Generator 1 (axis 1) to Wave Table 4
WGO 1 1
Start output of Wave Generator 1 immediately
(synchronized by servo cycles)
WGO 1 0
Stop output of Wave Generator 1