In the last part of this blog series, we use our linked list in basic application and test the performance of the extra overhead. All the code from this blog series can be found here. Part 1 - I...

Linked list in TwinCAT - Part 3

Linked list in TwinCAT - Part 2
In part 1, we talked about how to implement a general node that can be used as a link in a linked list. This part is going to be about the master node who controls the full list. Part 1 - Intro ...

Linked list in TwinCAT - Part 1
Object oriented programming brings many new patterns to PLC programming. Today I want to talk about one of them: Linked lists. Because the length is too long to cover everything in one post, it’...

Garage door control with shelly
As a recent homeowner, I couldn’t resist the urge to automate everything that could be controlled. Today, my garage door was the victim of my automation obsession. Intro In my new house I have a...

Init array in ST
In this post, I would like to go over the different ways to initialize an array of structures and function blocks. The main reason is that I found a syntax that wasn’t well documented or, at leas...
Welcome
Here we are, with the first post on this blog. By the time this post goes online, I will have learned a lot about creating a blog. The first step can be the hardest, but once you take it, things ...