Motion / Home / Timeout
You can also enable a Timeout for the Home command. If the timeout expires before the homing operation is complete, the motor will stop and the Homing Failed flag will become true. You can monitor this flag using the Get Motor Status Flag block. You can use an unsigned variable or constant value in milliseconds for the Timeout preset. By default, the Home command will use the positive direction to run the motor; if you know that based upon the current conditions of the axis that you need to run in the negative direction (in the direction of decreasing axis units), you can check the Negative Dir check box to cause the motor to do this. |