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
56 How to use the 16-Axis MACRO CPU
Using the JHW Port Encoder Inputs
The 16-Axis MACRO CPU has the ability to read two supplemental channels of quadrature/pulse and
direction encoders. The user has access to these inputs on the 20-pin JHW. These encoders can be read
at rates up to 40 MHz. The only limitation on this port is that port does not allow the user to input an
index pulse. Therefore, these inputs are ideal for handwheel encoders or for pure position/velocity
feedback.
The data for the encoders are processed from the $C090 for supplemental channel 1 and from $C098 for
supplemental channel 2. The two encoders can be processed using the MI990 and MI991 to determine
the type of decode. The maximum encoder sample clock frequency is determined by MI993.
To use these supplemental inputs for encoders, typically the Encoder Conversion Table (ECT) must be
modified at the MACRO CPU (MI120-MI151) and the encoder node transfer variables (MI101-MI108)
must be modified. Typically since most users of the 16-Axis MACRO CPU will have more than eight
servo channels being used, Delta Tau recommends modifying the ECT registers and Encoder Node
Transfer variables associated with channels 9-16 (MACRO IC1).
Example: If there are ten axes and the two supplemental channels need to be used as channels 11 and 12
for dual feedback for channels 1 and 2. To read the data from the supplemental channels activate the nodes
associated with channels 11 and 12 and modify the Encoder Conversion Table at the MACRO CPU.
MS0,MI990=7 ; Supplemental Channel 1 is setup for x4 CCW decode
MS0,MI991=7 ; Supplemental Channel 2 is setup for x4 CCW decode
;*** ECT Modification at MACRO IC1 (Channels 9-16)
MS16,MI120=$009000 ; 1/T Interpolation from Encoder 9 ($90) (Default)
MS16,MI121=$009008 ; 1/T Interpolation from Encoder 10 ($91) (Default)
..
MS16,MI126=$009050 ; 1/T Interpolation from Encoder 15 ($96) (Default)
MS16,MI127=$009058 ; 1/T Interpolation from Encoder 16 ($97) (Default)
MS16,MI128=$00C090 ; 1/T Interpolation from Supplemental Channel1 ($98)
MS16,MI129=$00C098 ; 1/T Interpolation from Supplemental Channel2 ($99)
;*** Encoder Node Transfer Modification at MACRO IC1 (Channels 9-16)
MS16,MI101=$90 ;Transfer ECT data from $90 to Node 16 (default)
MS16,MI102=$91 ;Transfer ECT data from $91 to Node 17 (default)
MS16,MI103=$98 ;Transfer ECT data from $90 to Node 20
MS16,MI104=$99 ;Transfer ECT data from $90 to Node 21
Once this is information is modified at the MACRO CPU, use the data from feedback devices 11 and 12
for dual feedback or handwheel-master-slave-following purposes. The data for supplemental channels 1
and 2 will be processed at the Ultralite at locations $3516 and $3518 respectively.
Using the JHW Pulse and Direction Outputs
The 16-Axis MACRO CPU has the ability to send pulse and direction signals on its two supplemental
channels. The user has access to these inputs on the 20-pin JHW. These outputs are ideal step and
direction style amplifiers or general purpose pulse and direction outputs.
The outputs for the Pulse and Direction signals are processed from the $C094 for supplemental channel 1
and from $C09C for supplemental channel 2. The maximum Pulse Frequency is determined by MI993
and the Pulse Frequency pulse-width is determined by MI994.
To use these supplemental pulse and direction outputs, set up the output mode for pulse and direction.
The default output for the output mode for the supplemental channels is PWM. Unfortunately, there is not
a MI-variable at the MACRO CPU to put its supplemental channels into pulse and direction mode, so
write to this location over the ring.