Reference Manual

16-Axis MACRO CPU Software Reference Manual
Turbo PMAC Type 1 16-Axis MACRO Station Commands 67
TURBO PMAC TYPE 1 16-AXIS MACRO CPU STATION
COMMANDS
The following commands from the Turbo PMAC controllers can be used for Type 1 auxiliary
communication with the 16-Axis MACRO Station.
On-Line Commands
MS Command
Syntax: MS{command}{node #}
where:
{command} is one of the following text strings:
$$$ normal station reset
$$$*** station reset and re-initialize
CLRF station fault clear for
CONFIG report station configuration value
DATE report station firmware date
SAVE save station setup
VER report station firmware version
{node #} is a constant representing the number of the node to be commanded (if the
command affects the entire station, the number of any active node on the
station may be used)
This PMAC command causes PMAC to issue the specified command to a Type 1 MACRO slave station.
The MS CONFIG command allows the user to set and report a user-specified configuration value. This
provides any easy way for the user to see if the 16-Axis MACRO Station has already been configured to
the user’s specifications. The factory default configuration value is 0. It is recommended that after the
user finishes the software configuration of the station, a special number be given to the configuration
value with the MS CONFIG{node #}={constant} command. This number will be saved to the non-
volatile memory with the MS SAVE command. Subsequently, when the system is powered up, the station
can be polled with the MS CONFIG {node #} command. If the expected value is returned, the station
can be assumed to have the proper software setup. If the expected value is not returned (for instance,
when a replacement station has just been installed) then the setup will have to be transmitted to the
station.
Examples:
MS $$$0 ; Resets 16-Axis MACRO Station which has active node 0
MS $$$***4 ; Reinitializes 16-Axis MACRO Station which has active node 4
MS CLRF8 ; Clears fault on Node 8 of 16-Axis MACRO Station
MS CONFIG12 ; Causes 16-Axis MACRO Station to report its configuration number
37 ; PMAC reports 16-Axis MACRO Station configuration number to host
MS CONFIG12=37 ; Sets 16-Axis MACRO Station configuration number
MS DATE 0 ; Causes 16-Axis MACRO Station to report its firmware date
03/27/97 ; PMAC reports 16-Axis MACRO Station firmware date to host
MS SAVE 4 ; Causes 16-Axis MACRO Station to save setup variables
MS VER 8 ; Causes 16-Axis MACRO Station to report its firmware version
1.200 ; PMAC reports 16-Axis MACRO Station firmware version to host