SIEMENS SIMATIC S5-115U Programmable Controller Comprehensive Analysis and Professional Application Guide
SIMATIC S5-115U is a classic programmable logic controller (PLC) designed by Siemens for the mid to low performance range. With its high modularity, powerful scalability, and mature programming environment, it has a wide range of application foundations and lasting technological influence in the field of industrial automation. This article is based on its official technical manual and provides a systematic analysis of its system architecture, functional characteristics, programming methods, and engineering practices, providing in-depth technical references and application guidelines for automation engineers.
System Overview and Core Positioning
S5-115U belongs to the SIMATIC S5 series and is a modular programmable controller designed specifically to meet modern industrial control requirements. It is widely used in various industries such as automobile manufacturing, plastic processing, heavy machinery, chemical industry, food and beverage, building services, transportation, and energy management. It is capable of handling tasks ranging from simple open-loop logic control to complex closed-loop process control.
The core design philosophy of the system is modularity and flexibility. Users can freely combine components such as power modules, central processing units, digital/analog input/output modules, intelligent I/O modules, and communication processors based on the scale and complexity of specific control tasks to build customized control solutions. This modular design not only facilitates system configuration and maintenance, but also leaves ample space for later functional expansion and upgrades.
Detailed explanation of core system components
1. Central Processing Unit (CPU)
S5-115U offers four CPU models: CPU 941, 942, 943, and 944, with increasing performance in sequence.
CPU 941/942: equipped with microprocessor and application specific integrated circuit (ASIC), providing 2KB and 10KB internal RAM respectively, suitable for basic control tasks.
CPU 943: Equipped with 48KB of internal RAM, significantly improving processing speed, supporting models with two serial interfaces, and featuring integrated real-time clock and ASCII driver functions.
CPU 944: As the flagship model, it provides 96KB of internal RAM and the fastest instruction execution speed, supports advanced communication protocols (such as 3964R), dual serial ports, and more powerful integrated functions.
All CPUs are integrated with PID control algorithm, which can be combined with simulation modules to achieve up to 8 control loops, with a sampling time of up to 100ms. The integrated hardware clock of CPU 943/944 provides a hardware foundation for timestamp recording and timing tasks.
2. Input/output module
Digital module: Provides non isolated and isolated versions, adapted to different on-site signal levels (such as 24V DC, 120/230V AC). Through the front connector wiring, it supports screw or spring crimping for easy installation and maintenance. The status of each channel is visually displayed by LED.
Simulation module: used to process continuous process variables such as temperature and pressure. The analog input module supports multiple measurement ranges through replaceable range cards; The analog output module covers standard voltage or current output signals, used to drive actuators such as valves and speed controllers.
3. Intelligent I/O modules and communication processors
Intelligent I/O module (IP): equipped with an independent processor, specialized in handling real-time demanding tasks such as high-speed counting, position detection, time measurement, closed-loop control, etc., greatly reducing the load on the CPU.
Communication Processor (CP): It realizes human-computer interaction and machine communication, supports connecting printers, operation panels, monitoring terminals, and can access SINEC L1 local area network and other network systems. It is the key to achieving distributed control and centralized monitoring.
4. Power supply and mechanical structure
Power module (PS 951): converts external grid voltage (24V DC/120V AC/230V AC) into 5V, 5.2V, and 24V DC required internally by the system, and provides battery backup for RAM. The module has voltage monitoring and fault indication functions.
Installation structure: System components are installed on standard mounting rails (CR/ER) to form a central controller (CC) or expansion unit (EU). Through the interface module (IM), centralized (cable length ≤ 2.5m) or distributed (up to 3000m) configurations can be built, and I/O devices can be installed nearby sensors and actuators, greatly saving wiring costs.
STEP 5 Programming Languages and Software Architecture
S5-115U uses Siemens standard STEP 5 programming language, which provides multiple program representation methods to adapt to the habits of different engineers:
Statement Table (STL): A text-based instruction sequence with high execution efficiency and the most comprehensive functionality.
Ladder diagram (LAD): Using relay ladder diagram symbols is intuitive and easy to learn, especially suitable for electrical engineers.
Function Block Diagram (CSF): Use logical gate symbols to represent Boolean operations.
GRAPH 5: Graphic programming specifically designed for sequential control systems.
Program Structure and Block Types
STEP 5 adopts structured programming thinking to organize control programs into different types of blocks:
Organizational Block (OB): The interface between the operating system and user programs. OB1 is the main program that executes in a loop; OB21/OB22 handles cold start; OB2-OB5 response process interrupted; OB10-OB13 implements time interruption; Other OBs are used to handle errors or provide special features (such as PID algorithm OB251).
Program Block (PB)/Sequential Control Block (SB): Used to build structured user programs that can be divided by function or process.
Function Block (FB): A parameterized subroutine used to encapsulate complex or reusable functions. Supports basic, supplementary, and system operations, with powerful functionality.
Data Block (DB): Stores the recipe, set values, text information, and other data required by the program. DB1 is used for system function initialization, while DB0 is used by the operating system.
Core Programming Concepts
Process Image (PII/PIQ): The CPU reads the input signal to the Process Input Image (PII) at the beginning of each scanning cycle, and writes the Process Output Image (PIQ) to the output module at the end of the cycle. This batch processing method improves the consistency and efficiency of program execution. Users can also directly access I/O through commands such as "L PW" and "T PW" to achieve fast response.
Operand area: including input (I), output (Q), flag bit (F), timer (T), counter (C), data block (D), etc., providing clear storage space division for the program.
Nesting and Stacking: The program supports up to 32 levels of block call nesting. When called, the return address and current block information are stored in the block stack (BSTACK) to ensure that the program can return correctly.

System startup, debugging, and diagnosis
System startup and program testing
Power on and reset: After power on, the CPU executes a cold start routine to check the I/O module configuration. The mode selection switch can be used for "overall reset", clearing programs and all data from memory.
Program loading: The program can be directly downloaded to the CPU RAM through the programmer (PG), or burned to the EPROM/EEPROM submodule before inserting into the CPU. The CPU 943/944 will automatically load the contents of the submodule into the internal RAM for high-speed execution.
Test function:
Program Check: Step through the program and observe the signal status.
Status Display (STATUS/STATUS VAR): Real time signal status of online monitoring operands or direct reading of I/O.
FORCE VAR: Forcefully modify the values of variables such as I/O and flag bits, used to check wiring and output devices.
Comprehensive diagnostic capabilities
S5-115U has powerful self diagnosis and fault indication capabilities:
Interrupt Stack (ISTACK) Analysis: When the CPU stops due to a fault, the operating system stores the cause of the fault (such as "QVZ" timeout, "ZYK" scan cycle exceeding limit, "NNN" illegal instruction, etc.) and related contextual information in ISTACK. ISTACK can be read and analyzed through a programmer to quickly locate the root cause of the fault.
LED indicator lights: The LEDs on the CPU panel (RUN/STOP/QVZ/ZYK/BASP, etc.) and module channel LEDs provide intuitive status and fault indications.
Block Stack (BSTACK) Tracking: After a program stops due to an error, BSTACK can be viewed to trace the block call path at the time of the error, helping debug complex structured programs.
Installation Configuration and Electromagnetic Compatibility Guide
The manual provides detailed installation specifications to ensure reliable operation of the system:
Electrical installation: emphasizes the separation of control circuit and load circuit, equipotential connection, grounding specifications, and correct wiring methods for non isolated and isolated modules.
Cable laying and shielding: To suppress electromagnetic interference, it is required to separate and lay bus/signal lines, low-voltage power lines, and high-voltage power lines in groups. The signal cable should use a braided mesh shielding layer and achieve low impedance, large-area grounding at the point where the cable enters the control cabinet.
Environment and heat dissipation: The installation of the cabinet must ensure the minimum spacing between modules. When the power load exceeds 7A or high-power modules are used, fan components must be installed to ensure heat dissipation.
Communication and Advanced Features
S5-115U supports a wide range of communication options and is key to achieving factory automation:
Point to point connection: Direct data exchange between PLCs is achieved through the second serial port of CP 524/525 or CPU 943/944 (as the main station).
LAN: SINEC L1 industrial LAN can be accessed through modules such as CP 530.
ASCII driver: The second serial port of CPU 943/944 can be configured in ASCII driver mode to directly connect to standard serial devices such as printers and barcode readers.
Integrated real-time clock: The hardware clock built into CPU 943/944 can record time and date stamps, and read and write through the system data area.
Model Supplement
1、 Central Processing Unit (CPU)
CPU 941-7UB11
CPU 942-7UB11
CPU 943-7UB11
CPU 943-7UB21
CPU 944-7UB11
CPU 944-7UB21
2、 Power module (PS)
PS 951
6ES5 951-7LB14
6ES5 951-7NB13
6ES5 951-7LD21
6ES5 951-7NB21
6ES5 951-7ND41
6ES5 951-7ND51
3、 Digital module
6ES5 434-7UA12
434-7 (digital input module with process interrupt)
6ES5 482-7LA11 (Digital Input/Output Module)
6ES5 485-7LA11 (Digital Input/Output Module)
4、 Simulation module
460-7LA12 (Analog Input Module)
460-7LA13 (Analog Input Module)
465-7LA13 (Analog Input Module)
466-3LA11 (Analog Input Module)
5、 Intelligent input/output module (IP, WF)
IP 240
IP 241
IP 242
IP 243
IP 244
IP 245
IP 246
IP 247
IP 252
WF 625
6、 Communication Processor (CP)
CP 513
CP 524
CP 525
CP 526
CP 527
CP 530
CP 535
CP 543
CP 551
CP 552
CP 580
CP 581 (6ES5 581-1ED13)
CP 143
7、 Interface Module (IM)
IM 304 / IM 314
IM 304-3UA1
IM 304-3UB1
IM 305
IM 306
IM 307 / IM 317
IM 308 / IM 318
IM 310 (AS 301)
IM 311 (AS 302/AS 311)
IM 305/IM 306
8、 Installation rack (CR center, ER expansion)
CR 700-0 (6ES5 700-0LA12)
CR 700-0 (6ES5 700-0LB11)
CR 700-1
CR 700-2
CR 700-2LB
CR 700-3
ER 701-0
ER 701-1
ER 701-2
ER 701-3
ER 701-3 (S5-115U)
EU 183U
9、 Memory submodule
6ES5 375-1LA15 (EPROM 8 KB)
6ES5 375-1LA21 (EPROM 16 KB)
6ES5 375-1LA41 (EPROM 32 KB)
6ES5 375-1LA61 (EPROM 64 KB)
6ES5 375-1LA71 (EPROM 128 KB)
6ES5 375-0LC31 (EEPROM 8 KB)
6ES5 375-0LC41 (EEPROM 16 KB)
6ES5 375-0LD11 (RAM 8 KB)
6ES5 375-0LD21 (RAM 16 KB)
6ES5 375-0LD31 (RAM 32 KB)
10、 Programmer (PG)
PG 605U
PG 635
PG 670
PG 675
PG 685
PG 695
PG 710
PG 730
PG 750
PG 770
11、 Operator Panel (OP) and Monitor
OP 393
OP 395
OP 396
DG 335 (monitor)
DS 075 (monitor)
12、 Printer (PT)
PT 88
PT 89
PT 90
