AdvancedHMI

From SoftMC-Wiki
Jump to: navigation, search

AdvancedHMI

AdvancedHMI is an open source project (http://www.advancedhmi.com/), which is downloaded as a Visual Basic project. You can then open the project, add widgets, compile, and run it.

softMC Modbus HMI (11).png

1. Drag and drop ModbusTCPCom into MainForm.vb [Design].

2. The driver appears the bottom of the screen (circled in green).

Click the driver, and then use the Properties pane (circled in red) to setup the IP address of the Modbus server.
For example, drag and drop DigitalPanelMeter and MomentaryButton into MainForm.vb [Design].

softMC Modbus HMI (12).png

3. For both widgets, use the Properties pane to set the Modbus address that is associated with the variables from the softMC application.

softMC Modbus HMI (13).png

Note:

MC Modbus server addressing starts from 40000.
AdvancedHMI Modbus client addressing starts from 40001.
Prefix the address with the letter L.

4. Save the project (Ctrl+S).

5. Build the project (Ctrl+Shift+B).

6. Run the project (F5).