Reference Guide

PMAC Quick Reference Guide
16 PMAC Executive Program, PEWIN
Downloading Compiled PLCCs
PLCCs are compiled by PEWIN in the downloading process. Only the compiled code gets downloaded
to PMAC. Therefore, save the ASCII source code in the host computer separately since it cannot be
retrieved from PMAC. Compiled PLCs are firmware dependent and must be recompiled when the
firmware is changed in PMAC.
If more than one PLCC is programmed, all the PLCC code must belong to the same ASCII text file.
PEWIN will compile all the PLCC code present on the file and place it in the appropriate buffer in
PMAC. If a single PLCC code is downloaded, all the other PLCCs that might have been present in
memory will be erased, remaining only the last compiled code.
The multiple-file download feature of the PEWIN File menu allows the PLCC codes to be in different
files. They will be combined by PEWIN in the downloading process.
PID Tuning Utility
This function is accessible from the terminal window by pressing ALT+C from the Configure menu and
T for Tuning. The Autotuning feature finds the PID parameters with virtually no effort. In most cases,
the parameters are very close to optimal, and in some cases require further fine-tuning.
In this screen, press the Page-Up or Page-Down keys on the keyboard to select the motor number.
1. Select the Auto Tune feature. This is the first interaction to find a starting bandwidth parameter.