Create a Klin object
Object properties will be used to automatically generate interface elements.
- Create the Klin object:
- InProject view, right-clickModeland select .
- Hover-over the object, selectEditKlin.
- Create five Klin variables:
- InProperties, create five variables by selectingAddVariable.
- Rename the variables, by hovering over each variable, selectingEdit
- Address
- Enabled
- Image
- SetPoint
- Temperature
- Configure the Motor variables types:TIP: Graphical objects are created based on the variables types.
- Next toAddress, selectInt32and selectString.
- Next toEnabled, selectInt32and selectBoolean.
- Next toImage, selectInt32and selectResourceUri.TIP: If you do not see the required option, select theShow allcheck box.
- Next toTemperature, selectInt32and selectFloat.
- Set the Klin variables values:
- Set theAddressvariable value to192.168.0.1.
- Set theImagevariable value to%PROJECTDIR%\A1_Boiler.svg.
- Set theSetPointvariable value to100.
- Set theTemperaturevariable value to27.3.
Provide Feedback