Tech talks

PROFISafe Communication …

Introduction I encountered this application while investigating a related topic at work and noticed that rarely there was any public information about how to do the PROFISafe communication between a BECKHOFF safety controller and a SIEMENS safety controller. I am not sure if this is something that …

Play with AI: Snap 7 Live …

Introduction In my last post I demonstrated how to use MCP to give Gemini access to exported PLC programs and let it analyze and explain how complex PLC program works. This post moves the topic a bit forward by using Snap 7 to grant live data access to Gemini. Here we go. What is Snap 7 Snap7 is an …

Play with AI: Gemini MCP …

Introduction Finally I’m joining the AI for control software journey. I was skeptical about AI in the control software development knowing it can hallucinate. However, I have been enjoying its help reading documents and manuals for a long time. So why not letting it help me read PLC programs …

Explore Codesys Virtual …

Introduction Codesys provides containerized runtime that can be deployed hardware independently with docker support. This offering is perfect for control software developers to use cost effective hardware to develop and verify high performance applications. This article introduces the process to run …

Run Modbus TCP Server on …

Introduction I have been using Linux for a long time. However, due to the nature of my occupation, I haven’t used Linux at work much hence Beckhoff Linux has been a new thing to me. It was fun playing with it recently and it has given quite a few Aha moments. In this article, I’ll be introducing the …

Try Out the TwinCAT3 …

A BIG THANK YOU to the Hero Behind On September 19, 2024, Thomas Gleixner delivered the pull request for the realtime preemption enablement patches to Linus Torvalds, marking the grand finale of Real Time Linux’s 20 years journey to the Linux Kernel. Thank to THE PEOPLE WORK ON THE PROJECT, Linux is …

Understand PROFINET …

Introduction I recently encountered and resolved an issue at work regarding the PROFINET system redundant communications and I think it worth an article. At work we have a S7-1500H redundant control system that contains many components that we use in single controller systems, too. The issue that I …

Introduction to …

Introduction One of the most exciting applications in the realm of industrial automation is motion control. It never gets old seeing your machines flying and doing everything nice and smooth. When it comes to SIEMENS motion control, one of the solutions is the technology object. It is mostly useful …

How to Check NTP Time …

Introduction NTP time synchronization can be crucial to automation systems if the system uses time stamps between PLCs or the PLC and the IT systems. However, NTP time synchronization error normally is silent and people may have to spend hours trying to troubleshoot the issue only to find out that …

Configure PLC …

Introduction I have seen many cases where there are multiple PLCs using the same program and the only difference between them is their communication configurations. In most of these cases, engineers have to manually change the PLCs’ communication configurations and download the hardware …