28.11.2012 Views

Table of Contents - TG Drives

Table of Contents - TG Drives

Table of Contents - TG Drives

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

124<br />

Ana, Analog I/O<br />

ANA, ANALOG I/O<br />

Group Group<br />

No.<br />

Description<br />

EXTENDED REGISTER GROUPS<br />

Ana 15 The Ana group is the analog user input/output<br />

interface.<br />

Inputs: The standard user analog inputs have 14 bits<br />

resolution and approximate 12 bits <strong>of</strong> linearity. The<br />

result from the inputs can be both scaled and <strong>of</strong>fsetadjusted<br />

to be directly usable as set-speed, settorque,<br />

etc. in the user program.<br />

The RANGE parameter sets the numerical range for<br />

the input and the OFFS parameter sets the <strong>of</strong>fset. The<br />

result is calculated as:<br />

(RAW-RESULT / 16384) * RANGE + OFFSET<br />

For example:<br />

RANGE = 10000<br />

OFFSET = -2000.<br />

This results in a range from –2000 to 8000.<br />

Outputs: The RAW range for the analog outputs is -<br />

32768 to 32767 with 12 bits <strong>of</strong> resolution.<br />

The RAW_OUTPUT is calculated as:<br />

RAW_OUTPUT := Ana.Out * 2 Ana.OutSF + Ana.OutOffs<br />

GENERAL<br />

There is no range-check to clamp the RAW_OUTPUT<br />

to -32768 .. 32767. In case <strong>of</strong> overflow, the analog<br />

voltage will wrap from full positive to full negative, and<br />

vice versa.<br />

The analog interface in the DMC 2 consists <strong>of</strong> two 14 bit inputs and two 12 bits<br />

outputs. These analog channels have no secondary functions and can be used<br />

freely by the application program. The inputs can be scaled to any 32 bit range and<br />

the outputs can be scaled with a shift factor (binary scale). The outputs are limited<br />

to 1mA <strong>of</strong> current (10 kOhm) load by the meens <strong>of</strong> a 1 kOhm output impedance.<br />

The outputs are short ciruit pro<strong>of</strong>.<br />

The scale <strong>of</strong> the outputs are set so that full logical output (16bit) gives 10.6 V. This<br />

means that a +/- 10 V output scale is mapped to +/- 31000 in th eoutput value.<br />

FUNCTION<br />

Ana.In1..Ana.In2<br />

Ana.In1Range<br />

Ana.In1Offs<br />

Ana.ConnTMR.<br />

The Ana.In1Range and Ana.In1Offs scale the value in<br />

Ana.In1 (Ana.In2 is handled in the same way). The values<br />

<strong>of</strong> the inputs can be read from the program whenever<br />

needed and treated as any values or the inputs can be<br />

”connected” to registers with an update rate set with<br />

Ana.ConnTMR.<br />

Ana.Out1..Ana.Out2 The output is scaled with Ana.Out1Sf for Ana.Out1 and<br />

Ana.Out2Sf for Ana.Out2.<br />

Ana.Out1Sign.. The sign <strong>of</strong> the outputs can be set in the Ana.Out1Sign<br />

Ana.Out2Sign and Ana Out2Sign registers<br />

User's Manual 5.1 Inmotion Technologies AB<br />

Doc. No.9032 0027 01 (B), Rev. 11.07.2001

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

Saved successfully!

Ooh no, something went wrong!