5.1.45. Digital data input (pdd_DataInput)

Read the value of a digital data input.

5.1.45.1. Supported targets

All targets

5.1.45.2. Required license

None (Main library). (See Section 2.3, “Licensed Features”.)

5.1.45.3. Description

The digital data input block is a generic interface for reading a input channel that specifies numerical integer data. The units and interpretation of the value depends on the Channel being read.

5.1.45.4. Inports

  • sim_value

    Only used under simulation when the parameter Provide simulation input? is ticked. The outport value is written using the value of this inport.

    Range: [-2147483648, 2147483647].

    Value type:Integer

5.1.45.5. Outports

  • value

    The value of the digital data read from the specified channel.

    Range: [-2147483648, 2147483647].

    Value type:Integer

5.1.45.6. Mask parameters

  • Channel

    The channel for this input.

    Value type:List
    Calibratable:No
  • Sample time

    The periodicity of the block execution.

    Range: [0.001, 3600] seconds

    Value type:Real
    Calibratable:No
  • Provide simulation input?

    Tick to enable inport sim_value.

    Value type:Boolean
    Calibratable:No

5.1.45.7. Notes

None.