Geo MACRO Drive User and Reference Manual
Setting Up Turbo PMAC Conversion Table
77
SETTING UP THE TURBO PMAC CONVERSION TABLE
The position feedback from the Geo MACRO drive must be processed in the Turbo PMAC’s encoder
conversion table (ECT) before it can be used for servo purposes, such as position or velocity loop
feedback. The position feedback, whether primary or secondary, appears in the 24-bit Register 0 for the
servo node used. This is mapped as a Y-register in the Turbo PMAC, and the servo tasks can only access
X-registers for their source data.
So the primary purpose of the Turbo PMAC ECT entries for processing feedback from the Geo MACRO
drive is to move the data from the Y-registers in the MACRO ICs to X-registers in RAM, where they can
quickly be accessed by servo tasks, without requiring other processing.
This task is accomplished by conversion method “$2”: parallel read of a Y-register, no filtering.
Typically, the data from the Geo MACRO drive has already been shifted the standard 5 bits, so the
standard shifting in the ECT can be disabled by setting bit 19 of the first setup word (first I-variable of the
entry) to 1. This makes the method word $ {Node Register 0 address}.
The second and last line (I-variable) of the entry should be set to $018000. The “018” (hexadecimal)
specifies that all 24 bits of the source register be used; the “000” specifies that the bits used start at bit 0.
The following table shows an ECT in which the first eight entries are conversions of the first eight
MACRO servo nodes. Note have the combination of the bit 19 “shift disable bit and the “7” in the second
digit of the register address (e.g. $078420 for Node 0 Register 0) make the second hex digit of setup word
of each entry equal to “F”.
I-Var. Setting
Meaning
Turbo
PMAC
Address
I8000
$2F8420
MACRO Node 0 Reg. 0 Read
$003501
I8001
$018000
24 bits, bit 0 LSB
$003502
I8002
$2F8424
MACRO Node 1 Reg. 0 Read
$003503
I8003
$018000
24 bits, bit 0 LSB
$003504
I8004
$2F8428
MACRO Node 4 Reg. 0 Read
$003505
I8005
$018000
24 bits, bit 0 LSB
$003506
I8006
$2F842C
MACRO Node 5 Reg. 0 Read
$003507
I8007
$018000
24 bits, bit 0 LSB
$003508
I8008
$2F8430
MACRO Node 8 Reg. 0 Read
$003509
I8009
$018000
24 bits, bit 0 LSB
$00350A
I8010
$2F8434
MACRO Node 9 Reg. 0 Read
$00350B
I8011
$018000
24 bits, bit 0 LSB
$00350C
I8012
$2F8438
MACRO Node 12 Reg. 0 Read
$00350D
I8013
$018000
24 bits, bit 0 LSB
$00350E
I8014
$2F843C
MACRO Node 13 Reg. 0 Read
$00350F
I8015
$018000
24 bits, bit 0 LSB
$003510
The I-variables that use the results of the conversions (e.g. Ixx03 and Ixx04 for position and velocity-loop
feedback) will be set to the address of the last line of the entry. For example, if Motor 1 used the
processed data for Node 0 Register 0 from the above table for position-loop feedback, I103 would be set
to $3502. It is also possible to set these variables by specifying that you want to use the address of the last
I-variable in the entry. The command
I103=@I8001
performs the same action as
I103=$3502
.
Содержание Geo MACRO
Страница 2: ......
Страница 6: ......
Страница 18: ...Geo MACRO Drive User Manual 6 Introduction...
Страница 26: ...Geo MACRO Drive User Manual 14 Specifications...
Страница 28: ...Geo MACRO Drive User Manual 16 Receiving and Unpacking...
Страница 78: ...Geo MACRO Drive User Manual 66 Software Setup...
Страница 88: ...Geo MACRO Drive User Manual 76 Setting Up Secondary Encoders...
Страница 90: ...Geo MACRO Drive User Manual 78 Setting Up Turbo PMAC Conversion Table...
Страница 110: ...Geo MACRO Drive User Manual 98 Setting Up Turbo Motor Operation...
Страница 130: ...Geo MACRO Drive User Manual 118 Troubleshooting...
Страница 175: ...Geo MACRO Drive User and Reference Manual Absolute Power On Online Commands 163...
Страница 176: ...Geo MACRO Drive User Manual 164 Useful Notes...
Страница 177: ...Geo MACRO Drive User and Reference Manual Appendix A 165...
Страница 182: ...Geo MACRO Drive User Manual 170 Appendix A Cable Drawings...
Страница 183: ...Geo MACRO Drive User and Reference Manual Appendix A 171...
Страница 184: ...Geo MACRO Drive User Manual 172 Appendix A...
Страница 185: ...Geo MACRO Drive User and Reference Manual Appendix A 173...
Страница 186: ...Geo MACRO Drive User Manual 174 Appendix A...
Страница 187: ...Geo MACRO Drive User and Reference Manual Appendix A 175...
Страница 191: ...Geo MACRO Drive User and Reference Manual Appendix A 179...
Страница 197: ...Geo MACRO Drive User and Reference Manual Appendix C 185...