Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 367
Turbo PMACs on the ring to which these commands are passed through must be set as masters but not
ring controllers, with Node 14 enabled but not in broadcast mode. On these boards:
I6840 = $10 (master, but not ring controller; Node 14 not in broadcast mode)
I6841 bit 14 = 1 (Node 14 enabled)
These values be saved, and the card reset, before this mode can be enabled.
This port is taken out of MACRO pass-through mode if it is given the <CTRL-T> command. To change
which other master to which the commands are passed through, first take the port out of pass-through
mode with a <CTRL-T>, then enable the pass-through to another master. If another MACROMSTASCII
command is sent while the port is in pass-through mode, this command will be passed through and
rejected by the other master, returning an ERR008.
In pass-through mode, command errors are always reported in the form <BELL>ERRnnn<CR>,
regardless of the setting of I6.
See Also:
On-line commands <CTRL-T>, MACROSTASCII{station #}
MACROMSTREAD
Function: Read (copy) Type 1 MACRO master auxiliary parameter value
Scope: Global
Syntax: MACROMSTREAD{master #},{master variable},
{ring-master variable}
MMR{master #},{master variable},{ring-master variable}
where:
{master #} is a constant (1-15) representing the number of the remote master whose variable is to
be read;
{master variable} is the name of the variable on the remote master station whose value is to
be reported
{ring-master variable} is the name of the variable on the Turbo PMAC executing the
command into which the value of the remote master variable is to be copied
This command causes Turbo PMAC to copy the value of the specified variable on the remote master
station into the specified variable on the Turbo PMAC executing the command, using the MACRO Type
1 master-to-master auxiliary protocol.
In order for the Turbo PMAC to be able to execute this command, the following conditions must be true:
MACRO IC 0 on this Turbo PMAC must be set up as the synchronizing ring master (I6840 = $xx30);
MACRO IC 0 on this Turbo PMAC must be set up as Master 0 on the ring (I6841 = $0xxxxx);
MACRO IC 0 node 14 must be in broadcast mode (I6840 bit 14 = 1);
MACRO IC 0 node 14 auxiliary register copy function must be disabled (I70 bit 14 = 0);
MACRO IC 0 node 14 must not be used for any other function.
In order for another Turbo PMAC to be able to respond to the communications that this command creates
on the MACRO ring (to be the remote master), the following conditions must be true:
MACRO IC 0 on the Turbo PMAC must be set up as a master, but not the synchronizing ring master
(I6840 = $xx90);
MACRO IC 0 on the Turbo PMAC must be set up with a non-zero master number on the ring (I6841
= $nxxxxx, where n > 0);
MACRO IC 0 node 14 must normally be disabled (I6841 bit 14 = 0);
MACRO IC 0 node 14 must be in “broadcast mode” (I6840 bit 14 = 1);
MACRO IC 0 node 14 auxiliary register copy function must be disabled (I70 bit 14 = 0);
MACRO IC 0 node 14 must not be used for any other function.