User's Manual
Table Of Contents
- 16-Axis MACRO Slave Station Binding to a MACRO Master
- Mapping Servo Channels to Servo Node
- Mapping Motor Node Registers
- Mapping Motor Function Registers to Node Registers
- Mapping of General Purpose I/O
- UMAC (Pack) Configuration
- I/O Accessory Boards
- Auto Configuration and Identification of UMAC (Pack) Boards
- UMAC (Pack) Interface/Breakout Boards
- MACRO Ring Rules
- I7: Phase Cycle Extension
- I19: Clock Source I-Variable Number
- Turbo PMAC2 Ultralite: I6800 and I6801
- UMAC Turbo
- Notes on Servo Clock
- I6840: MACRO IC 0 Master Configuration
- I6890/I6940/I6990: MACRO IC 1/2/3 Master Configuration
- I6841/I6891/I6941/I6991: MACRO IC 0/1/2/3 Node Activation Control
- I70/I72/I74/I76: MACRO IC 0/1/2/3 Node Auxiliary Function Enable
- I71/I73/I75/I77: MACRO IC 0/1/2/3 Node Protocol Type Control
- I78: MACRO Master/Slave Auxiliary Communications Timeout
- I79: MACRO Master/Master Auxiliary Communications Timeout
- I80, I81, I82: MACRO Ring Check Period and Limits
- Ixx01: Commutation Enable
- Ixx02: Command Output Address
- Ixx03, Ixx04: Feedback Address
- Ixx10, Ixx95: Absolute Position Address and Format
- Ixx25, Ixx24: Flag Address and Mode
- Ixx70, Ixx71: Commutation Cycle Size
- Ixx75: Absolute Phase Position Offset
- Ixx81, Ixx91: Power-On Phase Position Address and Mode
- Ixx82: Current Loop Feedback Address
- Ixx83: Commutation Feedback Address
- Ring Update Frequency
- Station Servo Clock Frequency
- MACRO IC 0
- MACRO IC 1
- MACRO IC 0
- MACRO IC 1
- Channels 1-4 (First 4-Axis Board)
- Channels 5-8 (Second 4-Axis Board)
- On Board Auxiliary Channels (Handwheel/Pulse and Direction)
- Incremental Digital Encoder Feedback
- Analog Encoder Feedback
- Resolver Feedback
- MLDT Feedback
- 12-Bit A/D Converter Feedback
- 14E Parallel Feedback
- MI17 Amplifier Fault Disable Control
- MI18 Amplifier Fault Polarity Control
- MI10x Position Feedback Address
- MI11x Power-On Position Feedback Address
- MI16x Power-On MLDT Excitation Value
- MI975 I/O Node Enable
- MI19 I/O Transfer Period
- Bi-Directional I/O Transfer Control
- Uni-Directional I/O Transfer Control
- Setting the Trigger Condition
- Using for Homing
- Using in User Program
- Setting up for a Single Pulse Output
- Setting up for Multiple Pulse Outputs
- How to Enable and Disable MACRO ASCII Communication Mode
- The Ring Order Method
- Example: Read Using MM-Variables – Actual Encoder
- Example: Read DAC Output from Servo IC Card
- Example: Monitor Up/Down Counter from Servo IC Card
- Example: Write to DACnB on Servo IC Card
- Example: Read Using MI198 and MI199 – Direct Hal
- Example: Read Using MI198 and MI199 – Actual DAC
16-Axis MACRO CPU User Manual
16-Axis MACRO CPU Software Setup 39
ADC Strobe Word: MI941 controls the ADC strobe signal used to interface to serial A/D converters
brought in on Channels 1-4. The default value of $FFFFFE is suitable for most A/D converter types used
with the 16-Axis MACRO CPU, either for digital current loop feedback, or for general-purpose use from
an Acc-28B.
On Board Auxiliary Channels (Handwheel/Pulse and Direction)
There are several variables that affect all of the machine interface channels 9 and 10 which are present on
the 2-Axis piggyback board.
PWM Frequency: MI992 controls the PWM frequency of Channels 9 and 10, as well as the MaxPhase
clock frequency from which the phase clock frequency for the entire MACRO Station is derived (see
above). The equation is:
PWM Frequency (kHz) = 117,964.8 / [4*MI992 + 6]
The MaxPhase frequency is exactly twice the PWM 9-10 frequency.
Hardware Clock Frequencies: MI993 controls the frequencies of the four hardware clock signals for
Channels 9 and 10: the encoder sample SCLK, the pulse-and-direction PFMCLK, the analog output
DAccLK, and the analog input ADCCLK. MI993 is a 12-bit value consisting of four independent 3-bit
parts, each controlling one of the clock frequencies. The equation is:
MI993 = SCLK Divider + 8*PFMCLK Divider + 64*DAccLK Divider
+ 512*ADCCLK Divider
The value of each clock divider can take a value of 0 to 7 and the frequency of each clock signal is:
Clock Frequency = 39.3216 MHz / [2^Clock Divider]
The default value for MI993 of 2258 is suitable for most applications. Refer to the detailed description in
the MACRO Station Hardware Reference Manual to change any of these frequencies.
PWM Deadtime/PFM Pulse Width: MI994 controls both the deadtime for PWM outputs on Channels 9
and 10 and the pulse width for the PFM pulse-and-direction outputs on Channels 9 and 10. The equations are:
PWM Deadtime (
µ
sec) = 0.135 * MI994
PFM Pulse Width (
µ
sec) = MI994 / PFMCLK Freq. (MHz)
DAC Strobe Word: MI999 controls the DAC strobe signal used to create analog outputs for Channels 9
and 10. It is a 24-bit word that is shifted out one bit per DAccLK cycle, MSB first, starting on the rising
edge of the phase clock.
MI999 should be set to the default value of $7FFF00 for use with the on-board 16-bit DACs that come
with the Option A PMAC-style interface on the Acc-1E 2-Axis piggyback board, or on an Acc-8A
breakout board that attaches to the PMAC2-style connector on the Acc-1E. MI999 should be set to
$7FFFC0 for use with the 18-bit DACs on the Acc-8E PMAC2-style breakout board that attaches to the
PMAC2-style connector on the Acc-1E.
ADC Strobe Word: MI942 controls the ADC strobe signal used to interface to serial A/D converters
brought in on Channels 9 and 10. The default value of $FFFFFE is suitable for most A/D converter types
used with the 16-Axis MACRO CPU, either for digital current loop feedback, or for general-purpose use
from an Acc-28B.