Skip to product information
1 of 1

Automatic calibration system

Regular price €4,90 EUR
Regular price Sale price €4,90 EUR
Sale Sold out

Description
This SCL function block, FB_CalibrationAutomatic, performs automatic calibration in six steps. Each step compares an actual value with the respective setpoint within a percentage tolerance. Runnable directly in the Siemens TIA Portal, it reliably automates measurement and calibration tasks.

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

  1. Stop signal active → Calibrator off, set error flag, result “ABORTED”, RETURN
  2. Start pressed + StepIndex 0…5 → Calibrator active
  3. Per step: Start 5-second timer
  4. Timer expired → Load setpoint from array, Δ = |Actual value – setpoint|/setpoint·100%
  5. Δ ≤ Tolerance → Result “Sx OK”; otherwise set error flag, result “Sx ERROR”
  6. StepIndex++
  7. After step index >5 → Calibrator off, if no errors occur the result is “CALIBRATED”

Technical details
• Inputs/Variables: Stop, Start, StepIndex (INT), Actual value (REAL), Setpoints[0..5] (REAL array), Tolerance (REAL, %)
• Outputs/Variables: CalibratorActive (BOOL), Error (BOOL), Result (STRING), CurrentStep (INT)
• Timer: TON instance TimerWait (PT=T#5s) for waiting phases
• Flow control via CASE structure, RETURN at stop

Possible applications
• Automated calibration in laboratory and production lines
• Alignment of sensors and measuring devices
• Calibration cycles in filling and dosing systems
• Training and demonstration projects

compatibility
• Siemens S7-1200 & S7-1500
• TIA Portal V13 or higher; recommended V16+ for PLCSIM & HMI

Scope of delivery
• .scl file with declaration of all inputs/outputs, timer instance, variables, CASE logic and comments
• Download link directly after purchase

Support
I can adjust setpoint arrays, tolerance parameters, or additional calibration steps, and I can provide support with HMI layouts. Get in touch via shop message or email.