Overhead Crane PLC Control: S7-1500 Motion & Safety Logic

Overhead Crane PLC Control System Architecture: S7-1500 Motion Control and Safety Logic in Practice. The PLC control system is the operational brain of an overhead crane—a well-designed system must balance functional completeness, real-time responsiveness, and safety protection. This article focuses on the Siemens S7-1500 platform, detailing the engineering practices behind control architecture design, motion control programming, and safety logic implementation.

The PLC control system is the central nervous system of an overhead crane's automated operation. Downward, it drives VFDs and sensors via PROFINET IO; upward, it connects to the dispatching system and MES platform through OPC UA—while independently running SIL3 safety logic to protect both equipment and personnel. A well-designed PLC control system must strike the right balance between real-time performance, reliability, safety, and maintainability. Drawing on years of system integration experience with Siemens S7-1500 PLCs, Kelude has developed a standardized crane control architecture covering hardware selection, motion control function blocks, brake application timing, safety logic, and commissioning procedures. This article provides a detailed walkthrough of this engineering framework at the system architecture level.

S7-1500 control cabinet and network topology for overhead crane PLC control system




Hardware Platform Selection and System Configuration

The crane PLC control system is built around the Siemens S7-1500 series, with the specific CPU model determined by crane capacity and control complexity. For light-duty cranes under 20 tons, the CPU 1511-1 PN is used—it integrates 48 KB of program memory and 32 KB of data memory, sufficient for single-VFD drives with basic I/O control. Medium-duty cranes in the 20-to-50-ton range are equipped with the CPU 1513-1 PN, which offers 128 KB of program memory, supports multi-axis motion control and OPC UA server functionality, and is the most widely deployed model in Kelude's standardized crane projects. For heavy-duty cranes above 50 tons, the CPU 1516-3 PN/DP is specified, supporting three or more axes of motion control, multi-protocol communication, and more complex safety logic.

← Scroll left / right to view full table →
CPUModel applicable tonnage Program Memory Features
1511-1 PN ≤20t 48KB SingleVariable Frequency Drive (VFD)+BasicIO
1513-1 PN 20~50t 128KB Multi-Axis+OPC UA
1516-3 PN/DP ≥50t 256KB Three-Axis+Multi-Protocol
1515F-2 PN 20~50t 128KB SIL3Safety-Rated

For applications requiring SIL3 functional safety, the F-series safety CPUs (e.g., CPU 1515F-2 PN or CPU 1517F-3 PN/DP) are the recommended choice. These integrate standard and safety control within a single CPU via the PROFIsafe protocol, eliminating the need for a separate safety PLC and reducing both hardware cost and wiring complexity.

On the expansion module side, each overhead crane comes standard with one DI 32×24V DC digital input module (for limit switches, pushbuttons, and pendant controls), one DO 32×24V DC/0.5A digital output module (driving contactors, indicator lamps, and buzzers), and two AI 8×U/I analog input modules (for load sensors, laser distance measurement, and temperature signals). For safety-related I/O, F-DI 16×24V DC and F-DQ 8×24V DC/2A fail-safe modules are deployed. On the drive side, two G120 CU250S-2 DP control units with PROFINET interfaces are supplied as standard—one driving the hoisting motor and the other handling the crane bridge and trolley motors.

The system network topology is built on PROFINET RT industrial Ethernet, meeting the hard real-time requirement of a control-cycle time below 10 ms. The PLC acts as the PROFINET IO controller, while the G120 VFDs, ET200SP remote I/O stations, and encoder interface modules function as IO devices. All equipment is interconnected through industrial-grade network switches (Siemens SCALANCE XC216 or equivalent) in an MRP ring topology, with a ring-recovery time of under 200 ms.

TIA Portal Project Structure and OB Organization Block Assignment

Kelude adopts a standardized program structure for the crane PLC within the TIA Portal environment. The main cycle OB1 handles motion control, logic evaluation, and communication data exchange, with a cycle time of 10 ms to match the VFD speed-loop refresh rate. Cyclic interrupt OB30 (set at 50 ms intervals) executes position closed-loop and anti-sway algorithm updates, while OB32 (200 ms interval) handles status acquisition and fault diagnosis.

Startup OB100 performs system initialization, including clearing the fault buffer, verifying encoder zero-point positions, and resetting the emergency-stop state. Time-of-day interrupt OB10 runs once every 24 hours to accumulate operating hours and evaluate maintenance intervals. Hardware interrupt OB40 responds to the high-speed encoder Z-pulse zero-calibration signal.

FB_Control
Main Control Function Block
Operating mode and task state machine (6 states: IDLE/ACCEL/CRUISE/DECEL/POSITION/STOP)
Cycle: 10 msComms: Internal DB
FB_Position
Position Closed Loop
Complementary filtering of encoder and laser distance measurement for optimal position estimation (cutoff frequency 0.5 Hz, accuracy ±3 mm)
Cycle: 50 msComms: PROFINET
FB_AntiSway
Anti-Sway Control
Supports dual-mode operation with PPO model inference and traditional PID, automatically switching control strategy based on load and speed
Cycle: 50 msComms: Internal DB
FB_Brake
Brake Application Control
Five-stage brake sequence (pre-excitation → torque build-up → brake release → deceleration → brake re-application) plus anti-load-slipping brake wear compensation
Cycle: 100 msComms: PROFIsafe
FB_Safety
Safety Logic
SIL3 safety function summary (STO/SLS/SBC/SDI), status reported to F-CPU, safety scan cycle 20ms
Cycle time 20msCommunication: PROFIsafe
FC_Diagnosis
Fault Diagnosis
Fault diagnosis and alarm output. Collects status telegrams from all VFDs (rotational speed / current / temperature / fault codes) and pushes them to the host system via OPC UA.
Cycle time 200msCommunication: OPC UA

Motion Control Function Block Design

The core motion control logic of the overhead crane control system is encapsulated in two function blocks: FB_Control and FB_Position. FB_Control uses a finite state machine design with six states: IDLE (standby, waiting for task), ACCEL (S-curve acceleration to target speed), CRUISE (maintaining target speed), DECEL (S-curve deceleration to approach target position), POSITION (precision positioning at low speed to target position ±3mm), and STOP (brake application and VFD enable disconnection).

S-curve acceleration control is implemented through a five-segment speed profile within FB_Control: the initial acceleration segment OA ramps the jerk linearly from zero to its maximum, the hold segment AB accelerates at constant acceleration, and the transition segment BC ramps the jerk back to zero, entering constant-speed operation. The deceleration phase is a mirror image. Default jerk is 0.5m/s³ and maximum acceleration is 0.3m/s², keeping the crane bridge start impact coefficient beloww 1.1 (compared to 1.5–1.8 for conventional two-step start-stop).

For position closed-loop control, FB_Position fuses signals from three position sources: incremental encoder position (100Hz update, 0.1mm resolution), laser distance measurement absolute position (50Hz update, ±1mm accuracy), and Gray-code calibration points. A complementary filter (cutoff frequency 0.5Hz) blends the laser absolute positioning at low speed with the encoder incremental positioning at high speed, outputting an optimized fused position estimate. The position loop PI parameters are calibrated during commissioning via the TIA Portal Trace function: proportional gain Kp=8.0, integral time Ti=200ms.

Brake Control Timing and Anti-Slip Protection

Brake control on the hoisting mechanism is critical to both safety and equipment service life — the timing of brake release and application determines whether the suspended load is at risk of load slipping. Kelude has designed a five-stage brake control sequence implemented over PROFIsafe communication between the G120 VFD and the S7-1500 PLC.

The release sequence has three stages: Stage 1 — the PLC sends a "pre-excitation" command to the G120 via PROFIsafe, and the VFD builds up the motor excitation current (300ms duration); Stage 2 — the VFD establishes hoisting torque (110% of target torque), and the torque confirmation signal is sent back to the PLC over PROFIsafe (200ms duration); Stage 3 — once torque build-up is confirmed, the PLC outputs the brake release command, the brake electromagnet is energized (150ms response time), and after the brake is fully open, the PLC sends the "enable run" command.

The application sequence has two stages: Stage 1 — the PLC sends a "stop" command, and the VFD decelerates to zero speed using the deceleration ramp (zero-speed hold time 200ms); Stage 2 — the PLC sends the brake application command, the brake closes mechanically (100ms response time), and the VFD is de-energized after confirming zero speed. The total brake control cycle (from stop command to full brake application) does not exceed 850ms.

← Scroll left / right to view full table →
Stage Action Sequence Communication
Pre-Excitation G120Flux EstablishmentCurrent 300ms PROFIsafe
Torque Build-Up Torque Reached110%Acknowledgment Feedback 200ms PROFIsafe
Brake open ElectromagneticCoil Energized+Brake Release 150ms DOOutput
DecelerationStop Decelerate to Zero+Zero-Speed Hold 200ms PROFIsafe
Brake close ElectromagneticCoil De-Energized+G120Disable 100ms DO+PROFIsafe

For brake lining wear compensation, the system records the actual opening time from the "brake open command" to the "brake magnet engaged feedback" during each brake application cycle. This measured value is compared against the initial nominal value (150ms), and the brake open command is progressively advanced based on friction lining wear, ensuring the actual opening point remains consistently within the target range.

Safety Logic Design and SIL3 Implementation

The safety functions of the overhead crane control system comply with IEC 61508 and ISO 13849-1, targeting Safety Integrity Level 3 (SIL3). Safety functions are implemented via the S7-1500F safety CPU and PROFIsafe communication protocol, with safety-related I/O connected through F-DI and F-DQ modules.

Key safety functions include: Safe Torque Off (STO) — when the Emergency Stop Button or a Limit switch is triggered, the VFD pulse enable is cut off directly via PROFIsafe with a Response time under 20ms; Safe Limited Speed (SLS) — the crane decelerates to 10% of rated speed 200mm before reaching the end limit, with a Response time under 50ms; Safety Brake Control (SBC) — the brake is automatically applied when STO is triggered to prevent Load slipping; Safe Direction Indication (SDI) — prevents the bridge travel mechanism and trolley mechanism from moving in the wrong direction before a reverse command is received.

The emergency stop circuit uses a dual channel redundant design: Channel A acquires the normally closed contacts of the Emergency Stop Button through the F-DI module, while Channel B connects the auxiliary contacts of the Emergency Stop Button via hardwired series wiring directly into the main contactor coil control circuit. Either channel can independently cut off the power supply when the emergency stop is triggered. The safety I/O test pulse frequency is 1Hz, and the PLC executes the safety logic written in F-LAD and refreshes the safety outputs within each safety scan cycle (20ms).

Commissioning Procedure and Parameter Tuning

The commissioning of the overhead crane PLC Control System follows six standard steps. Step one — network configuration and diagnosis: use PRONETA software to scan all devices on the PROFINET network, verify that device names and IP addresses match the TIA Portal project configuration, and confirm that all I/O devices are online.

Step two — VFD parameter configuration: download the G120 parameter set using STARTER or Startdrive software. For the Hoisting mechanism: P1300=20 (sensorless Vector Control), P1120=2.0s (acceleration time), P1121=2.0s (deceleration time), P1240=3 (Vdc_max controller activated). For the bridge travel mechanism: P1120=4.0s, P1121=4.0s.

Step three — static motor data identification: execute P1910=1 (static identification) and set to 1 (full identification). The identification process automatically measures motor parameters including stator resistance, rotor resistance, leakage inductance, and mutual inductance. The motor must not be connected to any mechanical load during identification.

Step four — position Calibration: use the TIA Portal control panel to manually run the crane to both end limit positions, record the deviation between Encoder and Laser Distance Measurement count values, and set the Encoder zero offset and positive/negative limit values.

Step five — brake timing verification: verify the torque build-up timing for brake opening and the zero-speed holding timing for brake closing under both no-load and rated load conditions. Use the Trace function to capture torque and speed curves, confirming that the brake timing parameters meet the five-stage control requirements.

Step six — OPC UA communication verification: use UA Expert to connect to the overhead crane PLC's OPC UA server, read the data types and value ranges of each node, verify the addresses and access permissions of the 26 published data nodes, and confirm that the dispatching system and MES platform can read and write normally.

Frequently Asked Questions (FAQ)

Q: Should I choose the S7-1200 or S7-1500 for my overhead crane PLC control system?
A: The S7-1200 is suitable for simple overhead cranes rated under 10 tons. For standard overhead cranes above 20 tons, the S7-1500 series is required—it delivers stable PROFINET RT communication cycles within 10 ms, supports OPC UA and PROFIsafe safety protocols, and offers the CPU computing power needed for real-time anti-sway algorithm processing.
Q: How do you resolve VFD harmonic interference inside an overhead crane control cabinet?
A: Install an input reactor on the line side of the VFD (with a 3%–5% inductive voltage drop based on rated current) and an output reactor on the load side (mandatory when motor cable length exceeds 50 m). Inside the control cabinet, route Power Cables and control cables in separate layers (maintain a minimum spacing of 300 mm). Where feasible, mount the PLC and VFD in separate cabinets, or use a metal Diaphragm to isolate them within the same enclosure. EMC design should comply with IEC 61439-1 (Low-voltage switchgear and controlgear assemblies).
Q: How do I resolve encoder signal interference from a VFD on an overhead crane?
A: The encoder signal cable must be a twisted-pair shielded cable (120Ω characteristic impedance), with the shield grounded at a single point on the PLC side (grounding resistance ≤4Ω). Maintain a minimum separation of 500mm between the signal cable and the VFD output cable; if this spacing cannot be achieved, route the signal cable through a metal conduit. Use a differential-output encoder (RS-422) instead of an open-collector type to improve common-mode rejection ratio by more than 20dB. In the TIA Portal hardware configuration, enable the encoder input filter (reduce from the default 3.0MHz to 100kHz) to suppress harmonic components from the VFD carrier frequency (typically 4–8kHz).
Q: How do I choose between the 1513-1 PN and the 1515F-2 PN? When is the F-series safety CPU mandatory?
A: The 1513-1 PN is the best-value option for standard overhead cranes in the 20–50 t range, supporting multi-axis motion control and OPC UA. The 1515F-2 PN is required in the following scenarios: ① The customer specification explicitly calls for SIL3 functional safety level; ② The crane is used in human-machine collaborative operations (e.g., dual-mode control via floor pendant plus operator cabin); ③ The hoisting mechanism handles hazardous loads (molten metal, nuclear waste transfer, etc.); ④ The project must pass TÜV or CE safety certification. F-series CPUs integrate an F-runtime, safety programs are written in F-LAD and validated through PLCSIM Advanced simulation, and safety-related outputs achieve dual-channel disconnection via F-DQ modules.
Q: Should the overhead crane PLC Control System use S7-1200 or S7-1500?
Standardized overhead cranes above 20 tons must use the S7-1500 series, with a PROFINET RT cycle of <10ms, supporting OPC UA and PROFIsafe.
Q: How do you resolve harmonic interference?
Install a Reactor at the line input, route Power Cable and control cable in separate layers, and mount the PLC and VFD in separate cabinets.
Q: How do you resolve Encoder signal interference?
Use twisted-pair Shielded Cable, differential-output Encoders, enable input filtering at 100kHz, and maintain a minimum separation of 500mm between signal cable and Power Cable.
Q: How do you choose between the 1513-1 PN and 1515F-2 PN?
The 1513-1 PN is used for standard overhead cranes, while the 1515F-2 PN is for applications with SIL3 safety requirements (human-machine collaboration, hazardous material Hoisting, TÜV Certification).

Related News

contact

contact us

phone:
+86 13903802779

mail:3915269@qq.com

Working hours: Monday to Friday

Wechat
Wechat
SHARE
TOP