Specifications
Operation
3 Stop the wave generator output with WGO or #24 or STP.
The simple example below shows how to start periodic motion of the first
axis ("A" by default) using the command entry facilities of PIMikroMove™ or
PITerminal:
Command String to Send Action Performed
WAV 1 X SIN_P 2000 20 10 2000 0 1000
Define a inverted cosine waveform for
Wave Table 1 (belongs to the first
axis); see WAV description for details
WGO 1 1
Start output of Wave Generator 1
(belongs to the first axis) immediately
and synchronized by servo cycles
WGO 1 0
Stop output of Wave Generator 1
NOTE
PIMikroMove™ provides the PI Wave Generator Tool with which you
can create waveforms and start the wave generator output without the
need to learn the corresponding commands. See the PIMikroMove™
manual for more information.
3.8 Working with Controller Macros
The macro feature allows defining command sequences and storing them
permanently in non-volatile memory in the controller. Each defined macro
can be called up by its own user-defined name. In addition, it is possible to
define a macro that will be executed automatically every time the E-517 is
started, making possible stand-alone operation without a host computer.
See the subsections below and the MAC command description for more
details and examples.
For further examples see also "Scanning Examples with Wave Generator
and Macros" in the E-517 User Manual.
NOTES
PIMikroMove™ offers a comfortable macro editor on the Controller
macros tab card.
Furthermore, PIMikroMove™ offers the "Host macro" feature which
makes it possible to save macros on the host PC. With the Host macro
feature you can also program conditions and loops in macros which is
not directly supported by the E-517. See the PIMikroMove™ manual
for more information regarding Host macros.
www.pi.ws E-517 PZ214Equ Release 1.0.0 Page 37