Infosys在阅读器中打开 / AI 翻译

EL40xx | Analog Output Terminals (12 bit) · 0 次阅读

Presentation function

Presentation function 1:
Block diagram for determining the output values by default (presentation function)

The presentation function block according to index 0x80x0:02 converts the PDO value into the internal SINT16 format (signed integer, 16-bit) for further calculation and DAC output, depending on the setting. Depending on the presentation selected, the following applies:

Signed presentation (default setting)

Output signal

Value

EL400x

EL401x

EL402x

Decimal

Hexadecimal

0 V

0 mA

4 mA

0

0x0000

5 V

10 mA

12 mA

16383

0x3FFF

10 V

20 mA

20 mA

32767

0x7FFF

Output signal

Value

EL403x

Decimal

Hexadecimal

-10 V

-32767

0x8001

-5 V

-16383

0xC001

0 V

0

0x0000

5 V

16383

0x3FFF

10 V

32767

0x7FFF

Unsigned presentation

Absolute value with MSB as sign

Absolute value

Examples of the presentations

  • Signed Integer:
    The output value is presented in two's complement format.
    Maximum presentation range for 16 bit = -32768 .. +32767
    • Example:
      1000 0000 0000 0000bin = 0x8000hex = -32768dec
      1111 1111 1111 1110bin = 0xFFFEhex = -2dec
      1111 1111 1111 1111bin = 0xFFFFhex = -1dec
      0000 0000 0000 0001bin = 0x0001hex = +1dec
      0000 0000 0000 0010bin = 0x0002hex = +2dec
      0111 1111 1111 1111bin = 0x7FFFhex = +32767dec
  • Unsigned Integer:
    The output value is shown with 16 bit resolution.
  • Absolute value with MSB as sign:
    The output value is displayed in signed amount representation.
    Maximum presentation range for 16 bit = -32767 .. +32767
    • Example:
      1111 1111 1111 1111bin = 0xFFFFhex = -32767dec
      1000 0000 0000 0010bin = 0x8002hex = -2dec
      1000 0000 0000 0001bin = 0x8001hex = -1dec
      0000 0000 0000 0001bin = 0x0001hex = +1dec
      0000 0000 0000 0010bin = 0x0002hex = +2dec
      0111 1111 1111 1111bin = 0x7FFFhex = +32767dec
  • Absolute value
    Negative output values are shown positive (absolute value)