Data Sheet

Scripting Tab
Advanced Digital Motor Controller User Manual 381
Updating Script
It is possible to load a new script into the controller using the “Update Script” button.
After clicking, select a script object file in .hex format. The hex file is generated from the
Scripting tab.
Updating the Controller Logic
Some controller models have one or two programmable logic parts which can also be up-
dated in the field. Updating the logic must only be done only using the COM port, when
the power stage is off and the controller is powered only with the power control wire. No
I/O must be connected on the front connectors either. COM port number must range be-
tween 1 and 10. Use the Device Manager to reassign the port number if higher.
To update the logic, click on the “Update Power Board Logic” or “Update Controller Logic”, se-
lect the file and click on the “Program” button. The log shows the steps that are taking place
during the process. The process last approximately 60 sec., do not cancel the programming in
the middle of programming even if it looks that there is no progress. Cancel only after over a
minute of inactivity. Never turn off the power while programming is in progress.
After updating the logic, you should turn off and turn on the controller in order for the
changes to be fully accounted for.
Scripting Tab
One of the controller’s most powerful and innovative features is the ability for the user
to write programs that are permanently saved into, and run from the controller’s Flash
Memory. This capability is the equivalent of combining the motor controller functionality
and this of a PLC or Single Board Computer directly into the controller. The scripting tab is
used to write, simulate, and download custom scripts to the controller.
FIGURE 20-29. Scripting window