Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Global I-Variables 76
I83 specifies which MACRO ICs on Turbo PMAC2 control their own independent rings so independent
checking of ring communications using variables I80 to I82 is done using registers in that MACRO IC.
I83 is a 4-bit value. Bit n of I83 corresponds to MACRO IC n. If bit n is set to 1, ring checking is
performed using registers in MACRO IC n. If bit n is set to 0, no ring checking is performed using
registers in MACRO IC n. (However, if all bits are 0, checking can still be done on MACRO IC 0; see
below.)
I80 must be set greater than 0 to specify a ring-check period and activate any ring checking. If I80 is set
greater than 0, ring checking is done automatically on MACRO IC 0, so bit 0 if I83 is not used. However,
if multiple rings are used, it is recommended that Bit 0 be set to 1 for clarity’s sake.
Presently, only the UMAC configuration of the Turbo PMAC2 supports multiple rings (through multiple
Acc-5E boards). All other versions of Turbo PMAC2 can only support a single ring and do ring checking
on MACRO IC 0. For these boards, I83 can be left at the default value of 0.
If multiple MACRO ICs share a common ring, the lowest-numbered MACRO IC on the ring should be
used for ring checking. For example, if MACRO ICs 0 and 1 share one ring, and MACRO ICs 2 and 3
share another, bits 0 and 2 of I83 should be set to 1, yielding a value of 5.
I-variables I20 I23 specify the base addresses of MACRO ICs 0 3, respectively. These must be set
correctly in order for the ring-checking function on these ICs to work properly.
The following table shows which MACRO rings are enabled by the I83 bits.
I83 Bit #,
MACRO IC #
Bit Value
I-Variable for
IC Address
0
1
I20
1
2
I21
2
4
I22
3
8
I23
See Also:
I-Variables I20 I23, I80 I82
I84 MACRO IC # for Master Communications
Range: 0 3
Units: MACRO IC #
Default: 0
I84 specifies which MACRO IC on the Turbo PMAC2 is used for “MACRO Master” communications
with the MACROMSTASCII, MACROSTASCII, MACROMSTREAD, and MACROMSTWRITE commands.
I84 can take a value from 0 to 3. The value of I84 specifies that the MACRO IC of that number will be
used. Variables I20 I23 specify the base addresses of MACRO ICs 0 3, respectively.
Note:
The UMAC Turbo firmware will support up to four parallel MACRO Rings and, if
desired up to sixteen by changing I20 I23 before initiating communication over
the MACRO Ring. Each parallel MACRO Ring will be a Ring Controller with the
MACRO IC tied to I20 being the source of the Phase and Servo clock.
See Also:
I-variables I20 I23
Commands MACROMASTASCII, MACROSTASCII, MACROMSTREAD, MACROMSTWRITE
I85 MACRO Ring Order Number
Range: 0 254
Units: none