.

Release Notes: CODESYS SoftMotion 4.20.2.0

Key Issue Type Summary Resolution Note
SM-6363 Bug

CLONE - SM3_Drive_ETC: Division by zero after 2^32 cycles after wCommunicationState 80 has been reached

Fixed [[GENERAL]]
When an application with an EtherCAT drive is running for a long period, with the drive being in state operation enabled for the whole time, a division by zero exception may occur in the SoftMotion EtherCAT base driver.
For example, if the bus task interval is 1 ms, the exception occurs after ca. 49 days. For longer bus task intervalls, the duration until the exception occurs is proportionally longer.
The only known workarounds are to call SMC3_ReinitDrive on the drives or restart the application (reset warm/cold) before this period has elapsed.
This accident has been introduced with SoftMotion 4.17.0.0.