Hello.
If you do not want to dynamically update the deceleration, one way to get the motor to halt might be to intentionally trigger a soft error response from your serial device and configure the soft error response (in th “Advanced settings” of the Tic Control Center) to “Halt and hold”. You can use the “Get variable” command to read the analog input pin or the target velocity and trigger a soft error response by driving the ERR pin high; see the “Error handling” section of the user’s guide for more details about the ERR pin.
Alternatively, reading the analog input with your serial device and using the serial interface to control the speed as I mentioned in your other thread would allow you to use the halt commands.
Brandon
