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
Turbo PMAC2 Software Setup for MACRO Station 27
Ixx81, Ixx91: Power-On Phase Position Address and Mode
Ixx81 permits an automatic read of an absolute position sensor for phase referencing of a synchronous
motor commutated by PMAC. This read can be done automatically at power-on/reset (if Ixx80 = 1 or 3),
or subsequently on the $ or $$ command. If Ixx81 is set to 0, the power-on/reset phase position for the
motor will be considered to be 0, regardless of the type of sensor used. If Ixx81 is set to a value greater
than 0, Turbo PMAC2 will use the address or node specified by Ixx81 to read an absolute phase position,
in a manner determined by Ixx91.
There are specific settings of Turbo PMAC2’s Ixx91 for each type of MACRO interface to the MACRO
Station. The 16-Axis MACRO CPU has a corresponding variable MI11x for each node that must be set.
Since the MACRO Station’s MI11x also affects the absolute servo position read by Ixx10 and Ixx95 on
the Turbo PMAC2, and that position can be signed or unsigned, MI11x bit 23 specifies whether the
absolute servo position is read as signed or unsigned. This bit does not matter for the purposes of
absolute phase position which is always treated as unsigned.
The following table shows the possible settings of Ixx81 and Ixx91, along with the required matching
settings of MI11x, for the different types of absolute phase position formats supported:
16-Axis MACRO CPU Feedback Type Ixx81
Value
Ixx91
Value
Station MI11x
Bits 16-23
Acc-8D Opt 7 Resolver/Digital Converter $0000mn $730000 $00-$07 ($80-$87)
Acc-8D Opt 9 Yaskawa Absolute Encoder Converter $07x4yy $bb0000 See Note 1
Acc-49 Sanyo Absolute Encoder Converter $0000mn $740000 $0D
Acc-28B/E Analog/Digital Converter $0000mn $740000 $31
MACRO Station Hall Sensor Flag Input $0034xn $vv0000 See Note 2
Acc-1E/6E/36E/59E A/D Converter (low 12 bits) $0000mn $740000 $0C ($8C)
Acc-1E/6E/36E/59E A/D Converter (high 12 bits) $0000mn $740000 $33 ($B3)
MACRO Station Parallel Input $0000mn $740000 $08-$30
($88-$B0)
MACRO Station MLDT Input $0000mn $740000 $08-$30
($88-$B0)
Acc-3E/14E Parallel Input from two consecutive lower bytes $0000mn $740000 $2B ($AB)
Acc-3E/14E Parallel Input from two consecutive middle bytes $0000mn $740000 $2C ($AC)
Acc-3E/14E Parallel Input from two consecutive upper bytes $0000mn $740000 $2D ($AD)
Acc-3E/14E Parallel Input from two consecutive lower bytes $0000mn $740000 $2E ($AE)
Acc-3E /14EParallel Input from two consecutive middle bytes $0000mn $740000 $2F ($AF)
Acc-3E /14EParallel Input from two consecutive upper bytes $0000mn $740000 $30 ($B0)
m is the number of the MACRO IC used: 0, 1, 2, or 3
n is the MACRO node number used for Motor xx: 0, 1, 4, 5, 8, 9, C(12), or D(13).
bb is the number of bits in a revolution of the encoder (e.g. 13 bits for 8192 counts) plus 5 (to account for the 5
fractional bits), expressed in hexadecimal format (e.g. for 8192 counts/rev, 13 + 5 = 18 = $12)
$07x4yy represents the address of the MACRO node’s Register 0, which contains the position information. x
is 8, 9, A, or B, for MACRO IC 0, 1, 2, or 3, respectively. yy varies with the node number.
vv is a value from $80 to $FF representing the Hall sensor offset and direction.
For purposes of absolute phase position, Turbo PMAC2 simply reads the encoder counter value in its own
MACRO node, communicated automatically by the servo node functions. The MI11x setting is not used
to obtain the phase position; usually it is set to $71xxxx or $F1xxxx for absolute servo position.
For purposes of absolute phase position, Turbo PMAC2 simply reads the hall sensor values in its own
MACRO node, communicated automatically by the auxiliary servo node functions. The MI11x setting is
not used here, but may be set to a non-zero value if an absolute servo position sensor is also used.
When Turbo PMAC2 has Ixx91 set to get absolute position over MACRO, it executes a station auxiliary
read command MS{node},MI920 to request the absolute position from the 16-Axis MACRO CPU.