You are here:
Print

A host application that sends the trajectory as PVT points to a Technosoft drive has to implement the following steps:

  1. create the callback function that will handle messages with PVT status sent automatically by the drive. The drive will send the PVT status when the buffer is full, low or empty.
  2. register the callback function with TML_lib using TS_RegisterHandlerForUnrequestedDriveMessages
  3. configure the PVT mode with TS_PVTSetup
  4. send PVT points with TS_SendPVTPoint function and fill the PVT buffer
  5. send a final PVT point and activate the PVT mode with TS_SendPVTFirstPoint

Once TS_SendPVTFirstPoint is executed the drive will start to execute the PVT points from the buffer allowing the host application to send new points which will be stored in the PVT buffer.

Remark: By default the PVT buffer can store up to 7 points. The buffer size can be adjusted with PVTBUFLEN variable before starting the PVT profile.