07.08.2013 Views

Turbo PMAC Users Manual Manual

Turbo PMAC Users Manual Manual

Turbo PMAC Users Manual Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Delta Tau <strong>Turbo</strong> <strong>PMAC</strong> User <strong>Manual</strong><br />

PFM Pulse Width: I7m04, I6804, MI904, MI908, MI994<br />

The width of the output pulse is controlled by the PFMCLK frequency with I7m04 for the channels on<br />

Servo IC m, I6804 for the channels on MACRO IC 0, or MI904, MI908, or MI994 for the ICs on a<br />

MACRO Station. This I-variable specifies the pulse width as the number of PFMCLK cycles. At the<br />

default PFMCLK frequency of 9.83 MHz, the default value of 15 produces a 1.5-µsec output pulse width.<br />

This should be satisfactory for most MLDT devices. When using the RPM format or equivalent (see<br />

Signal Format, above), the pulse width must be large enough to enclose the rising edge of the returned<br />

“start” pulse – that is, it must be longer than the delay between the output pulse and the returned start<br />

pulse.<br />

PFM Format Select: I7mn6, I68n6, MI916<br />

The output format of channel signals is controlled by variable I7mn6 for Servo IC m Channel n, by I68n6<br />

for MACRO IC 0 Channel n, or by node-specific variable MI916 on a MACRO Station. In order for the<br />

C-register circuitry of Channel n to output a PFM pulse train rather than a PWM pulse train, this variable<br />

must be set to 2 or 3. Most commonly, it will be set to 3, so that the A and B registers for Channel n<br />

output DAC signals rather than PWM.<br />

Note:<br />

You cannot use one channel of <strong>Turbo</strong> <strong>PMAC</strong> simultaneously for direct PWM<br />

control of a motor, and for MLDT pulse generation. Direct PWM control of a<br />

motor automatically writes to the channel’s A, B, and C registers every phase<br />

cycle.<br />

MLDT Feedback Select: I7mn0, I68n0, MI910<br />

The decoding of the signals on the “encoder” inputs is controlled by I7mn0 for Servo IC m Channel n,<br />

I68n0 for MACRO IC 0 Channel n, or by node-specific variable MI910 for a channel on a MACRO<br />

Station. For proper decoding of the MLDT signal, this variable must be set to 12. With this setting, the<br />

pulse timer is cleared to zero at the falling edge of the output pulse. It then counts up at 117.96 MHz until<br />

a rising edge on the return pulse is received, at which time the timer’s value is latched into a memorymapped<br />

register that the processor can read. This register is the X-register at the base address of each<br />

channel.<br />

Note:<br />

The MLDT feedback uses the same circuitry that would be used for quadrature<br />

encoder feedback on that channel, so you cannot simultaneously connect an<br />

encoder and MLDT to the same channel’s feedback on <strong>Turbo</strong> <strong>PMAC</strong>. In this<br />

mode, it is the pulse timer that is used as a position measurement for feedback, not<br />

the pulse counter that is used with encoders. The counter still registers the number<br />

of pulses returned, but does not represent a position measurement here.<br />

Conversion Table Processing Setup – <strong>Turbo</strong> <strong>PMAC</strong> Interface<br />

The timer registers are processed in the conversion table as “parallel feedback” representing the position,<br />

just as an absolute encoder would be. It is strongly recommended that you use the “filtered parallel read”<br />

(method digit $3), to be able to reject errors due to extra or missing echo pulses. Consult Chapter 7,<br />

Setting Up the Encoder Conversion Table in the User <strong>Manual</strong> and the specification for variables I8000 –<br />

I8191 in the Software Reference <strong>Manual</strong>.<br />

Setting Up Feedback & Master Position Sensors 4-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!