DEIMOS Galil Controller Reset Procedure | |
BackgroundThere are two ways to reset the Galil controller: automatically or manually. Both methods require that you be able to communicate with the Galil controller through the Lantronix terminal server. If attempts to communicate with the controller result in an error like this:[1009] kics@keamano% telnet 192.168.6.4 3005 Trying 192.168.6.4... telnet: Unable to connect to remote host: Connection refusedand the command ctx (executed as dmoseng in polo) shows an error message in the dispatcher2 prcesses listed under "Current KEAMANO tasks", then you should first complete the procedure for resetting the Lantronix port before attempting to reset the Galil controller. Please, review the stage chart for Galil controllers to determine which Galil to reset. Also remember that all motor stages controlled by the reset Galil should be reinitialized after the Galil has been reset. Manual ProcedureFollow these steps to attempt a manual reset:
Automated ProcedureThe reset_motor_controller script will shut down the relevant dispatcher, connect to the Galil controller, reset the controller, terminate the connection, and restart the dispatcher. Follow these steps to use it:
Example Session of reset_motor_controller[1002] kics@keamano% reset_motor_controller 1 Are you sure you want to reset motor controller 1? (y/n) [n]: y -------------------- Stopping dispatcher2.1 -------------------- spawn sh $ deimos stop dispatcher2.1 -n Stopping dispatcher 1 ... deimos status dispatcher2.1 setting disp1mod = shutdown (wait) Error setting disp1mod: DEIMOS dispatcher: Dispatcher did not respond. See log files for further details. Sorry, it's not running normally % pid file says dispatcher2 -s deimot -n 1 should be 14009, but that's dead dispatcher2.1 is dead -------------------- Resetting controller 1 -------------------- spawn telnet 192.168.6.4 3005 Trying 192.168.6.4... Connected to 192.168.6.4. Escape character is '^]'. :ST ST :RS RS :arriba! Controller reset successful. ^] telnet> -------------------- Starting dispatcher2.1 -------------------- spawn sh $ deimos start dispatcher2.1 Starting dispatcher 1: Waiting for dispatcher to start... Dispatcher starting up on keamano.keck.hawaii.edu at 2010/06/10 09:04:55 as process 15561 with: KTL service name = deimot Dispatcher id = 1 Config directory = /local/kroot/data/deimot User config subdirectory = dyna Log directory = /local/kroot/var/log/dispatcher_logs Test mode = OFF Verbose mode = FALSE Dispatcher proc name = deimot_dispatch_1 (as reported to traffic) Dispatcher log file = deimot_dispatch_1_log.2010-06-10 Music log file = deimot_dispatch_1_musiclog.2010-06-10 Dispatcher log path = /local/kroot/var/log/dispatcher_logs/deimot_dispatch_1_log.2010-06-10 Music log path = /local/kroot/var/log/dispatcher_logs/deimot_dispatch_1_musiclog.2010-06-10 -------- $ deimos status dispatcher2.1 dispatcher2 -s deimot -n 1 is running on this host; pid = 15561 dispatcher2.1 restarted -------------------- Operation complete! -------------------- [1003] kics@keamano% deimos stop dispatcher2.1 -n Stopping dispatcher 1 ... setting disp1mod = shutdown (wait) Error setting disp1mod: DEIMOS dispatcher: Dispatcher did not respond. See log files for further details. Sorry, it's not running normally % pid file says dispatcher2 -s deimot -n 1 should be 15561, but that's dead -------- See Also | |
Last modified: 07/10/2020 05:20 Send questions or comments to:DEIMOS Support |