Description
You're looking for an SCL function block that automatically regulates tire pressure within a range of 0 to 10 bar. It features a 4–20 mA sensor, vehicle detection, valve-based refilling/deflating, and integrated safety checks and status display. Ready for use in the Siemens TIA Portal.
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
- Emergency stop/stop button active → close all valves, print OK indicator off, set alarm
- Scale analog value 4–20 mA to 0–10 bar
- Measured value outside 0…10 bar → alarm and valve closure
- Vehicle detected + start button pressed → control starts
- Step 0: Check deviation > ± 0.2 bar from the setpoint
- Pressure too low → Open valve_OPEN
- Pressure too high → Open valve_AB
- Target range reached → close valves, pressure OK indicator on
- Vehicle leaves area → cycle back to step 0
Technical details
• Safety check via emergency stop/stop button with highest priority
• Linear print scaling (RAW 5520 … 26000)
• Two valve outputs (valve_UP, valve_DOWN)
• Status LED Print_OK_Display as TRUE/FALSE output
• FSM with four steps, no external timers required
• Errors due to sensor or scaling problems → immediate alarm and valve closure
Possible applications
• Workshop lines and test benches
• Vehicle maintenance facilities and mobile service units
• RIM machines and demonstration projects for sensor scaling and security concepts
compatibility
• Siemens S7-1200 & S7-1500
• TIA Portal V13 or higher; recommended V16+ with PLCSIM
Scope of delivery
• .scl file with declarations for inputs/outputs, print scaling, FSM steps and flags
• Immediate download link after purchase
Support
I can help you adjust the pressure ranges, connect to your control system, or add HMI extensions. Feel free to contact me anytime via email or shop support.