Log Modbus TCP Data to Database: Complete PLC Integration

Using Visual Basic 2015, we will log three holding registers from the PLC, along with the time and date, into a Microsoft Access Database. We will log every minute to the database, including the information we collect from the PLC via Modbus TCP (Ethernet). All code will be done and shown so you can implement … Read more

Excel Secrets: Implementing Modbus TCP Protocol with VBA!

We are using Modbus TCP protocol, reading ten registers in the PLC, and displaying a bar graph in Excel. e will use Visual Basic for Applications (VBA) to communicate with a PLC. Previously we have used VB6 to communicate Modbus TCP. Sequence for Modbus TCP on Excel using VBA The following steps will be done: … Read more