XL2CL
4.101.0
8/21/2025

To debug an issue with enabling a Drive as part of a Mult-Axis jog request request from MODBUS some debug code was added. This debug code enables two inputs to allow the same driver method that MODBUS call to be called from the input task using two inputs. This simplifies the equipment required to simultate the environment required for testing.

I have been unable to duplicate the F37 Excessive Position Command Value Difference fault that has been occuring in the field. The fault seems to happen most often on the first drive enable or move after a power cycle. Once manually enabled, the drives seem to function correctly.

Under the theory that the drive is intermittently failing to remember the prior position command properly on a Power Cycle, the follwing change has been made.

While the drive is disabled, the Command Position is updated on everly cycle time with the current axis position, ensuring that there is no significan't jump when the drive gets enabled.

Home Sensor Detection has been an issue at times The Die direction is chosen based on the initial state of the home sensor and up until now, the search for the home sensor was based on its current state rather than the expected transition.

The problem this change solves is to better deal with home sensors that have a small position sensing window. If the Referencing Velocity is too high or the acceleration is too low, the die can coast beyond the sensor and turn back off. This violated an assumption that was critical to the Homing Algorithm operation.

For example, if the die was returning to the home sensor and the sensor turned ON, the die would stop. If the die coasted beyond the sensor, the next move to move forward off the sensor would terminate before any move took place, because the sensor was already OFF. The next move, looking for an ON would then reverse the die into the overtravel’s looking for an ON state that was never going to come.

Now that we have changed the routine to look for a specific transition, ON to OFF or OFF to ON, the prior example will no longer be a problem. The die will return home looking for an OFF to ON transition, which it will find. Even though the die has coasted beyond the sensor, when it moves forward it will be looking for an ON to OFF transition. It will move forward until it see the OFF to ON transition and continue moving until the ON to OFF transition occurs.

Higher Referencing speeds and lower accelerations may now be used, and the homing routine can still function correctly, provided the die does not coast into an overtravel.

There is a limit to this new method. The home sensor inputs are debounced at 20msec. In order for the new routine to work properly, when searching for the home sensor, the sensor must be ON or OFF for a minimum of 20msec or the transitions may not be sensed.

The E-Stop and the System Ready inputs (on an OL) are now required to Enable, Jog, Position, Reference to Home Switch ...etc. In addition, if the system loses the E-Stop or System Ready, the Multi-Axis drives will now also be disabled.

Two new options have been added to the MODBUS interface.

Requesting a Field Bus Reset will reset any present Field Bus, SERCOS or EtherCAT at the moment, back to its full operational state. Errors are cleared during the reset.

Requesting all Drives to be Disabled does what it says.

These options are available in MODBUS Version Level 1.30. More detailed documentation can be sources in the MODBUS Spec.