Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Global I-Variables 208
I68n6/I69n6 MACRO IC Channel n* Output Mode Select
Range: 0 - 3
Units: none
Default: 0
Note:
This I-variable is active only if the MACRO IC is present, and is a DSPGATE2 IC.
The presence and type of MACRO ICs are reported in I4902 and I4903.
I68n6 and I69n6 control what output formats are used on the command output signal lines for machine
interface channel n* (n* = 1 to 2) on a DSPGATE2 MACRO IC. For MACRO ICs 0 and 2, n = n*; for
MACRO ICs 1 and 3, n = n* + 5 (i.e. I6816 controls MACRO IC 0 Channel 1; I6976 controls MACRO
IC 3 Channel 2). They have the following possible settings:
I68n6/I69n6 = 0: Outputs A and B are PWM; Output C is PWM
I68n6/I69n6 = 1: Outputs A and B are DAC; Output C is PWM
I68n6/I69n6 = 2: Outputs A and B are PWM; Output C is PFM
I68n6/I69n6 = 3: Outputs A and B are DAC; Output C is PFM
If a three-phase direct PWM command format is desired, I68n6/I69n6 should be set to 0. If signal outputs
for (external) digital-to-analog converters are desired, I68n6/I69n6 should be set to 1 or 3. In this case,
the C output can be used as a supplemental (non-servo) output in either PWM or PFM form. For
example, it can be used to excite an MLDT sensor (e.g. Temposonics
TM
) in PFM form.
Note:
By default, only the C outputs (PWM or PFM) of MACRO IC 0 are used on a
Turbo PMAC2. The A and B outputs are the alternate use of pins on the I/O port.
I68n7/I69n7 MACRO IC Channel n* Output Invert Control
Range: 0 - 3
Units: none
Default: 0
Note:
This I-variable is active only if the MACRO IC is present, and is a DSPGATE2 IC.
The presence and type of MACRO ICs are reported in I4902 and I4903.
I68n7 and I69n7 control the high/low polarity of the command output signals for machine interface
channel n* (n* = 1 to 2) on a “DSPGATE2” MACRO IC. For MACRO ICs 0 and 2, n = n*; for MACRO
ICs 1 and 3, n = n* + 5 (i.e. I6817 controls MACRO IC 0 Channel 1; I6977 controls MACRO IC 3
Channel 2). They have the following possible settings:
I68n7/I69n7 = 0: Do not invert Outputs A and B; Do not invert Output C
I68n7/I69n7 = 1: Invert Outputs A and B; Do not invert Output C
I68n7/I69n7 = 2: Do not invert Outputs A and B; Invert Output C
I68n7/I69n7 = 3: Invert Outputs A and B; Invert Output C
The default non-inverted outputs are high true. For PWM signals on Outputs A, B, and C, this means that
the transistor-on signal is high. Delta Tau PWM-input amplifiers, and most other PWM-input amplifiers,
expect this non-inverted output format. For such a 3-phase motor drive, I68n7 should be set to 0.