Currently, IIoT data collection and edge data processing have become the focus of industrial applications. As a professional industrial edge management software, Italy EXOR's JMobile suite completely covers the functions of connection, device management, process management and data visualization, which are essential for the bottom layer of any industrial IoT platform architecture.
JMobile can communicate with all I/O and sensor motion equipment through fully integrated CODESYS PLC, PROFINET, EtherCAT, POWERLINK, EtherNet/IP, Modbus and other important protocols, and it can also use OPC UA standard for transmission, and quickly through TSN Publish/subscribe allows data not only to be seamlessly shared within the edge point network, but also to be sent to higher enterprise levels and external interfaces, which is very powerful.
01 JMobile kit composition and function
02 Use JMobile to write HMI applications#
2.1 Tools
JMobile Studio software, PC computer.
2.2 Application engineering download requirements
Both PC and HMI are set to static IP addresses and are located in the same network segment.
2.3 Programming steps
2.3.1 Create a new project
Path: Menu bar>File> New Project, enter the file name in the session box, select the storage location, click next to enter the next step, and select the HMI model to be applied, set the orientation and working temperature of the HMI, click next to enter the next step , Select the Unified project template in the selection box (or select the template according to actual needs), and click Finish.
Note: After creating a new project, after ensuring that the PC and HMI are in the same network segment, you can select your HMI device in the drop-down check box in the menu bar>Run>Manage Target>Target, and connect it to the PC.
2.3.2 Set communication protocol
Path: Configuration on the left list> double-click Protocols to enter the setting interface; click the plus sign in the upper left corner of the protocol setting interface, and select the desired protocol from the drop-down menu below; then enter the ID number of the application device in the pop-up setting box, Select a register addressing mode in the bottom check box. In this example, the second mode is selected.
2.3.3 Create Data Label
Path: Configuration on the left list> Double-click Tags to enter the setting interface; first select the protocol type that has been set, then click the plus sign in the upper left corner of the setting interface, select the setting memory and data type in the pop-up setting box, and finally click OK.
Later, when you need to create multiple data tags of the same attribute type, you can quickly create them by clicking the plus sign on the upper left. If you need other types of tags, you need to double-click to reset their attributes after adding new tags.
2.3.4 Create widgets and link data tags
(1) Add parts: Go back to the page page, select the text/digital parts in the parts library on the right, and drag them to the project interface.
(2) Set the component properties: double-click the text component to edit its name, double-click the digital component to link it to the data label, and set its properties. Here, set it as readable and writable.
2.3.5 Create a session box
Path: Unified> Right-click Dialog in the left list to create a new session box; edit the name of the session box in the pop-up setting box, and click OK.
You can add corresponding trigger events to the dialog box in the attribute list on the right according to actual needs, and configure event parameters.
2.3.6 Create alarm
Configuration on the left list> double-click Alarms to enter the setting interface; click the plus sign in the upper left corner of the page to add an alarm.
Double-click under Trigger to set the trigger type and its parameters. Here, select the value trigger. When the value is 3, the alarm event will be triggered.
Double-click under Tag to link this alarm to a certain value tag. Here, choose to link to tag 6, and when its value is 3, the alarm will be triggered.
Double-click under Action, set the alarm action type, and configure the parameters. Here, choose to display an alarm dialog box.
Note: You need to save after each step.
2.3.7 Compile and download
After the entire basic project is saved, you can click the compile and download button in the toolbar. In the pop-up setting box, click the drop-down check box, select your HMI device, and click Download.