Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 369
If this command is issued to a Turbo PMAC while a PLC buffer is open, it will be stored in the buffer as a
PLC command, not executed as an on-line command.
Examples:
MMW4,I10,P10 ; Copies value of Turbo PMAC variable P10 into remote master 4 variable I10
MMW1,P1,P1 ; Copies value of Turbo PMAC variable P1 into remote master 1 variable P1
MACROSLV{command} {node#}
Function: Send command to Type 1 MACRO slave
Scope: Global
Syntax: MACROSLAVE{command}{node #}
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 in the range 0 to 63 representing the number of the node on the Turbo
PMAC matching the slave node to be accessed, where the node number specification is:
{node #} = 0 15 specifies MACRO IC 0 nodes 0 15, which correspond to slave nodes 0
15 of the same master number as MACRO IC 0;
{node #} = 16 31 specifies MACRO IC 1 (Ultralites with Option 1A only) nodes 0 15,
which correspond to slave nodes 0 15 of the same master number as MACRO IC 1;
{node #} = 32 47 specifies MACRO IC 2 (Ultralites with Option 1B only) nodes 0 15,
which correspond to slave nodes 0 15 of the same master number as MACRO IC 2;
{node #} = 48 63 specifies MACRO IC 3 (Ultralites with Option 1C only) nodes 0 15,
which correspond to slave nodes 0 15 of the same master number as MACRO IC 3;
This command causes Turbo PMAC to issue the specified command to a MACRO slave station using the
Type 1 auxiliary master-to-slave protocol. {node #} can be the number of any active node on the slave
station. If {node #} is set to the highest node number for the MACRO IC (15, 31, 47, or 63), the action
automatically applies to all slave stations commanded from that MACRO IC.
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 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.
In order for the Turbo PMAC to be able to execute this command, the following conditions must be true:
The MACRO IC used must be set up as a master or the synchronizing ring master
(I6840/6890/6940/6990 = $xx90 or $xx30);