TP 4 · Chapter 4
Hoist: brake sequencing, overload and anti-sway
The brake-release and brake-apply handshake of a hoist, a fail-safe upper limit, the graded overload response, and a zero-vibration shaper computed in the PLC.
On this page
Objectives
- Program the brake-release and brake-apply handshake of a hoist drive (Chapter 4).
- Implement a fail-safe upper limit switch and the graded overload response of a crane.
- Compute the anti-sway timing in the PLC and generate the two-step speed command of the zero-vibration shaper.
Background
Chapter 4 insists that the holding brake is a holding device: it is released only once the drive has proved it can carry the load, and applied only once the motion has stopped. The chapter also describes a graded overload response (warning, hoisting inhibited while lowering stays possible, then trip) and the two-pulse input shaping that cancels load sway, with (worked example: m gives s).
The stepper plays the hoist in Parts A and B and the trolley in Part C. The load and the rope length, which the trainer cannot provide, are read from the CPU's two analogue adjustment potentiometers under the front cover: SMB28 and SMB29, each 0 to 255.
Bench set-up
With the trainer OFF: Q0.0 → STEP MOTOR DIR, Q0.1 → STEP MOTOR CK, ENCODER A → I0.0, ENCODER B → I0.1; micro-switch COM → 24 V+ and NC → I1.0; buzzer BZ+ → RQ0.7, BZ− → 24 V−, common RC6 → 24 V+. The DC motor is not wired: the micro-switch is used on its own, and you press its lever by hand to simulate the hook block reaching the upper limit.
| Address | Symbol | Meaning |
|---|---|---|
| I0.0 | ENC_A | encoder phase A (HSC0, mode 9) |
| I0.1 | ENC_B | encoder phase B (HSC0, mode 9) |
| I0.2 | HOIST | hoist (up), hold-to-run |
| I0.3 | LOWER | lower (down), hold-to-run |
| I0.4 | TRAVEL | Part C: start a trolley travel, momentary |
| I0.5 | SHAPER_ON | Part C: anti-sway shaping enabled |
| I0.6 | ESTOP_NC | emergency stop, normally closed (ON = healthy) |
| I0.7 | RESET | reset, momentary |
| I1.0 | UPPER_LIMIT_NC | upper final limit, micro-switch NC contact (ON = healthy) |
| SMB28 | LOAD_POT | simulated load cell: 0–255 → 0–125 % of rated load |
| SMB29 | ROPE_POT | simulated rope length: 0–255 → 2–12 m |
| Q0.0 | DIR | stepper direction |
| Q0.1 | CK | stepper clock |
| Q0.2 | BRAKE_RELEASE | brake coil (relay RQ0.2 clicks when the brake lifts) |
| Q0.3 | DRIVE_ENABLE | drive enabled / magnetising |
| Q0.4 | WARN_90 | load above 90 % |
| Q0.5 | HOIST_INHIBIT | load above 100 %: hoisting blocked |
| Q0.6 | TRIP | trip (load above 110 % or emergency stop) |
| Q0.7 | BUZZER | audible alarm (via RQ0.7) |
Preparation
- Draw the GRAFCET of the hoist motion with the steps braked, magnetising, brake lifting, moving, stopping and brake applying. The delays are 0.3 s to prove the drive, 0.2 s for the brake to lift, and 0.3 s after the brake is applied before the drive is disabled.
- Write the scaling expressions from SMB28 to load in percent and from SMB29 to rope length in metres.
- For = 4 m, 9 m and 12 m, compute . For a trolley command of 100 Hz (full speed) preceded and followed by a 50 Hz segment lasting , compute the number of pulses of each half-speed segment and check that .
Anti-sway timing
A pendulum of length L swings with period T = 2π√(L/g). The shaper runs at half speed for T/2 at the start and the end of the travel.
L = 9.00 m · T/2 = π√(L/g) = 3.009 s · n₁ = 150
full-speed pulses: 180
Timer choice
The S7-200 timer number fixes its type and resolution. Enter a duration to see the preset of every group.
| Type | Resolution | Timer numbers | Preset | |
|---|---|---|---|---|
| TON/TOF | 1 ms | T32, T96 | +1000 | exact |
| TON/TOF | 10 ms | T33–T36, T97–T100 | +100 | exact |
| TON/TOF | 100 ms | T37–T63, T101–T255 | +10 | exact |
| TONR | 1 ms | T0, T64 | +1000 | exact |
| TONR | 10 ms | T1–T4, T65–T68 | +100 | exact |
| TONR | 100 ms | T5–T31, T69–T95 | +10 | exact |
Multi-segment PTO profile
Each segment starts at a cycle time and changes it by a fixed number of µs per pulse. Enter the frequencies and pulse counts of your segments; the tool gives the table values and the travel time.
| # | Start (Hz) | End (Hz) | Pulses | Start cycle (µs) | Δ per pulse (µs) | Last pulse (Hz) | Time (s) | |
|---|---|---|---|---|---|---|---|---|
| 1 | 20000 | 0 | 50.0 | 1.920 |
96 pulses · 1.920 s
MOVB 1, VB500 MOVW +20000, VW501 MOVW +0, VW503 MOVD +96, VD505
The frequency does not change linearly: the cycle time does. Word values above +32767 are written in hexadecimal (16#…). Check the table layout against the manual before you use it.
Part A: brake handshake and limits
- Program the GRAFCET of your preparation. HOIST or LOWER held starts the sequence; releasing it decelerates the motor (a decreasing-frequency PTO segment), and the brake is applied only when the pulse train has finished (PTO idle bit SM76.7).
- The upper limit stops hoisting but must still allow lowering.
- ESTOP_NC opening removes DRIVE_ENABLE and applies the brake at once, whatever the step.
| Event | Time from command (s) | Order correct? |
|---|---|---|
| DRIVE_ENABLE on | ||
| BRAKE_RELEASE on | ||
| first pulse on CK | ||
| last pulse on CK (after HOIST released) | ||
| BRAKE_RELEASE off | ||
| DRIVE_ENABLE off |
Part B: graded overload
- Above 90 % of rated load, light WARN_90. Above 100 %, block hoisting but allow lowering (HOIST_INHIBIT). Above 110 %, stop, apply the brake, sound the buzzer and latch TRIP until RESET with the load back below 100 %.
- Read the load cell only when the hoist is stationary, and hold the last value while moving (a real load cell reads high during acceleration).
Part C: anti-sway command
- On TRAVEL, move the trolley (the stepper) by 480 pulses. Without shaping, use a single segment at 100 Hz.
- With SHAPER_ON, the program computes the rope length from SMB29, then in real arithmetic, then the pulse count of a 50 Hz segment lasting . Build a three-segment profile: pulses at 50 Hz, at 100 Hz, and at 50 Hz. The stop must be shaped as well as the start.
- Measure the duration of the first segment with a timer and compare it with your preparation.
| (m) | computed (s) | by PLC (s) | first-segment pulses | measured duration (s) |
|---|---|---|---|---|
Rehearse on the virtual bench
Test your program before the session: paste or open your exported .awl, choose the wiring of this TP, and run the procedure and the fault-injection tests on the simulated trainer.
- PTO frequency
- 0.0 Hz
- Pulses sent
- 0
- Position (steps)
- 0 (0.00 rev)
- Steps lost
- 0
- HC0
- 0
No errors: the program compiles.
Same stepper and encoder; the micro-switch is wired on its NC contact as the upper limit: I1.0 is ON while healthy and drops when you press the lever or pull its lead.
Fault-injection tests
| Test | Safe reaction required | Observed |
|---|---|---|
| Pull the I1.0 lead (broken limit-switch wire) | hoisting stops as if the limit were reached; lowering still possible | |
| HOIST released during brake lifting | brake re-applied, no pulse sent | |
| Emergency stop while moving | brake applied at once, drive disabled | |
| Load set above 110 % at rest, then HOIST | brake stays applied, trip latched, buzzer | |
| Load potentiometer turned while hoisting | held value used; no reaction until the hoist stops | |
| Load above 100 %: operate LOWER | lowering allowed |
Questions
- Why must the brake never be released before the drive is proved, and never be used to stop a moving hoist in normal operation?
- Explain why the upper limit switch is wired on its NC contact. What would a wiring fault do with the NO contact?
- Why is lowering allowed above 100 % of rated load when hoisting is not?
- Your shaper is tuned from the rope length set on SMB29. Using the anti-sway simulation of Chapter 4, explain what happens if the operator changes the hoist height after the travel has started.
Group report
One report per group, handed in here. Groups are 2 or 3 students; working alone or in a group of 4 needs your teacher's agreement. Everyone edits the same report, each member signs off what they did, then any member hands it in.
Loading…