Create variables

Create a variable that mimics raw data received from a PLC and an analog variable that presents the PLC data as a temperature unit.
  1. Create a variable that mimics raw data received from a PLC:
    1. In the
      Project view
      pane, right-click
      Model
      and select
      New
      Variable
      .
    2. Hover-over the variable, select
      Edit
      , and enter
      FromPLC
      .
    3. In the
      Properties
      pane, set the
      FromPLC (Int32)
      property value to
      60
      .
  2. Create an analog variable that presents the PLC data as a temperature unit:
    1. In the
      Project view
      pane, right-click
      Model
      and select
      New
      Analog variable
      .
    2. Crete a dynamic link between the
      AnalogValue
      property and
      ProjectName
      Model
      FromPLC
      .
      For more information about dynamic links, see Create dynamic links.
    3. Next to the dynamic link, select
      <None>
      and select
      Temperature: degree Celsius
      .
Fornire un feedback
Hai domande o feedback su questa documentazione? invia il tuo feedback qui.