• 뒤로

  • Map a Temperature Input to a Current Output

    Overview

    Use the programming language ScriptBasic on the DXM Controller to map inputs to outputs of different scales. The ScriptBasic program (NullSpanV2.sb) and associated XML configuration file (NullSpanV2.xml) show an example of how this is accomplished.

    When converting between different input/output types, define these four key parameters:

    Null

    On the input side, Null defines the starting point.
    In this example, the Null value is –20 ⁰C (the starting of the output range).

    Span

    Defines the total range of the input.

    In this example, Span is 80. The temperature range starts at –20 °C and therefore ends at +60 ⁰C.

    Output Range mA

    Defines the total output range. In this example the output is a current (mA) output with a total range of 20000 μA, or 20 mA. For a 4–20 mA output, the range is 16000 μA, or 16 mA.

    Output Range mA Offset

    If the output range starts at zero, the offset is zero.

    For example, 0–20mA. If the range is 4–20mA, the output offset is 4 mA.

    내 라이브러리에 추가
    추가됨