"PLC Fundamentals: Distinguishing Between Controller and Program Scope"
Time:Dec 16,2025
Understand the variables in the PLC
A variable is a block of memory that stores binary values, which can be represented by a single bit, integer, floating-point number, or ASCII character. Nowadays, most PLC variables are label-based, which means that each variable is assigned a data type that defines the representation of the variable. It can be a standard integer, a double-precision integer, a byte, a word or a string, all of which are given a name.
Compared with some standards of previous generations (Rockwell's SLC 500), labels used to be typically located at fixed memory addresses, such as N7:0.1 or B3:5.0, with letters indicating specific memory blocks for different types of variables.
What is a definition label?
Defining the location where the tags exist is an important issue. There are mainly two locations: they can be defined in the controller scope or the program scope. The scope determines their scope of use. Global variables can be used by any program, routine or subroutine at any time, so they can pass information between programs and functions. Local variables can only be used within the program where they are defined.

What are the tag definitions in Studio 5000 and TIA Portal?
When creating labels in the Rockwell Studio 5000 Logix Designer IDE, you can choose to create labels that are accessible to the entire controller project, or create labels that are accessible only within a single program.
For Siemens PLC, labels can be created in data blocks or defined in function blocks and function calls. When labels are created in a program or function block/function call, only that program or function can access these labels. Building ladder diagram logic code in this way can achieve a compact label list and a modular code structure.

Blog
26 Dec,2025
Discussion on "How to choose the right industrial power supply for a server rack"
Almost all control cabinets require a DC power supply. Some control cabinets only use alternating current for motor control, but except for these exceptions, control cabinets also require direct current power to supply power to PLCS, Hmis, digital and analog I/O devices, relays and contactor coils. It is precisely the responsibility of industrial power supplies to provide these DC power sources.
16 Dec,2025
"PLC Fundamentals: Distinguishing Between Controller and Program Scope"
Each PLC manufacturer and each text-based code language developer defines variables in ladder diagram logic or code in a slightly different way.
11 Oct,2025
Learn About Bently Nevada 3500 Series Machinery Protection System
In the field of machinery monitoring, the Bentley 3500 Series has established itself as an industry benchmark for its exceptional performance, demonstrating irreplaceable advantages across the board, from core functions to application scenarios.
06 Oct,2025
"Exploring the Values and Culture of Sumset International Trading Co., Ltd."
At Sumset International Trading Co., Ltd., we believe a fulfilling career is inseparable from vibrant personal time.
13 Jan,2026
Precision Performance with Accelerometer Acceleration Transducers for Advanced Condition Monitoring
Accelerometer Acceleration Transducers play a vital role in modern industrial diagnostics, enabling engineers to capture accurate vibration data and protect critical assets from unexpected failure.
08 Dec,2025
Understanding Process Variable Monitors in Sensor Technology
In the field of electronic components, particularly in sensors, the importance of monitoring various process variables cannot be overstated. A Process Variable Monitor (PVM) is a crucial tool that measures and records specific parameters within a given process, such as temperature, pressure, flow rate, and level. By continuously tracking these variables, a PVM helps ensure that processes remain wi
About Us
Sumset International Trading Co.,Ltd
We are a supplier of automation spare parts and components from reliable and well-known brands. We mainly provide PLC modules, DCS control cards, ESD control cards, turbine monitors, vibration monitoring and asset protection systems.
Address:
Room 1904, Building B, Diamond Coast, No. 96 Lujiang Road, Siming District, Xiamen, China
Copyright @ 2025 Sumset International Trading Co.,Ltd. All Rights reserved