We will be looking at communicating Modbus TCP data to the database. The logging of the data will be to an access database.
More information can be obtained on our website. This includes step-by-step instructions on how to communicate using Modbus TCP protocol and placing the information into a Microsoft Access database.
[ Ссылка ]
Using Visual Basic 2015 we will log three holding registers from the PLC along with time and date into a Microsoft Access Database. We will log every minute into the database with the information that we collect from the PLC via Modbus TCP (Ethernet). All code will be done and shown so you can implement this in your application with different parameters. The information collected in the database can then be distributed or analyzed in the future.
Visual Basic 2015 will be used with the EasyModbusTCP client/server library for .net. We will communicate to an Automation Direct - Do-More PLC. Using the free simulation software of the PLC Designer Software, we will retrieve three values of the Modbus Holding Registers using Modbus TCP. Once we have this information out of the programmable logic controller it will be placed in a Microsoft Access (2010) Database. This will be done by using a SQL command to insert the data.
[ Ссылка ]
Modbus TCP Data Logging to Database
Теги
modbus tcp data logging to databaseacc automationvb.net modbus to databaseplc logging via modbus tcplogging plc data to databasecollect data modbus to databaselogging to databaseplc data log databaseplc modbus database logplc modbus vb communicationmodbus tcp communicate plc datamodbus data loggingmodbus tcp databasevb.net modbus tcp databasemodbusmodbus tcpplcplc database loggingscadatcpautomationvb.netvisual studiomodbus rtututorial