Technosoft drives are able to automatically sent the status to a host device when one or more conditions are met. The steps required to enable this feature from TML_lib Motion libraries are:
- Set the address of the master and the conditions that trigger the messages transmission. This is done with TS_SendDataToHost function.
- Register the callback function executed when the unrequested message is received using the TS_RegisterHandlerForUnreguestedDriveMessages.
- Call periodically TS_CheckForUnrequestedMessages function to check if an unrequested message was received.