Create a Klin object

Object properties will be used to automatically generate interface elements.
  1. Create the Klin object:
    1. In
      Project view
      , right-click
      Model
      and select
      New
      Object
      .
    2. Hover-over the object, select
      Edit
      Edit
      , and enter
      Klin
      .
  2. Create five Klin variables:
    1. In
      Properties
      , create five variables by selecting
      Add
      Add
      at the top and selecting
      Variable
      .
    2. Rename the variables, by hovering over each variable, selecting
      Edit
      Edit
      , and entering:
      • Address
      • Enabled
      • Image
      • SetPoint
      • Temperature
  3. Configure the Motor variables types:
    TIP: Graphical objects are created based on the variables types.
    1. Next to
      Address
      , select
      Int32
      and select
      String
      .
    2. Next to
      Enabled
      , select
      Int32
      and select
      Boolean
      .
    3. Next to
      Image
      , select
      Int32
      and select
      ResourceUri
      .
      TIP: If you do not see the required option, select the
      Show all
      check box.
    4. Next to
      Temperature
      , select
      Int32
      and select
      Float
      .
  4. Set the Klin variables values:
    1. Set the
      Address
      variable value to
      192.168.0.1
      .
    2. Set the
      Image
      variable value to
      %PROJECTDIR%\A1_Boiler.svg
      .
    3. Set the
      SetPoint
      variable value to
      100
      .
    4. Set the
      Temperature
      variable value to
      27.3
      .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.