Modbus Communication Between a Siemens and Allen Bradley PLC

By |2024-08-20T16:26:01-07:00August 20th, 2024|Blog, Tutorial|

Overview In this post we will review how to setup a Modbus TCP connection between a Siemens PLC and an Allen Bradley PLC. While other means of communication exist (EtherNet/IP, Sierial, or using a gateway adapter) Modbus TCP has the advantage of requiring no special hardware and being a sudo-natively supported protocol by both platforms.

Using a Siemens PLC to Communicate with an EtherNet/IP Device

By |2024-08-19T14:49:37-07:00August 19th, 2024|Blog, Tutorial|

Overview: Although Siemens PLCs do not natively support EtherNet/IP communication, they possess the capability with a few extended programming instructions and a free-to-use library provided by Siemens. (see download links below) Unlike with a standard ProfiNet connection, the configuration will exist entirely within the PLC code, working around the limitation of the device and

Working With JSONs in TwinCAT 3, Part 2: The JSON Strikes Back

By |2024-03-25T16:38:13-07:00February 12th, 2024|Tutorial|

PLC Setup and Requirements The code for the PLC project is here. According to the Beckhoff documentation for their JSON functions, TwinCAT 3 build 4022 on an x86, x64 or ARM processor can support JSON development.  For this post, we will be using TwinCAT 3 build 4024.32 with a VM running windows 10. For our

Working with JSONs in TwinCAT 3, Part 1: A New JSON

By |2024-02-28T16:55:15-07:00January 12th, 2024|Tutorial|

JSON Basics Wikipedia defines a JSON as “an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other serializable values)”  CITATION JSO23 l 1033 (JSON: Wikipedia, 2023).They're ubiquitous in the software world, but traditionally have not been utilized in

Configuring Profinet I-Device Communication Between Siemens S7 and TwinCAT 3

By |2023-11-01T16:29:03-07:00November 1st, 2023|Blog, Tutorial|

When integrating large systems that span multiple controllers, it often is necessary to configure communication between different types of PLCs. With some PLCs, this can be challenging because they only communicate with their "native" protocol. For example, Allen-Bradley PLCs only support Ethernet/IP communication. This is not an issue with Siemens S7 or Beckhoff TwinCAT

Comparing Traditional and Programmatical safety systems

By |2023-10-18T17:07:30-07:00October 18th, 2023|Best Practices, Blog|

Programmatical safety and traditional hardwired safety are two different approaches to ensuring safety in control systems. Each approach has its own advantages and disadvantages, and the choice between them depends on the specific requirements and constraints of the system in question. Let's compare these two approaches:Programmatical SafetyProgrammatical safety utilizes safety PLCs along with robust ethernet-based

Siemens TIA Portal Tips & Tricks

By |2023-08-10T15:04:23-07:00September 9th, 2019|Tips and Tricks|

Siemens Totally Integrated Automation Portal Siemens TIA Portal is an extremely powerful programming platform. Siemens has truly achieved a "totally integrated automation" solution as all of their current generation PLCs, HMIs, and SCADA platforms are programmed using the TIA Portal from budget to high-end. The TIA Portal also contains many cool shortcuts which help

How to Connect to a Beckhoff TwinCAT 3 Controller

By |2023-08-10T15:05:23-07:00September 4th, 2019|Tips and Tricks|

Beckhoff Controllers Beckhoff TwinCAT 3 offers an extremely powerful PC-based industrial automation platform with the reliability of a standard PLC. Beckhoff TwinCAT 3 resides within the Microsoft Visual Studio shell which provides a freature-rich integrated software package to program both the PLC code and HMI. Connecting to the Beckhoff TwinCAT controllers is easy, here's how.