PymateIO-HMI: Difference between revisions

From pymate.io wiki
Jump to navigation Jump to search
Line 20: Line 20:


{{dbox-gray| Note: the second field can be updated on the HMI with an integrated editor. However, this is not the purpose of this tutorial that will ignore the new value.}}
{{dbox-gray| Note: the second field can be updated on the HMI with an integrated editor. However, this is not the purpose of this tutorial that will ignore the new value.}}
[[File:PymateIO-HMI-01-02.png]]
[[File:PymateIO-HMI-01-03.png]]
It also contains a "Bit Lamp" displaying the status of a bit stored on the Pymate.
[[File:PymateIO-HMI-01-04.png]]
Finally the "Bit Switch" have a LED controled by the HMI Display (when switch is pressed). Later, the LED is updated by the Pymate to confirm the actual on/off state on the Pymate
[[File:PymateIO-HMI-01-05.png]]






{{PYMATE-FOOTER}}
{{PYMATE-FOOTER}}

Revision as of 23:30, 13 June 2026


After the Modbus basics let's learn how to use it with an HMI display like the HMI-043U2S.

For this the Pymate must act as a Modbus Slave since the HMI is working as a Modbus Master.

PymateIO-HMI-00.jpg

PymateIO-HMI-DB9-Connector.jpg

HMI Example Project

The HMI content is designed with the CommandHMI software. The software manages '.skm' project file that can be uploaded to the HMI.

The demonstration script is based on the "HMI_PyMateIO_Modbus_MASTER.skm" project.

PymateIO-HMI-01-01.png

It contains various controls starting with two "Numeric Display".

Note: the second field can be updated on the HMI with an integrated editor. However, this is not the purpose of this tutorial that will ignore the new value.

PymateIO-HMI-01-02.png

PymateIO-HMI-01-03.png

It also contains a "Bit Lamp" displaying the status of a bit stored on the Pymate.

PymateIO-HMI-01-04.png

Finally the "Bit Switch" have a LED controled by the HMI Display (when switch is pressed). Later, the LED is updated by the Pymate to confirm the actual on/off state on the Pymate

PymateIO-HMI-01-05.png


Template:PYMATE-FOOTER