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
38 16-Axis MACRO CPU Software Setup
The default value for MI903 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: MI904 controls both the deadtime for PWM outputs on Channels
1-4 and the pulse width for the PFM pulse-and-direction outputs on Channels 1-4. The equations are:
PWM Deadtime(
µ
sec) = 0.135 * MI904
PFM Pulse Width (
µ
sec) = MI904 / PFMCLK Freq. (MHz)
DAC Strobe Word: MI905 controls the DAC strobe signal used to create analog outputs for Channels 1-
4. 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.
MI905 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-2E 4-Axis piggyback board, or on an Acc-8A
breakout board that attaches to the PMAC2-style connectors on the Acc-2E. MI905 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 connectors on the Acc-2E, or the Acc-24E2A backplane analog Axis-interface/breakout
board.
ADC Strobe Word: MI940 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 or Acc-28E board.
Channels 5-8 (Second 4-Axis Board)
There are several variables that affect all of the machine interface channels 5 to 8.
PWM Frequency: MI906 controls the PWM frequency of Channels 5-8. Its setting is important only if
the PWM outputs are used through the PMAC2-style connectors. The equation for the frequency is:
PWM Frequency (kHz) = 117,964.8 / [4*MI906 + 6]
Generally, MI906 is set to the same value as MI992 which controls the MaxPhase clock frequency. The
PWM frequency set by MI906 must be equal to N/2 times the Phase clock frequency set by MI992 and
MI997 where N is a positive integer.
Hardware Clock Frequencies: MI907 controls the frequencies of the four hardware clock signals for
Channels 5-8: the encoder sample SCLK, the pulse-and-direction PFMCLK, the analog output DAccLK,
and the analog input ADCCLK. MI907 is a 12-bit value consisting of four independent 3-bit parts, each
controlling one of the clock frequencies. The equation is:
MI907 = 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 MI907 of 2258 is suitable for almost all applications. Refer to the detailed
description in the MACRO Station Hardware Reference Manual to change any of these frequencies.
PWM Deadtime/PFM Pulse Width: MI908 controls both the deadtime for PWM outputs on Channels
5-8 and the pulse width for the PFM pulse-and-direction outputs on Channels 5-8. The equations are:
PWM Deadtime (
µ
sec) = 0.135 * MI908
PFM Pulse Width (
µ
sec) = MI908 / PFMCLK Freq. (MHz)
DAC Strobe Word: MI909 controls the DAC strobe signal used to create analog outputs for Channels 5-
8. 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.
MI909 should be set to $7FFFC0 for use with the 18-bit DACs on the Acc-24E2A backplane analog axis-
interface/breakout board.