Pastelería LetyMilky Way Unwrapping Cell
SCADA 4.0
Firebase… --:--:--
Idle

Unwrap Success

--%
target ≥ 98%

Cycle Time

0.0s
target ≤ 12 s

Throughput

0/30m
target 360

Damaged / Shift

0u
limit < 10

OEE

--%
composite

Cycle time vs. 12 s limit, live from Firebase

AI Advisor, Gemini decision loop

Start the cell to begin the AI decision loop.

Operation sequence, 6-DOF xArm 6 cell

1
Infeed
Dispenser 2/lane · VFD conveyor
Conv 0% · bars 0
2
Cutting
Pneumatic seal break
Cuts 0
3
Inspection
Smart camera pass/fail
- · 99%
4
Unwrapping
Soft gripper peel-and-release
F/T 0 N
5
Dispatch
Outfeed · residue to bin
Out 0 · bin 0%

Robot & gripper

Robot state
idle
Gripper force
0 N
Force-torque
0 N
Error code
0

Quality & environment

Ambient temp
27°C
Rejected (vision)
0
Error rate
0.0%
Conveyor setpoint
60%

Five pillars of SCADA 4.0, output generated by Gemini from live Firebase data

1
Alarm Management
The Watchman
Groups repeated alarms and surfaces root cause so the operator only sees what matters.
Live outputNo active alarms.
2
Predictive Maintenance
The Mechanic
Forecasts gripper and cutter service before peel quality or seal-break degrade.
Live outputAwaiting data…
3
Setpoint Optimization
The Optimizer
Tunes conveyor speed against ambient temperature to hold ≥98% success and ≤12 s cycle.
Live outputAwaiting data…
4
Decision Support & HMI
The Coordinator
Turns AI advice into a single SOP instruction for the cell operator.
Current SOPStandby.
5
Anomaly & Security
The Watchman
Baselines cycle time and force-torque to flag obstructions and abnormal access instantly.
Live outputBaseline nominal.

Live integration

This file reads and writes /lety on a Realtime Database and sends the live JSON to Gemini using different prompts. If Gemini is unreachable, a local rule engine fills in so the demo never stalls. The active source is shown on the Overview AI panel.

Active alarms, grouped by root cause (Pillar 1)

SeveritySourceMessageCountLast seen
No alarms. System nominal.

Schokoladig · Team 2, Automation of Manufacturing Systems

C
Team member
Carlos Carrillo Rosa Lopes
A01637350
D
Team member
David Alexander Treviño Zertuche
A00839472
M
Team member
Jesús Moisés Zacarías Hernández
A00839768
R
Team member
Rebeca Lara Cortés
A01659574

SMART targets driving the AI

98% unwrap success · cycle ≤ 12 s · 2 bars per cycle · < 10 damaged units per 12-hour shift · error < 2% · 360 units / 30 min · 20% payroll reduction · 1-year ROI · ambient 21–26 °C (28 °C extreme). Master PLC Siemens S7-1200 over Modbus TCP to the UFACTORY xArm 6 slave, behind a SCALANCE XB005 star network.