Speed monitoring
Couldn't load pickup availability
Description
The FB_Speed_Monitoring function block monitors a pulse frequency (e.g., from a speed sensor) and compares it with a specified setpoint ( #Setpoint
). The status is output via realistic contact mapping (normally closed contact #NO_13_14
, normally open contact #NC_21_22
), with virtual inputs ( #Input_13
, #Input_21
) acting as enable signals. The block recognizes reset and deactivation states and offers clear OK/alarm behavior.
Note: This logic is designed as a template. Before productive use, it must be integrated, tested, and approved by qualified personnel. Incorrect integration may result in incorrect status display or unexpected control behavior.
How it works
Reset
When #Reset
is set, the block is put into a defined basic state: Normally closed contact is open (no run), normally open contact is closed (warning/alarm), status shows “Reset”.
Disabled
If #Enable
is not active, both contacts remain inactive. The module does not report any errors and displays a neutral state.
Speed rating
The measured pulse frequency ( #PulseFreq
) is compared with the setpoint ( #Setpoint
). If it is greater than or equal to the setpoint, the condition is considered OK ( #rpmOK
= TRUE).
Contact logic
The outputs follow the evaluation result taking into account the release inputs:
-
#NO_13_14
(normally closed) is active if#Input_13
is set and the speed ≥ setpoint. -
#NC_21_22
(normally open) is active when#Input_21
is set and the speed is < setpoint (inverted).
The status is set to OK, errors are reset.
Technical details
-
Inputs:
#Enable
,#Reset
,#PulseFreq
,#Setpoint
,#Input_13
,#Input_21
-
Internal state:
#rpmOK
– TRUE if actual frequency ≥ setpoint -
Outputs:
#NO_13_14
(open contact when OK),#NC_21_22
(close contact when undershot) -
Status & Diagnosis:
#Error
,#Status
,#DiagnosticCode
- Modes: Reset, Disabled, Normal Operation
- Logic: Comparison of actual vs. setpoint with conditional contact release
Possible applications
- Speed monitoring of motors, conveyor belts or rotating axes
- Early detection of underspeed as an indication of blockage, idling or mechanical faults
- Integration into control and safety systems for status feedback
- Testing and validating logic via virtual inputs without direct influence on actuators
Note: A complete technical inspection and approval by qualified personnel is required before productive use.
compatibility
- Can be used in PLC systems with SCL support (e.g. Siemens TIA Portal)
- Modular integration into higher-level control, diagnostic and safety architectures
- Safe basic state when deactivated
- Virtual inputs enable preparatory tests without real sensors
Scope of delivery
You will receive:
- An SCL file with implemented function block FB_Drehzahlueberwachung
- Complete declaration of all inputs/outputs and internal states
- Commented structure for quick adaptation
- Quick guide to integration into automation projects
The download link will be provided after purchase.
Support
I am happy to support you with:
- Adjustment of setpoint and logic
- Integration into higher-level control and alarm chains
- Simulation and pre-validation without real speed deviations
- Individual extensions for special applications
Contact is possible via shop message or email. Extensions are available as optional customizations.