60 likes | 185 Vues
This article explores the integration of PLC (Programmable Logic Controller) drivers with computer systems, focusing on the possibilities and benefits of combining these technologies. By connecting PLCs to web-based systems such as ERP and MRP, users can monitor and control PLCs remotely from anywhere in the world. The paper discusses the technical implementation, such as creating sockets, sending and receiving XML messages for commands, and the overall advantages of having access to logs and real-time data influx for better operational efficiency.
E N D
Comcontrol Piotr Kaminski INTEGRATION OF PLC DRIVER WITH COMPUTER SYSTEMS
Possibilities of integration Website ERP , MRP Data warehouse
Connect SequencePLC to socket Created the socket and waiting for connection XML CONNECT Accept connection Received data GET MESSAGE Received data SEND MESSAGE (closesocket) Sending date SEND MESSAGE Close connection and socket XML DISCONNECT …DO… .…DO.…
Benefits of integration with the website • Monitoring from every place in the world • Access to all logs, events, values of PLC driver using data base • Remote control of PLC driver (possibility of sending some values to PLC driver from the website)
Examples SEND MESSAGE SEND MESSAGE SEND MESSAGE SEND MESSAGE <?xml version="1.0" encoding="UTF-8"?> <StatusCommand status="otwarte"/> <?xml version="1.0" encoding="UTF-8"?> <StatusCommand status="zamkniete"/> <?xml version="1.0" encoding="UTF-8"?> <StatusCommand status="awaria"/>
Examples GET MESSAGE SEND MESSAGE <?xml version="1.0" encoding="UTF-8"?> <StatusCommand status="zamkniete"/> <?xml version="1.0" encoding="UTF-8"?> <ReceivedCommand rcommand="1"/>