Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Global I-Variables 211
I6841/I6891/I6941/I6991 MACRO IC Node Activate Control
Range: $000000 to $FFFFFF (0 to 8,388,607)
Units: none
Default: $0 (all nodes de-activated)
I6841, I6891, I6941, and I6991 control which of the 16 MACRO nodes on MACRO ICs 0, 1, 2, and 3,
respectively, are activated. They also control the master station number of the IC, and the node number
of the packet that creates a synchronization signal. The bits of these I-variables are arranged as follows:
Bit #
Value
Type
Function
0
1($1)
Config
Node 0 Activate
1
2($2)
Config
Node 1 Activate
2
4($4)
Config
Node 2 Activate
3
8($8)
Config
Node 3 Activate
4
16($10)
Config
Node 4 Activate
5
32($20)
Config
Node 5 Activate
6
64($40)
Config
Node 6 Activate
7
128($80)
Config
Node 7 Activate
8
256($100)
Config
Node 8 Activate
9
512($200)
Config
Node 9 Activate
10
1024($400)
Config
Node 10 Activate
11
2048($800)
Config
Node 11 Activate
12
4096($1000)
Config
Node 12 Activate
13
8192($2000)
Config
Node 13 Activate
14
16384($4000)
Config
Node 14 Activate
15
32768($8000)
Config
Node 15 Activate
16-19
$X0000
Config
Packet Sync Node Slave Address (X=0-F)
20-23
$X00000
Config
Master Station Number (X=0-F)
Bits 0 to 15 are individual control bits for the matching node number 0 to 15. If the bit is set to 1, the
node is activated; if the bit is set to 0, the node is de-activated.
Note:
If the use of an activated node n includes auxiliary register functions, including
servo flags, bit n of I72 (IC 1), I74 (IC 2), or I76 (IC 3) must also be set to 1, and
bit n of I73 (IC 1), I75 (IC 2), or I77 (IC 3) must be set properly to 0 or 1 to define
Type 0 or Type 1 auxiliary register functions, respectively.
If MACRO IC m is a master station (likely) as determined by I6840/I6890/I6940/I6990, it will send out a
packet for each activated node every ring cycle (every phase cycle). When it receives a packet for an
activated node, it will latch in that packet and not pass anything on.
If MACRO IC m is a slave station (unlikely but possible) as determined by I6840/I6890/I6940/I6990,
when it receives a packet for an activated node, it will latch in the contents of that packet into its read
registers for that node address, and automatically substitute the contents of its write registers into the
packet.
If a node is disabled, the PMAC2, whether master or slave, will still latch in the contents of a packet it
receives, but it will also pass on the packet unchanged. This feature is useful particularly for the MACRO
broadcast feature, in which multiple stations need to receive the same packet.