Delta Tau GEO BRICK LV Reference Manual

Page of 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC On-line Command Specification 
 368 
If the remote master returns an error message or it does not respond within I79 servo cycles, Turbo 
PMAC will report ERR008.  Bit 5 of global status register X:$000006 is set to report such a MACRO 
auxiliary communications error.  Register X:$0031EE holds the error value.  It is set to $010000 for a 
timeout error, or $xxxxFE if the slave node reports an error, where xxxx is the 16-bit error code reported 
by the slave node. 
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: 
MMR4,I10,P10 
; Copies value of remote master 4 variable I10 into Turbo PMAC variable P10 
MMR1,P1,P1 
; Copies value of remote master 1 variable P1 into Turbo PMAC variable P1 
MACROMSTWRITE 
Function: 
Write (copy) Type 1 MACRO master auxiliary parameter value  
Scope: 
Global 
Syntax: 
MACROMSTWRITE{master #},{master variable}, 
{ring-master variable}
 
MMW{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 set; 
 
{ring-master variable} is the name of the variable on the Turbo PMAC executing the 
command from 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 from 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 
(I6480 = $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. 
If the remote master returns an error message or it does not respond within I79 servo cycles, Turbo 
PMAC will report ERR008.  Bit 5 of global status register X:$000006 is set to report such a MACRO 
auxiliary communications error.  Register X:$0031EE holds the error value.  It is set to $010000 for a 
timeout error, or $xxxxFE if the slave node reports an error, where xxxx is the 16-bit error code reported 
by the slave node.