Power monitoring
Couldn't load pickup availability
Description
This program section enables adaptive current monitoring, in which the highest current values are recorded over ten clock cycles during a calibration phase and an average value is calculated from this as a reference limit.
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
Start calibration
Simultaneous edges at Impuls_Rezeptwechsel
and Impuls_Produkterkennung
set Startmessung
, reset the counter and deactivate monitoring and WerteErfasst
.
Value capture
During each active Takt_Impuls
the highest current value is stored in Maxwert_Takt
.
Write to the array
If the clock edge falls, Startmessung
is active, less than ten values have been acquired and there is no idle signal, Maxwert_Takt
is written to MaxStrom_Werte
, the counter is incremented and Maxwert_Takt
is reset.
Calculating the average
After ten values have been saved, the average of all entries is calculated and set as the limit. Then Startmessung
ends, ÜberwachungAktiv
, and WerteErfasst
are activated.
Monitoring phase
The current current value is compared with the limit value. If the limit is exceeded, a TON timer ( Ueberschreitung_Zeit
) starts. If it expires without the current decreasing, Fehler_Motorblockade
is activated. If the current decreases, the timer stops and the error is cleared.
Error reset
Reset_Fehler
clears the error status and resets the timer so that a new monitoring can start.
Technical details
-
Inputs/Variables:
Impuls_Rezeptwechsel
,Impuls_Produkterkennung
,Takt_Impuls
,Stromwert_Aktuell
,E_Leerlauf
,Reset_Fehler
,Ueberschreitung_Zeit
-
Flags/Counter:
StartImpuls_Erkannt
,Startmessung
,ÜberwachungAktiv
,WerteErfasst
,Zaehler_Stromwerte
,Takt_Impuls_Alt
-
Array:
MaxStrom_Werte
for ten calibration values -
Output:
Fehler_Motorblockade
-
Timer: TON time module
Zeitzaehler
with adjustable running time
Possible applications
- Protection against overload and blockages in motors and pumps
- Monitoring of conveyor systems and drives with variable load
- Condition-based alarming in test benches or production lines
compatibility
- Siemens S7‑1200 & S7‑1500 controllers
- Compatible with TIA Portal from version V13
- Recommended: TIA Portal V16+ for PLCSIM & HMI
Scope of delivery
Included is an SCL file with De