Tape dispenser automation
Couldn't load pickup availability
Description
The FB_BandVorschubSchneiden function block controls the automatic advance of cardboard layers and precise cutting. It monitors emergency stops, tape and cutter status, reports faults via the status text, and counts completed cycles. The code is written in SCL and can be used directly in the 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
-
Fault (
Stop=TRUE
∨BandOK=FALSE
∨AbschneiderOK=FALSE
):MotorVorschub=FALSE
,Schneiden=FALSE
,Alarm=TRUE
,Fehler=TRUE
,Schritt=0
,StatusText=“Störung: Band leer oder Abschneiderfehler”
,RETURN
-
Start (edge
Start FALSE→TRUE
∧KartonErkannt=TRUE
): →Schritt=1
-
Step 1 (Feed) : TON timer (PT=
VorschubZeit
) starts,MotorVorschub=TRUE
; after expiration →MotorVorschub=FALSE
,Schritt=2
-
Step 2 (Cutting) : TON timer (PT=T#1 s) starts,
Schneiden=TRUE
; after expiration →Schneiden=FALSE
,Zaehler++
,StatusText=“Zyklus abgeschlossen”
,Schritt=0
-
Acknowledge (
Quittieren=TRUE
):Alarm=FALSE
,Fehler=FALSE
,StatusText=“Bereit”
Technical details
- Inputs : Stop, Tape OK, Cutter OK, Start, Carton Detected, Acknowledge
- Outputs : Motor feed, cutting, alarm, error, status text, counter
-
Timer : TON PT=
VorschubZeit
, TON PT=T#1 s -
Control : INT variable
Schritt
in IF/CASE logic with edge detection; RETURN in case of error
Possible applications
Automated packaging and cartoning systems, retrofitting of existing lines as well as training and demonstration setups for cyclic PLC controls.
compatibility
Siemens S7-1200/S7-1500, TIA Portal V13 and higher (for HMI/PLCSIM we recommend V16+).
Scope of delivery
.scl
file with all declarations, timer instances, state transitions, and feedback parameters, as well as brief documentation on the version, author, and customization instructions. Download link available immediately after purchase.
Support
Adjustment of the time parameters, integration of additional sensors, expansion with HMI layouts or individual automation integration – via shop message or email.