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.
- Create a variable that mimics raw data received from a PLC:
- In theProject viewpane, right-clickModeland select .
- Hover-over the variable, select , and enterFromPLC.
- In thePropertiespane, set theFromPLC (Int32)property value to60.
- Create an analog variable that presents the PLC data as a temperature unit:
- In theProject viewpane, right-clickModeland select .
- Crete a dynamic link between theAnalogValueproperty and .For more information about dynamic links, see Create dynamic links.
- Next to the dynamic link, select<None>and selectTemperature: degree Celsius.
Fornire un feedback