Research on the State Rollback Design Pattern in PLC Programs

Research on the State Rollback Design Pattern in PLC Programs

Click the blue text to follow! Old Li Talks Technology: Things About PLC Ladder Diagram Programming Little Wang, last Friday our workshop’s packaging line suddenly stopped, it was urgent, and the production manager was stamping his feet beside me. I looked at the system alarm, and it was the photoelectric switch on the conveyor belt … Read more

Software Testing Notes | Basics of Python Programming | Directory Operations with OS

Software Testing Notes | Basics of Python Programming | Directory Operations with OS

“Just a little click, please follow me~”👇 “You know—when a person is feeling down, they particularly enjoy watching the sunset.” — Antoine de Saint-Exupéry, “The Little Prince” In Python programming, operations on directories are a fundamental and important skill. Whether for file management, data processing, or project deployment, operations such as creating, deleting, and traversing … Read more

Stop Being a Human Excel Repeater! The Right Way to Automate Office Tasks with Python

Stop Being a Human Excel Repeater! The Right Way to Automate Office Tasks with Python

Does anyone understand? Every day at work feels like acting in “Ex Machina”: practicing Ctrl+C/V until I get tendonitis, memorizing Excel formulas better than English words, and still manually changing 300 file names for the monthly report! What’s even more frustrating is that the new intern at the next desk can just write a couple … Read more

Introduction to Python: Mastering Programming Basics from Scratch

Introduction to Python: Mastering Programming Basics from Scratch

🐍 Introduction to Python: Mastering Programming Basics from Scratch 🌟 Chapter 1: Introduction to Python Python is a object-oriented, interpreted high-level programming language with the following core advantages: • Concise and elegant syntax design • Powerful standard library and third-party ecosystem • Cross-platform compatibility (Windows/macOS/Linux) • Active developer community support 🛠️ Chapter 2: Environment Installation … Read more

Understanding the List Data Type in Python

Understanding the List Data Type in Python

In Python, a list is a built-in data type used to store an ordered, mutable collection of elements. Lists are very flexible and can store any type of object, allowing for a mix of multiple data types, and the number of elements can be increased or decreased at any time. 1. Defining and Creating Lists … Read more

A Comprehensive Guide to Python Lists: From Beginner to Expert

A Comprehensive Guide to Python Lists: From Beginner to Expert

In the Python programming language, a list is a very basic and important data structure. It allows us to store a sequence of ordered elements, which can be of any type, including numbers, strings, other lists, etc. Python’s lists provide a flexible way to organize and manipulate data. 1. Creating Lists Lists can be created … Read more

Examples of Control Statements in Linux Shell

Examples of Control Statements in Linux Shell

(Click the public account above to quickly follow) Author: Cheng Mo, www.cnblogs.com/chengmo/archive/2010/10/14/1851434.html If you have good articles to submit, please click → here for details The Linux shell has its own set of control statements, including conditional statements (if), loop statements (for, while), and selection statements (case). Below, I will introduce the usage of each … Read more

Setting Up a PLC Programming Environment: Configuration and Use of Bit Operations

Setting Up a PLC Programming Environment: Configuration and Use of Bit Operations

Many people keep asking me how to set up a PLC environment. To be honest, it’s really annoying! Such a basic question, and they still ask. The younger generation really… never mind. Today, I will talk to you about the PLC programming environment and those bit operations, especially Siemens, which I have been using for … Read more

Advanced PLC Programming – Siemens SCL Official Training

Advanced PLC Programming - Siemens SCL Official Training

↑ Click on the above “Smart Manufacturing Home” Follow us This article is sourced from the internet and is for learning purposes only. All copyrights belong to Siemens. Written in front of you Hello everyone, I am Li Menghuan, a former colleague of Xiaozhi~ It is said that there exists a hierarchy of programming languages … Read more

Common Syntax of CMake (Loops)

Common Syntax of CMake (Loops)

Previous exciting content:CMake Hello, WorldCMake VariablesCMake Official Tutorial (Basic Project Setup)CMake Official Tutorial (Library Creation)CMake Official Tutorial (Usage Requirements)CMake Official Tutorial (Installation and Testing)CMake Common Syntax (if Statement)CMake Common Syntax (Cache Variables)CMake Common Syntax (Environment Variables)CMake Common Syntax (Mathematical Calculations)CMake Common Syntax (Strings)CMake Common Syntax (Lists) CMake primarily has two types of loops: foreach and … Read more