PT100/1000 detection temperature monitoring
Couldn't load pickup availability
Description
The FB_Temperature Monitoring function block precisely converts the raw value of a resistance thermometer into degrees Celsius, reliably detects wire breaks or module errors, and monitors whether the measured temperature is within defined limits.
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
Conversion TempRawValue → Temperature_C
The incoming raw value ( TempRawValue
) is scaled linearly to the range –200 °C to +850 °C.
Sensor error / wire break
If ModulOK = FALSE
or TempRawValue = 27648
:
-
Fehler
= TRUE -
Temperatur_C
= –999.9 °C -
StatusText
= "Sensor error / wire break" -
UnterTemp
andÜberTemp
are reset
Limit value monitoring
If no error is present, the block checks:
- Temp < Tmin → “Temperature below limit”
- Temp > Tmax → “Temperature above limit”
- Temp in range → “Temperature in normal range”
Technical details
-
Inputs:
TempRawValue
(INT),ModulOK
(BOOL),Tmin
,Tmax
(REAL) -
Outputs:
Temperatur_C
(REAL),Fehler
,UnterTemp
,ÜberTemp
(BOOL),StatusText
(STRING) - Linear scaling of the measuring range (0…27648) to –200 °C…+850 °C
- Error checking via ModulOK flag and wire break value
- Limit value monitoring via IF queries
Possible applications
- Temperature monitoring in industrial plants
- Air conditioning, ventilation and heating systems
- Test benches, laboratory technology and automated measuring systems
- Applications with wire break detection and limit value monitoring
compatibility
- Siemens S7‑1200 & S7‑1500 controllers
- Developed for TIA Portal from version V13
- Recommended: TIA Portal V16+ for PLCSIM & HMI
Scope of delivery
You will receive the complete .scl
file with all declared inputs and outputs. Instructions for parameterizing the limit values and error logic are included. The download link will be provided immediately after purchase.
Support
I'm happy to assist you with adjusting temperature ranges, custom limit values, or expanding error diagnostics. I can also integrate the system into your HMI interface upon request.
Simply contact me via shop message or email.