Modbus TCP Data Logging to 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 … Read more

Building a PLC Program – Part 5 – Simon Game

We will now look at the Game of Simon for our part 5 in this series of building a PLC program. Learning all about bit manipulation and sequencers Simon is a memory game introduced in 1978. It has four colored buttons, each producing a particular tone when it is pressed or activated by the device. … Read more

How to Implement Modbus TCP Protocol VBA Excel

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