Automatic sorting system for mail
Couldn't load pickup availability
Description
You are looking for an SCL function block that controls an automatic mail sorting system with switch selection based on recognized codes. Safety functions immediately prevent all conveyor and switch movements in the event of an emergency stop or stop button. The sequence control runs in clearly defined steps and detects error conditions, triggers an alarm, and waits for acknowledgment.
Note: All modules are designed exclusively as a learning and optimization basis and are not approved for live operation. System modules, in particular, must be finally tested and commissioned by qualified personnel before productive use.
How it works
- Idle mode: Conveyor belt stops until start button is triggered
- PostRecognized: Belt running, control switches to code analysis
- Criterion A fulfilled: Activate switch A
- Criterion B fulfilled: Activate switch B
- No criterion: Activate residual line
- No code detected: Belt stops, error flag and alarm set until operator acknowledges
- After selection or confirmation: All switches off, ready for next mail item
Technical details
• Emergency stop and stop buttons check with priority and set all outputs to FALSE and alarm and error flags to TRUE
• Edge detection on the start button ensures a clean pulse to activate the belt
• State-based sequence control with integer step variables for detection, selection and reset phases
• Inputs: PostRecognized, CodeRecognized, CriterionA, CriterionB, ErrorAcknowledge
• Outputs: Conveyor Belt, Switch A, Switch B, Switch Rest, Status Active – all as clear TRUE/FALSE signals
Possible applications
• Post centers and parcel machines
• Industrial companies with code-based shipment sorting
• Automation and logistics courses to demonstrate FSM sorting logic
compatibility
• Runs on Siemens S7-1200 and S7-1500
• TIA Portal V13 or higher; V16+ recommended for PLCSIM and HMI integration
Scope of delivery
• .scl file with all input/output declarations, step variables and control logic
• Download link available immediately after purchase
Support
I can help you with additional sorting criteria, expansion to more switches, or integration with your control system. Feel free to contact me anytime via email or shop support.