Issue
I want to display the data from a specific PLC Address, but also use the same variable to display data from an Offset from the original address.
For example, I have two pumps with Pressure values at %MW100 and %MW200, respectively. On a single Data Display, I want to be able to display Pump1 or Pump2's pressure value at the push of a button.
Product Line
Vijeo Designer HMI Software
Environment
HMI Programming
Resolution
Follow these steps:
1) Create an External Variable called PumpPressure and assign it to the Modbus Address %MW100.
2) Create an Internal Variable called ModbusOffsetValue (Integer)
3) In the Property Inspector of PumpPressureInteger, activate the Indirect Address property and assign the variable ModbusOffsetValue
4) Assign the variable PumpPressureInteger to a numeric display on a screen
5) Assign the variable ModbusOffsetValue to a button to toggle assignment of a value of 0 and 100, respectively, to ModbusOffsetValue
As a result, PumpPressureInteger will display:
(a) The value in %MW100 when ModbusOffsetValue = 0
(b) The value in %MW200 when ModbusOffsetValue = 100
For a more detailed example, please refer to Section 6.3.3.2 "Indirect Address Example" in Vijeo Designer Help.
If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
If you are not located in North America, please contact your local Customer Care Center for assistance:
Publié pour:Schneider Electric Belgium

