In GRAFCET mode, each step can have actions with different qualifiers that define their behavior according to IEC 60848:
| Qualifier | Name | Description |
|---|---|---|
| N | Normal | Action is active while the step is active |
| S | Set (Stored) | Action is latched ON when step becomes active, remains ON until Reset |
| R | Reset | Action is latched OFF when step becomes active |
| D | Delayed | Action becomes active after delay, only while step remains active |
| L | Limited | Action is active for limited duration while step is active |
| SD | Stored & Delayed | Action is set after delay (combination of S and D) |
| DS | Delayed & Stored | Action starts delayed, then stored (combination of D and S) |
| SL | Stored & Limited | Action is set for limited time (combination of S and L) |
| P | Pulse | Single pulse at step activation (impulse action) |
This example demonstrates a pneumatic cylinder control sequence with various action qualifiers:
- Init: Initial waiting state
- Extending: Activates valve V1+ (Normal action)
- Extended: Starts a 2s timer (Delayed) and sets position indicator (Set)
- Retracting: Activates valve V1- (Normal) and resets indicator (Reset)
- Alarm: Sound buzzer (Normal) and flash lamp for 5s (Limited)
Sensors: Start, s0 (retracted position), s1 (extended position), Error, Reset
TimedPetriNetEditor data/examples/GrafcetActions.json
Operating and Stopping Modes Graph (GEMMA)
This example models the GEMMA (Graph for the Study of Modes and Actions) which defines the coordination of three combined GRAFCETs to control an automated cell. The managed modes are:
- Normal production operation
- Safety operation
- Supervision/control of subordinate GRAFCETs
Production Line Description: Workpieces are transported by a conveyor belt to an oven (KM3) for baking. The conveyor can move left or right thanks to two motors (KM2 and KM1).
Operator Panel (HMI) Controls:
- Emergency stop button (AU)
- Reset button (Arm)
- Validation button (Val)
- Power-on indicator lamp (MST)
- Selector switch for automatic (Auto) or manual (Manu) operation
- Cycle start button (Dcy)
- Cycle stop button (Acy)
- Left (GA) and right (DR) buttons to move the conveyor in the desired direction during manual mode
Credit: NetProf
TimedPetriNetEditor data/examples/GEMMA.json
The client inserts a coin and press to the brew button to get a coffee. The machine accept to return the inserted client coin.
TimedPetriNetEditor data/examples/Coffee.json
Two traffic lights (red, orange, red lights) synchronized by the Place P6.
TimedPetriNetEditor data/examples/TrafficLights.json
One traffic ligth. The particularity of German traffic lights is they are at the same time red and yellow before swaitching to green.
TimedPetriNetEditor data/examples/GermanTrafficLights.json
Credit: YAWL User Group https://www.youtube.com/shorts/ZQZCpDRqwKY
Three philosophers are eating but they are sharing their fork and knives.
TimedPetriNetEditor data/examples/Philosophers.json
Victims is calling the 911. A first operator (level 1) is selecting the type of urgency (advice urgent, critical):
- For an advice the operator is giving instructions to the victim.
- For a urgent case, the phone call is transfered to the operator of level 2.
- For a critical case, the phone call is transfered to the operator of level 2 but the operator of level 1 is still present with the victim.
TimedPetriNetEditor data/examples/AppelsDurgence.json
Simulate a road junction.
TimedPetriNetEditor data/examples/FourRoadJunctions.json
Simulate a producer and a consumer with a buffer.
TimedPetriNetEditor data/examples/ProducerConsumer.json
Show source and sinks transitions
TimedPetriNetEditor data/examples/InputsOutputs.json
Show a timed event graph taken from https://www.rocq.inria.fr/metalau/cohen/SED/book-online.html.
TimedPetriNetEditor data/examples/EventGraph.json
Show security such as dead man works on a chainsaw.
TimedPetriNetEditor data/examples/Chainsaw.json
Credit: YAWL User Group https://www.youtube.com/shorts/V42WiF2Ib3w
Show how to prevent damaging aircraft landing gear.
- The aircraft has initially its gear down and at low speed.
- On high speed, extending gears is not possible.
- If gears are down and aircraft go to high speed a warning is triggered.
TimedPetriNetEditor data/examples/LandingGear.json
Credit: YAWL User Group https://www.youtube.com/shorts/IqMyF5JKoE4
Prevent shuttering down the last roller shutters.
TimedPetriNetEditor data/examples/SmarthomeSafety.json
Credit: YAWL User Group https://www.youtube.com/shorts/BB5N9Nxtq00







