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
32 16-Axis MACRO CPU Software Setup
Station Variable Copy Commands
It is also possible to copy values between 16-Axis MACRO CPU MI-Variables and PMAC variables.
This is done with MACRO Variable Copy commands, which can be used either as on-line commands or
as buffered program commands in background PLC programs PLC1-31 and PLCC1-31 (but not in PLC0,
PLCC0, or motion programs, which execute in foreground).
The command that copies from a Station MI-Variable to a PMAC variable (reading from the Station) is
the MSR command. The syntax for the command is:
MSR{node #},MI{variable #},{PMAC Variable}
where {node #} can be the number of any active node on the Station (usually that of the lowest active
node) for most of the MI- Variables, or the number of the individual node for one of the node-specific
MI- Variables (MI910 - MI939). {variable #} is the number of the Station MI-variable (0 - 1023)
from which the value is copied. {PMAC Variable} is the name of the Variable on PMAC (e.g. P10)
to which the value is copied.
Example:
MSR0,MI984,P50 ; Copy from Station with active node 0 MI984 to PMAC P50
MSR1,MI922,P99 ; Copy from Station Node 1 MI922 to PMAC P99
The command that copies from a PMAC variable to a Station MI- Variable (writing to the Station) is the
MSW command. The syntax for the command is:
MSW{node #},MI{variable #},{PMAC Variable}
where {node #} can be the number of any active node on the Station (usually that of the lowest active
node) for most of the MI- Variables, or the number of the individual node for one of the node-specific
MI- Variables (MI910 - MI939). {variable #} is the number of the Station MI- Variable (0 - 1023)
to which the value is copied. {PMAC Variable} is the name of the variable on PMAC (e.g. P10) from
which the value is copied.
Example:
MSW0,MI992,I992 ; Copy from PMAC I992 to Station with active node 0 MI992
MSW1,MI925,P103 ; Copy from PMAC P103 to Station Node 1 MI925
Ring Control Setup Variables
Ring Update Frequency
MI992 and MI997 for the 16-Axis MACRO CPU control the phase frequency on the Station, which is the
frequency at which the Station expects the ring to be updated. The actual ring update frequency is
determined by the ring controller master. For best operation, the 16-Axis MACRO CPU should be set to
the same frequency. The values for MI992 and MI997 should be set the same for MACRO IC 0 and 1.
MI992 determines the MaxPhase clock frequency from which the phase clock frequency is derived. The
equation is:
MaxPhase Frequency (kHz) = 117,964.8 / [2*MI992 + 3]
MI997 determines how the phase clock frequency is divided down from MaxPhase. The equation is:
Phase Frequency (kHz) = MaxPhase Frequency (kHz) / (MI997 + 1)
Generally, both the MaxPhase and Phase frequencies will be the same on the MACRO Station as they are
on the PMAC2 controlling it. However, only the Phase frequency must be the same.
If the ring controller is a Turbo PMAC2 Ultralite or a UMAC Turbo with Acc-5E, the following
relationship should hold:
{MACRO Station) MI992 * (MI997 + 1) = I6800 * (I6801 + 1) {Turbo PMAC2 Ultralite}