Traduciendo...
4222

Requested target position is not allowed (master axis)

Beckhoff · TwinCAT 2 NC

¿Qué significa 4222 ?

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.

Causas comunes

  • Commanded target position (e.g., X-coordinate in G-code) is outside the configured software limit switch range (e.g., P6-01 'SoftLimitMin', P6-02 'SoftLimitMax').
  • Incorrect offset (e.g., G54 workpiece offset) applied to the target position in the NC program or PLC logic.
  • Axis home position (reference point) is incorrectly set, shifting the entire working range of the axis.
  • Units mismatch between the NC program and the axis configuration, leading to an out-of-range calculation.
  • Configuration corruption of the software limit parameters, causing invalid range definitions.

Pasos de reparación & Lista de verificación

Haga clic en los pasos para seguir su progreso.

  1. 1

    1. Review the NC program or PLC command for the requested target position and adjust it to be within the axis's defined software limits.

  2. 2

    2. Verify and adjust the software limit parameters P6-01 ('SoftLimitMin') and P6-02 ('SoftLimitMax') for the affected master axis.

  3. 3

    3. Re-home the master axis (e.g., using a G74 command) to ensure the reference point is correctly established.

  4. 4

    4. Check for any active offsets (e.g., G54 workpiece coordinate system offset) that might be shifting the commanded position.

  5. 5

    5. Confirm the axis scaling factor P4-10 ('ScaleFactor') and units (G20/G21) are consistent between the program and configuration.

Ver todos los códigos en este manual (60)
Datos técnicos verificados. Última actualización: March 2026

Fallas relacionadas