Delta Tau GEO BRICK LV User Manual

Page of 271
Geo Brick LV User Manual
 
MACRO Connectivity 
 204 
Review: MACRO Auxiliary Commands 
In  MACRO  Auxiliary  mode  (Brick  -  Brick),  master  and  slave  data  exchange  (i.e.  reads,  writes)  can  be 
done using Macro Auxiliary MX commands. 
 
For simplicity, the following examples describe syntax commands intended to communicate with a slave 
unit associated  with  node 0. But ultimately, these  commands can be used  with any  enabled  node  on the 
addressed slave. 
 
 
Note 
MACRO auxiliary commands are only valid from the master side.  
 
Online Commands: 
Syntax 
Example 
Description 
MX{anynode},{slave variable} 
MX0,P1 
Read and report slave variable P1 
MX{anynode},{slave variable}={constant} 
MX0,P1=1 
Write a 1 to slave variable P1 
 
Program “Buffer” Commands: 
Syntax 
Example 
Description 
MXR{anynode},{slave variable},{master variable} 
MXR0,P2,P1 
Copy slave P2 into master P1 
MXW{anynode},{slave variable},{master variable} 
MXW0,P2,P1 
Copy master P1 into slave P2 
 
 
 
Where: 
 
 
{anynode} is a constant (0 to 63) representing the number of any node activated on the slave. 
 
{slave  variable} is the  name  of the  variable at the slave side.  It can be I, P, Q, or M-variable  with a 
number from 0 to 8191. 
 
{master variable} is the name of the variable at the master side. It can be I, P, Q, or M-variable with a 
number from 0 to 4095 (firmware limited).