Requested target position is not allowed (master axis)
Beckhoff · TwinCAT 2 NC
What does 4222 mean?
The target position requested for a positioning task on the master axis falls outside the configured software end locations (either below the minimum or above the maximum). This error occurs only when software end position monitoring is active, indicating a command that would drive the axis beyond its safe virtual limits, potentially causing mechanical damage.
Complete Troubleshooting Guide
- 1
Verify that the commanded target position for the master axis is strictly within the configured software end locations (min and max).
- 2
Adjust the target position in the motion program or PLC logic to stay within the safe range.
- 3
If mechanical limits allow, consider adjusting the software end location parameters, but only after careful consideration of safety.
- 4
Disable software end location monitoring temporarily for diagnostics, but reactivate immediately after.