Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Global I-Variables 175
For the on-board Option 12 & 12A ADCs on a Turbo PMAC2, the m value determines which of the
inputs ANAI08 to ANAI15 that come with Option 12A is to be read, and how it is to be converted,
according to the following formulas:
8#ANAIm
; 0 to +5V unipolar input
#ANAIm
; -2.5V to +2.5V bipolar input
For the on-board Option 12 & 12A ADCs on a Turbo PMAC2, the n value determines which of the inputs
ANAI00 to ANAI07 that come with Option 12A is to be read, and how it is to be converted, according to
the following formulas:
#ANAIn
; 0V to +5V unipolar input
8#ANAIn
; -2.5V to +2.5V bipolar input
For example, to read ANAI02 from Option 12 and ANAI10 from Option 12A, both as +/-2.5V inputs,
into the first slot in the ring, m would be set to A (10) and n would be set to A (10), so I5081 would be set
to $00A00A.
For the off-board Acc-36P/V ADCs, the m value is always 0, and the n value determines which pair of
ADCs is to be read, and how they are to be converted, according to the following formulas:
9#ADC,1#ADCn
; 0 to +10V (between + and -) unipolar inputs
1#ADC,7#ADCn
; -5V to +5V (between + and -) bipolar inputs
For example, to read ADC3 and ADC11 of an Acc-36 as 0-10V inputs into the second slot in the ring, n
would be set to 2, so I5082 would be set to $000002.
I5081 I5096 are actually used at power-on/reset only, so to make a change in the A/D de-multiplexing
codes, change the values of I5081 I5096, store these new values to non-volatile flash memory with the
SAVE command, and reset the card with the $$$ command.
Coordinate System I-Variables
I-Variables in the I5100s through the I6600s control the setup of the 16 possible coordinate systems on a
Turbo PMAC, Coordinate System 1 through Coordinate System 16. Each group of 100 I-variables is
reserved for a specific coordinate system: the I5100s for C.S. 1, the I5200s for C.S. 2, and so on, to the
I6600s for C.S. 16. The following table lists the I-variables used for each coordinate system:
C.S. #
I-Variables
C.S. #
I-Variables
C.S. #
I-Variables
C.S. #
I-Variables
1
I5100-5199
5
I5500-5599
9
I5900-5999
13
I6300-6399
2
I5200-5299
6
I5600-5699
10
I6000-6099
14
I6400-6499
3
I5300-5399
7
I5700-5799
11
I6100-6199
15
I6500-6599
4
I5400-5499
8
I5800-5899
12
I6200-6299
16
I6600-6699
In the generic description of these I-variables, the thousands digit is represented by the letter s, and the
hundreds digit by the letter x; for example, Isx11. s and x can take the following values:
s is equal to 5 for Coordinate Systems 1 9;
s is equal to 6 for Coordinate Systems 10 16;
x is equal to the coordinate system number for Coordinate Systems 1 9;
x is equal to the (coordinate system number minus 10) for Coordinate Systems 10 16.
The descriptions of the variables refer to “Coordinate System x generically, even though the coordinate
system number is equal to (x + 10) for Coordinate Systems 10 16.