Reference Manual

16-Axis MACRO CPU Software Reference Manual
16-Axis MACRO Station MI-Variable Reference 1
16-AXIS MACRO STATION MI-VARIABLE REFERENCE
The 16-Axis MACRO Station is set up through its own set of initialization I-variables, which are distinct
from the I-variables on PMAC. Usually, they are referenced as MI-variables (e.g. MI900) to distinguish
them from the PMAC’s own I-variables, although they can be referenced just as I-variables.
These MI-variables can be accessed from the Turbo PMAC2 Ultralite through the on-line
MS{node#},MI{variable#} read and MS{node#},MI{variable#}={constant} write
commands, or the MSR{node#},MI{variable#},{PMAC variable} read-copy and
MSW{node#},MI{variable#},{PMAC variable} write-copy commands (either on-line or
background PLC), where {node#} specifies the MACRO node number (0 to 15), {variable#}
specifies the number of the Station MI-variable (0 - 1999), {constant} represents the numerical value to
be written to the Station MI-variable, or {PMAC variable} specifies the value to be copied to or from
the Station MI-variable.
For most Station MI-variables, the {node#} specifier can take the number of any active node on the
station (usually the lowest-numbered active node). These variables have MS{anynode} in the header of
their descriptions below.
However, there are several node-specific MI-variables. These variables are in the range MI910 to MI939.
For these variables, the node specifier must contain the specific node number for the MACRO node they
affect. These variables have MS{node} in the header of their descriptions below.
Global MI-Variables
MS{anynode},MI0 Station Firmware Version (Read Only)
Range: 1.200 - 9.999
Units: Revision numbers
Example:
MS0,MI0
1.200
MS{anynode},MI1 Station Firmware Date (Read Only)
Range: 01/01/00 12/31/99
Units: MM/DD/YY
This variable, when queried, reports the date of implementation of the firmware on the 16-Axis MACRO
Station. The date is reported in the North American style of month/day/year with two decimal digits for
each.
The PMAC command MSDATE, which polls this value, turns the year into a 4-digit value before
reporting the value to the host computer.
MS{anynode},MI2 Station ID and User Configuration Word
Range: $000000 - $FFFFFF
Units: none
Default: 0
This variable permits the user to write a station identification number to the 16-Axis MACRO Station.
Typically, when the software setup of a Station is complete, a unique value is written to this MI-variable
in the station, and saved with the other MI-variables. On power-up/reset, the controller can query MI2 as
a quick test to see if the Station has been set up properly for the application. If it does not report the
expected value, the controller can download and save the setup values.