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 31
SOFTWARE SETUP
The software configuration of the 16-Axis MACRO CPU is accomplished through the setup of the
Station’s own variables. These MI (MACRO Initialization) variables on the station permit configuration
of the station for a particular application.
Note:
The 16-Axis MACRO CPU’s initialization variables can be referred to as either
MI-Variables or I-Variables. This manual uses the MI-Variable terminology to
distinguish them from the PMAC’s own I-Variables.
Typically, the MI-Variable setup for a 16-Axis MACRO CPU is accomplished through a special program,
such as Turbo Setup, which hides the actual PMAC commands. However, these variables may be written
to and read from in other applications using special PMAC commands.
Station Variable Read/Write Commands
The most common PMAC commands used for setup are the basic on-line MI-Variable read and write
commands. The syntax for the read command is:
MS{node #},MI{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).
Sending this command to PMAC causes PMAC to send a request to the Station using the auxiliary
communications channel on Node 15 (which must be active) for the value of the specified MI-Variable.
The Station then responds with the value, and PMAC reports the value to the host computer.
Example:
MS0,MI992 ; Have PMAC request of Station with active node 0
; the value of MI992
6527 ; MAC responds with the value it received from
6528 ; Station
MS1,MI910 ; Have PMAC request of Station Node 1 the value of MI910
7 ; PMAC responds with the value it received from
8 ; Station
The syntax for the write command is
MS{node #},MI{variable #}={constant}
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).
{constant} is the numerical value to be assigned to the variable. Sending this command to PMAC
causes PMAC to send a command to the Station using the auxiliary communications channel on Node 15
(which must be active) to assign the value to the specified MI-Variable.
Example:
MS0,MI992=3263 ; Have PMAC command Station with active node 0 to
; assign a value of 3263 to MI992
MS1,MI910=3 ; Have PMAC command Station Node 1 to assign a
; value of 3to MI910