Tracking ISS in TwinCAT
To get familiar with writing C++ code in TwinCAT, I’m going to port a satellite tracking algorithm that can calculate the position of the international space station to TwinCAT, and let it run on t...
To get familiar with writing C++ code in TwinCAT, I’m going to port a satellite tracking algorithm that can calculate the position of the international space station to TwinCAT, and let it run on t...
Let’s discover the world of C++ programming in TwinCAT. Normally a PLC is programmed in any of the 5 languages defined in IEC 61131-3. It is also an option to write code in C++ or Matlab in TwinCAT...
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...
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 ...
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’s ...
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 alr...
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 least,...
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 wi...