
axismd.ai
Heidenhain Controller
Program/G-code · Intermediate · 30-120 minutes
HEIDENHAIN 2D4-0000 - Start of Python script "" failed
Alarm 2D4-0000 occurs when the TNC control cannot establish proper communication with the PLC to execute a Python script. This typically indicates PLC communication interface failures, incorrect Python script configuration in machine parameters, or missing Python runtime environment setup.
HEIDENHAIN 2D4-0000 - Start of Python script "" failed
Start of Python script "" failed
The control failed to start a Python script due to communication issues with the PLC. This prevents execution of scripts that rely on PLC data or functionality.
Root Cause Summary
Alarm 2D4-0000 occurs when the TNC control cannot establish proper communication with the PLC to execute a Python script. This typically indicates PLC communication interface failures, incorrect Python script configuration in machine parameters, or missing Python runtime environment setup.
Safety
Causes and Fixes
Check PLC Connection Status
Navigate to MOD function → System Info → PLC Status to verify PLC communication state and connection parameters.
Look for 'PLC Ready' status indicator - anything else indicates communication issues
Verify Network Configuration
Access Setup → General → Network Settings and confirm PLC IP address, subnet mask, and gateway settings match your PLC configuration.
Document current settings before making changes
Test PLC Ping Response
Use Setup → Service → Network Diagnostics to ping the PLC IP address and verify physical network connectivity.
Response times over 10ms may indicate network congestion affecting script startup
Restart Communication Services
Execute MOD function → Reset → Communication Reset to reinitialize PLC communication interface without full system restart.
Call a technician if:
Prevention
Common Mistakes
Seeing Multiple Alarms?
Seeing another alarm with this one? Enter the code.
AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.
Start freeWas this guide helpful?
Always verify with your machine manual or a certified technician before performing service procedures.