42EF

Axis is locked for motion commands

Beckhoff · TwinCAT 2 NC

What does 42EF mean?

The axis or group is currently in a locked state, preventing the execution of new motion commands, because a `MC_Stop` command is still actively processing. This safety interlock ensures that an initiated stop sequence completes fully before any new motion is permitted, preventing unintended or hazardous movements.

Complete Troubleshooting Guide

  1. 1

    Call the `MC_Stop` function block with the `Execute` input set to `FALSE` to explicitly release the active stop command.

  2. 2

    Alternatively, use the `MC_Reset` function block (from the `TcMC2.Lib`) to clear all active commands and faults, unlocking the axis.

  3. 3

    Review the PLC logic to ensure that `MC_Stop` commands are properly reset or acknowledged after their intended use.

  4. 4

    Verify no other conditions are holding the axis in a locked state.