Dear all,
developing a program in c# for a T500 based on the TicDotNet and LibUsbDotNet libaries.
Connection via USB, no serial or whatsoever.
Currently the command chain for accessing/starting the T500 is:
- open connection to device
- reinitialize
- energize
- clear_driver_error
- wait_for_device_ready
- reset_command_timeout
for disconnecting:
- reset_command_timeout
- deenergize
- close connection
I want to understand what would be best practice to establish/open a connection to the TIC.
Is above okay, too much or something missing? Same for disconnect.
Secondly I often get position uncertain flags which prevent me from using the controller / stepper as a device able to provide absolut positioning. Especially after above mentioned disconnect command and removing the Tic from USB and power. Do I miss something on the disconnect routine?
I though the Tic is storing the last position in memory even when no power supply or USB is connected.
Thanks in advance for clarification,
Alex