Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How does Kingview write the data read from MODBUS device into PLC and then transmit it to the touch screen?
How does Kingview write the data read from MODBUS device into PLC and then transmit it to the touch screen?
1, in Kingview, click "Equipment" to find the manufacturer corresponding to "MODBUS Equipment", select the corresponding model and set the port. Setting the port of PLC equipment is the same as setting MODBUS equipment. Continue after confirmation 2.

2. Find the address where MODBUS devices store data, and find "Variable" in Kingview to set I/O variables. The data of MODBUS equipment can be set as I/O variable, and so can the variable setting of PLC. Ok, go on. 3.

3. Create a new screen in the "screen", pull a "button" and a text display control, double-click the button, and make a script when the button is pressed, such as PLC variable =MODBUS device variable, so that the text can be displayed in the MODBUS device and then saved. Go ahead. four

4. Write the corresponding ladder diagram in PLC, and use the PLC data address you set in Kingview to make a data display screen in the touch screen. The data display address is set to the address of receiving data in PLC, and HMI is connected to PLCd. So far, so good. On a hot day, typing is hard and reading is lucky! ! !