Test bench for electric motors
Couldn't load pickup availability
Description
This SCL function block, FB_Motorteststand, performs automated test sequences for motors. It integrates emergency stop, overtemperature, and overcurrent protection, offers various test profiles, and controls idle and load phases. The HMI text provides constant information about the current status.
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
Check fault: Emergency stop active OR Temp > 80 °C OR Current > 20 A → Motor & load off, alarm on, phase = 0, HMI "ABORT: FAULT", RETURN
- Select test profile (TestProfile):
- 1 = 5 s idle (engine without load)
- 2 = 15 s idle + load test
- 3 = 30 s continuous load
- Phase sequence using CASE structure:
- Phase 0: Waiting for start
- Phase 1: Motor without load for 5 s (TON timer)
- Phase 2: Motor with/without load according to profile for profile duration
- Phase 3: Motor & load off, HMI “TEST END – READY FOR RESET”
- Reset → Phase = 0, HMI “READY”
Technical details
• Inputs: Emergency Stop (BOOL), Temp (REAL), Current (REAL), Test Profile (INT), Start (BOOL), Reset (BOOL)
• Outputs: Motor_ON (BOOL), Load_ON (BOOL), Alarm (BOOL), Phase (INT), StatusText (STRING)
• ON-TON timer for the fixed 5 s idle and variable load runtimes
• CASE logic for profile and phase control
• RETURN in case of security violations immediately stops all actions
Possible applications
• Test benches in engine development and production
• Automated quality tests of drive systems
• Training and laboratory environments for PLC-controlled test sequences
compatibility
Siemens S7-1200 & S7-1500; TIA Portal ≥ V13 (recommended V16+ for PLCSIM & HMI)
Scope of delivery
.scl file with input/output declarations, timer instances, CASE structure, and header comments; download link available immediately after purchase
Support
Customization of test profiles, limit values, additional measured values or HMI visualization on request via shop message or email.