Download turbo_pmac_user_manu.. - BICEP 2yr Data Release

Transcript
Turbo PMAC User Manual
Activating PMAC Motor Commutation: Ixx01
Bit 0 of the Ixx01 commutation-enable parameter must be set to 1 if Turbo PMAC is performing the
commutation and/or digital current-loop closure for the motor. It must be set to 0 for any motor if Turbo
PMAC is performing neither the commutation nor digital current loop for the motor. If commutation is
enabled, variables Ixx70 – Ixx84 for the motor must be set to specify how the commutation is done. The
instructions for setting these variables are given in the Commutation section of the User Manual.
Motor Address Setup Parameters
Each Turbo PMAC motor has several address I-variables that tell the motor what registers to use for its
inputs and outputs. Each of these variables contains the Turbo PMAC address of the register for the
particular function. This provides a “mapping” between the motor calculation registers and the different
types of servo I/O registers (encoders, D/A converters, flags, etc.) used for the physical interface. By
providing a user-settable mapping, Turbo PMAC makes it very easy to utilize different types of feedback
and output signals for each motor.
The following diagram shows how this mapping works for a motor directly accessing servo I/O registers
(without MACRO):
PMAC Direct Register Mapping
Output A
Output B
DAC, PWM
Output C
PFM, PWM
Control
Ix02
DAC, PWM
Amp Enable
Ix25
Motor x
Calculation
Registers
Ix03
Ix04
Ix83
Ix82
Ix25
Status
ADC A
ADC B
Encoder
Conversion
Table
Encoder
Flags
Current
Feedback
Signals
Position
Feedback Signal
This next diagram shows the three-stage process to map between the motor calculation registers and the
servo I/O registers in a MACRO Station over a MACRO ring. The motor address I-variables specify the
first stage only – the mapping between the motor calculation registers and the Turbo PMAC’s own
MACRO node registers. The second step – the mapping between the Turbo PMAC’s MACRO node
registers and the MACRO Station’s MACRO node registers – is covered in the Basic Setup section (and
in the MACRO Station manuals). The third step – the mapping between the MACRO Station’s MACRO
node registers – is covered in the appropriate section of the User Manual (and in the MACRO Station
manuals). Once this mapping is set up, the motor will operate just as it would with a direct connection.
Basic Motor Setup
75