5.6. Correct shutdown

Correct shutdown assumes shutdown of the motor and saving the current position by the controller. The current position is automatically saved, see Saving the position in FRAM memory.

Exit button performs correct shutdown and exit. When you click it the application sends a soft stop command to the controller, and after the stop is complete, the application sends command of power-off. If execution of the soft stop command was interrupted by an event like a motion command from the joystick or signal of TTL synchronization, or if while sending of soft stop command or command of power off to the controller, the library returned an error, the exit will be canceled. In this case you need to check joystick settings and settings of “right” and “left” buttons and Synchronization settings.