# ID 44015

FB error: order not allowed, because axis is in state HOMING.
Description | A job is to be sent via an FB to the motion controller. The commanded FB also sets the “Error” output to TRUE and displays this error code at the output “ErrorID” in the same PLC cycle, because the axis already works off an order from an MC_Home instance and therefore is in state Homing .
Response | Class | - | The order is dismissed by the FB and not issued to the motion controller.
Solution | Class | - | In general, there are two possibilities to handle the situation:

1. wait until the job is finished, then transfer the axis into the state Standstill .
2. homing is aborted by a job to a MC_STOP.

Afterwards, it’s possible to reassign the FB that notified the error code.

Error type | -