Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Global I-Variables 172
The following table shows the relationship between bits of I5051 and the data gathering source address I-
variables:
Bit #
Value
I-Variable Enabled
Bit #
Value
I-Variable Enabled
0
$1
I5025
12
$1000
I5037
1
$2
I5026
13
$2000
I5038
2
$4
I5027
14
$4000
I5039
3
$8
I5028
15
$8000
I5040
4
$10
I5029
16
$10000
I5041
5
$20
I5030
17
$20000
I5042
6
$40
I5031
18
$40000
I5043
7
$80
I5032
19
$80000
I5044
8
$100
I5033
20
$100000
I5045
9
$200
I5034
21
$200000
I5046
10
$400
I5035
22
$400000
I5047
11
$800
I5036
23
$800000
I5048
Note:
Normally, this parameter is set automatically by the PMAC Executive Program’s
gathering and tuning routines.
A/D Processing Table I-Variables
I5060 A/D Processing Ring Size
Range: 0 - 16
Units: Number of A/D Pairs
Default: 0
I5060 controls the number of pairs of multiplexed A/D converters, either from on-board Option 12 ADCs,
or off-board Acc-36 ADCs, that are processed and de-multiplexed into individual registers. If I5060 is set
to 0, none of these A/D converters is processed automatically.
If I5060 is set to a value greater than 0, it specifies the number of pairs of ADCs in the automatic
processing ring. Each phase clock cycle, one pair is processed, and the values copied into image registers
in RAM.
Global I-variable I7 permits most phasing tasks, such as motor commutation and digital current loop
closure, to skip some phase clock cycles. This A/D de-multiplexing occurs every phase clock cycle,
regardless of the setting of I7. This permits the de-multiplexing to occur at a very high frequency with
out overloading Turbo PMAC with phase calculations.
For each pair enabled, one of the A/D ring slot pointer I-variables I5061-I5076 and one of the A/D ring
convert code I-variables I5081-I5096 must be set properly. If I5060 is set to 1, then I5061 and I5081
must be set properly; if I5060 is set to 2, then I5061, I5062, I5081, and I5082 must be set properly.
I5060 is actually used at power-on/reset only, so to make a change in the A/D de-multiplexing ring size,
including activating or de-activating the function, change the value of I5060, store this new value to non-
volatile flash memory with the SAVE command, and reset the card with the $$$ command.