User's Manual

Table Of Contents
16-Axis MACRO CPU User Manual
20 Turbo PMAC2 Software Setup for MACRO Station
The default conversion table in the Turbo PMAC2 Ultralite controller processes the position feedback
registers of the eight servo nodes of MACRO IC 0. This yields the values in the following table:
Turbo PMAC2 Ultralite Defaults
I-Variable Setting Meaning I-Variable Setting Meaning
I8000 $2F8420 MACRO Node 0 Reg 0 Read I8008 $2F8430 MACRO Node 8 Reg 0 Read
I8001 $018000 24 bits, bit 0 LSB I8009 $018000 24 bits, bit 0 LSB
I8002 $2F8424 MACRO Node 1 Reg 0 Read I8010 $2F8434 MACRO Node 9 Reg 0 Read
I8003 $018000 24 bits, bit 0 LSB I8011 $018000 24 bits, bit 0 LSB
I8004 $2F8428 MACRO Node 4 Reg 0 Read I8012 $2F8438 MACRO Node 12 Reg 0 Read
I8005 $018000 24 bits, bit 0 LSB I8013 $018000 24 bits, bit 0 LSB
I8006 $2F842C MACRO Node 5 Reg 0 Read I8014 $2F843C MACRO Node 13 Reg 0 Read
I8007 $018000 24 bits, bit 0 LSB I8015 $018000 24 bits, bit 0 LSB
I8016 - I8191 = 0
The following table contains the entry first line for each servo node Register 0 for all MACRO ICs (with
the addresses specified by I20 – I23 at their default values). Remember that the second line of the entry
should always be $018000.
Register First Line
Value
Register First Line
Value
MACRO IC 0 Node 0 Reg. 0 $2F8420 MACRO IC 2 Node 0 Reg. 0 $2FA420
MACRO IC 0 Node 1 Reg. 0 $2F8424 MACRO IC 2 Node 1 Reg. 0 $2FA424
MACRO IC 0 Node 4 Reg. 0 $2F8428 MACRO IC 2 Node 4 Reg. 0 $2FA428
MACRO IC 0 Node 5 Reg. 0 $2F842C MACRO IC 2 Node 5 Reg. 0 $2FA42C
MACRO IC 0 Node 8 Reg. 0 $2F8430 MACRO IC 2 Node 8 Reg. 0 $2FA430
MACRO IC 0 Node 9 Reg. 0 $2F8434 MACRO IC 2 Node 9 Reg. 0 $2FA434
MACRO IC 0 Node 12 Reg. 0 $2F8438 MACRO IC 2 Node 12 Reg. 0 $2FA438
MACRO IC 0 Node 13 Reg. 0 $2F843C MACRO IC 2 Node 13 Reg. 0 $2FA43C
MACRO IC 1 Node 0 Reg. 0 $2F9420 MACRO IC 3 Node 0 Reg. 0 $2FB420
MACRO IC 1 Node 1 Reg. 0 $2F9424 MACRO IC 3 Node 1 Reg. 0 $2FB424
MACRO IC 1 Node 4 Reg. 0 $2F9428 MACRO IC 3 Node 4 Reg. 0 $2FB428
MACRO IC 1 Node 5 Reg. 0 $2F942C MACRO IC 3 Node 5 Reg. 0 $2FB42C
MACRO IC 1 Node 8 Reg. 0 $2F9430 MACRO IC 3 Node 8 Reg. 0 $2FB430
MACRO IC 1 Node 9 Reg. 0 $2F9434 MACRO IC 3 Node 9 Reg. 0 $2FB434
MACRO IC 1 Node 12 Reg. 0 $2F9438 MACRO IC 3 Node 12 Reg. 0 $2FB438
MACRO IC 1 Node 13 Reg. 0 $2F943C MACRO IC 3 Node 13 Reg. 0 $2FB43C
If Turbo PMAC2 is doing the commutation for the motor, it is best to use the previous phase position
register in RAM as the servo feedback register. The commutation algorithm has already read the raw
position data from the MACRO ring and copied it into this register, storing it for calculations in its next
cycle. Using this register in the conversion table ensures that the servo algorithm uses the same position
that the commutation used, even if new data has started coming in from the MACRO ring for the next
cycle.