Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 361
The format is irrelevant for 1-bit M-variables, and should not be included for them. If no format is
specified, U is assumed.
Examples:
Machine Output 1
M1->Y:$078802,8,1 ; 1-bit (full spec.)
M1->Y$078802,8 ; 1-bit (short spec.)
Encoder 1 Capture/Compare Register
M103->X:$078003,0,24,U ; 24-bit (full spec.)
M103->X$078003,24 ; 24-bit (short spec.)
DAC 1 Output Register
M102->Y:$078003,8,16,S ; 16-bit value
M102->Y491523,8,16,S ; same, decimal address
See Also:
M-Variables (Computational Features)
On-line commands M{constant}, M{constant}->,
.......... M{constant}->D:{address}, M{constant}={expression}
Program command M{constant}={expression}
MACROASCII{master #} [replaced]
Function: Set port in MACRO pass-through mode
Scope: Global (MACRO Ring Master only)
Syntax: MACROASCII{master #}
Note:
This command has been replaced starting in V1.936 firmware by the
MACROMSTASCII command.
MACROAUX{node #},M{slave var}={constant}
Function: Set variable value on Turbo PMAC MACRO slave
Scope: Global
Syntax: MACROAUX{node #},M{slave var}={constant}
MX{node #},M{slave var}={constant}
where:
{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:
o {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;
o {node #} = 16 31 specifies MACRO IC 1 nodes 0 15, which correspond to slave
nodes 0 15 of the same master number as MACRO IC 1;
o {node #} = 32 47 specifies MACRO IC 2 nodes 0 15, which correspond to slave
nodes 0 15 of the same master number as MACRO IC 2;
o {node #} = 48 63 specifies MACRO IC 3 nodes 0 15, which correspond to slave
nodes 0 15 of the same master number as MACRO IC 3;
{slave var} is the name of the variable of the Turbo PMAC acting as a MACRO slave to this
Turbo PMAC. It can be an I, P, Q, or M-variable with a number from 0 to 8191.
{constant} is the numerical value to be assigned to the specified variable