How to Create Function Blocks in Mitsubishi PLC GX Works2

How to Create Function Blocks in Mitsubishi PLC GX Works2

The steps to create function blocks in Mitsubishi PLC GX Works2 are as follows: Create a New Project Open GX Works2, select “Project” → “New Project”. Check “Use Tags” in the project type, and select the PLC model (e.g., FX3G/FX3U). Create FB Block In the left navigation bar under “Program Components”, find “FB Management”, right-click … Read more

PLC Function Block for XINJE Bus Servo

PLC Function Block for XINJE Bus Servo

XINJE Bus Servo PLC Function Block (POU_1_1) Packaging Diagram, which illustrates the typical interface structure of this packaging in motion control. This packaging is commonly used to integrate XINJE servo drives (such as through bus protocols like EtherCAT, CANopen, etc.) with PLCs (for example, XINJE XC series PLCs) to achieve precise control of axes. If … Read more

The Ultimate PLC Flow Accumulation Calculation Tool: A Detailed Explanation of the SCL Function Block

The Ultimate PLC Flow Accumulation Calculation Tool: A Detailed Explanation of the SCL Function Block

Click the blue text PLC Automation Exchange Follow us In the field of industrial automation, the cumulative flow statistics of flow meters is a common and important requirement. How can we accurately and reliably calculate the total flow in the face of fluctuating instantaneous flow signals? Today, we bring you a practical SCL function block … Read more

Cascade PIDFB Function Block Packaging in XINJE PLC

Cascade PIDFB Function Block Packaging in XINJE PLC

The Cascade PIDFB function block packaging of XINJE PLC is an advanced control strategy widely used in industrial automation for precise control of complex processes. Below, combined with the provided ladder diagram screenshot, we will detail its main application scenarios and practical significance. If you need to exchange and learn, you can scan the QR … Read more

Efficient and Intuitive FB Implementation Using ST in PLC Programming

Efficient and Intuitive FB Implementation Using ST in PLC Programming

Why Choose ST for Writing FB? Clear Logic and Easy Maintenance The ST language expresses logic in text form, making it suitable for describing complex control processes. With a reasonable code structure and comments, developers can easily understand and maintain the code. Modular Programming FB itself is a modular programming unit, and ST allows developers … Read more

What are the Differences Between FB and FC in Siemens PLC?

What are the Differences Between FB and FC in Siemens PLC?

In the process of programming Siemens PLCs, it is common to find both FB blocks and FC blocks in a program. So, what are the differences between the two? 01What are FB and FC blocks, and how to use them FB and FC are essentially equivalent to subroutines. First, let’s introduce subroutines: Subroutines and main … Read more

Application Example of Siemens PLC Multi-instance Data Blocks

Application Example of Siemens PLC Multi-instance Data Blocks

When using TIA Portal for structured programming of medium to large projects, it is often necessary to use Function Blocks (FB). Each time an FB is called in the program, a separate Instance Data Block (DB) must be specified to store the input, output, and static variables of the function block. For very small FBs … Read more

Weekly Programming Example 5: Heartbeat Detection and PLC Applications

Weekly Programming Example 5: Heartbeat Detection and PLC Applications

Reading time required 7minutes Quick read only takes 3 minutes Introduction In industrial automation, the PLC (Programmable Logic Controller) is one of the core devices that ensures the smooth operation of the production process by monitoring and responding to various control signals in real-time. Among these applications, “heartbeat detection” is a very common and important … Read more

Omron NJ Series PLC Function Block (FB) Programming Guide

Omron NJ Series PLC Function Block (FB) Programming Guide

1. Function Block(FB) Introduction The Function Block (FB) is an important component in the programming of Omron NJ series PLCs, allowing reusable code logic to be encapsulated as independent modules. Function blocks can contain input variables, output variables, input/output variables, and internal variables, written in Structured Text (ST) language, greatly enhancing the readability and maintainability … Read more

Master Siemens PLC from Scratch! Create a Highly Functional Cylinder Control Block Using SCL Language for S7-1200

Master Siemens PLC from Scratch! Create a Highly Functional Cylinder Control Block Using SCL Language for S7-1200

Hello everyone! Today we are going to do something very practical—writing a fully functional cylinder control program for the Siemens S7-1200 PLC using SCL language. Even if you have only previously worked with Ladder Diagram (LAD), it doesn’t matter; I will explain it in detail, ensuring you can understand and follow along. Once you do, … Read more