Commit Graph

1035 Commits

Author SHA1 Message Date
Douglas Clowes
a87c8149db complete rewrite
r2589 | dcl | 2008-05-29 14:50:16 +1000 (Thu, 29 May 2008) | 2 lines
2012-11-15 13:37:28 +11:00
Douglas Clowes
cf5d570a52 update nhq driver and add koala instrument
r2588 | dcl | 2008-05-29 14:49:59 +1000 (Thu, 29 May 2008) | 2 lines
2012-11-15 13:37:24 +11:00
Douglas Clowes
34f7139ebc add timer value to event trace
r2587 | dcl | 2008-05-29 14:49:26 +1000 (Thu, 29 May 2008) | 2 lines
2012-11-15 13:37:20 +11:00
Douglas Clowes
e20d3f0f63 remove old nhq driver
r2586 | dcl | 2008-05-29 14:48:48 +1000 (Thu, 29 May 2008) | 2 lines
2012-11-15 13:37:16 +11:00
Douglas Clowes
c12595c6a4 Access to current timer from callback and to time value
r2585 | dcl | 2008-05-29 14:47:52 +1000 (Thu, 29 May 2008) | 2 lines
2012-11-15 13:37:12 +11:00
Douglas Clowes
63cd8f3ea3 Add compiler option for C99 std
r2524 | dcl | 2008-05-12 11:09:19 +1000 (Mon, 12 May 2008) | 2 lines
2012-11-15 13:37:09 +11:00
Douglas Clowes
1087dcf7ce Implement SC (stop code)
r2523 | dcl | 2008-05-12 11:08:15 +1000 (Mon, 12 May 2008) | 2 lines
2012-11-15 13:37:05 +11:00
Douglas Clowes
fba2b55fb9 Adjust sx,sy homes
r2522 | dcl | 2008-05-12 11:06:54 +1000 (Mon, 12 May 2008) | 2 lines
2012-11-15 13:37:01 +11:00
Douglas Clowes
e235fd85cc Adjust limits to reflect reality
r2521 | dcl | 2008-05-12 11:06:18 +1000 (Mon, 12 May 2008) | 2 lines
2012-11-15 13:36:57 +11:00
Douglas Clowes
445a332370 Set Motor status to HWBusy in State_Unknown
Discard outstanding message response on entering State_Unknown (timing window)
Don't break if it times out while waiting
Defer various faults until motor has stopped
Rename absenc to absencoder in list command (if has encoder)
Modify absenc to report integer encoder value
Allow manager to set various sensitive values in motor debug mode
Make motor "reset" command wait until motor reinitialised (timing window)

r2520 | dcl | 2008-05-12 11:05:35 +1000 (Mon, 12 May 2008) | 9 lines
2012-11-15 13:36:53 +11:00
Douglas Clowes
2a469d6b89 Dan's changes for small sample Z stage (temporary)
r2510 | dcl | 2008-05-08 16:50:32 +1000 (Thu, 08 May 2008) | 2 lines
2012-11-15 13:36:49 +11:00
Douglas Clowes
3076fccac3 change speeds add focussing motors
r2509 | dcl | 2008-05-08 16:50:04 +1000 (Thu, 08 May 2008) | 2 lines
2012-11-15 13:36:45 +11:00
Douglas Clowes
b5d157c67a incorporate Dan's change to resolver code
r2508 | dcl | 2008-05-08 16:48:32 +1000 (Thu, 08 May 2008) | 2 lines
2012-11-15 13:36:41 +11:00
Douglas Clowes
f7d9d06484 implement motor "trace_switches" command
r2507 | dcl | 2008-05-08 16:47:34 +1000 (Thu, 08 May 2008) | 2 lines
2012-11-15 13:36:37 +11:00
Douglas Clowes
c7794c4092 Speed up the idle slow poll timer to make it more responsive to changes in position while idle.
r2506 | dcl | 2008-05-07 10:19:26 +1000 (Wed, 07 May 2008) | 2 lines
2012-11-15 13:36:33 +11:00
Douglas Clowes
a143b9905e Change state transition on limit switch event to ensure that motor is stopped before turning it off.
r2505 | dcl | 2008-05-07 10:14:28 +1000 (Wed, 07 May 2008) | 2 lines
2012-11-15 13:36:29 +11:00
Douglas Clowes
0e4be397d5 Rework to make more like updated Echidna and Wombat programs
r2495 | dcl | 2008-04-30 11:57:55 +1000 (Wed, 30 Apr 2008) | 2 lines
2012-11-15 13:36:25 +11:00
Douglas Clowes
fe682b39ac Change over to Quokka SIS PLC address
r2494 | dcl | 2008-04-30 11:57:08 +1000 (Wed, 30 Apr 2008) | 2 lines
2012-11-15 13:36:21 +11:00
Douglas Clowes
8ced552998 Change comments
r2493 | dcl | 2008-04-30 11:56:22 +1000 (Wed, 30 Apr 2008) | 2 lines
2012-11-15 13:36:17 +11:00
Douglas Clowes
d5db9de5a6 Change over to Platypus SIS PLC address
r2492 | dcl | 2008-04-30 11:55:37 +1000 (Wed, 30 Apr 2008) | 2 lines
2012-11-15 13:36:13 +11:00
Douglas Clowes
c44ad5a097 Remove serialsinq
r2487 | dcl | 2008-04-24 12:12:47 +1000 (Thu, 24 Apr 2008) | 2 lines
2012-11-15 13:36:09 +11:00
Douglas Clowes
0937bc2ba2 Handle simulated PLC
r2486 | dcl | 2008-04-24 12:11:51 +1000 (Thu, 24 Apr 2008) | 2 lines
2012-11-15 13:36:06 +11:00
Douglas Clowes
1eda12ffb6 Change sphi home position after running it off the end of the screw with Nan and broken limit switch.
r2485 | dcl | 2008-04-24 12:11:01 +1000 (Thu, 24 Apr 2008) | 2 lines
2012-11-15 13:36:02 +11:00
Douglas Clowes
a9d493382f Fix Chopper IP address
r2484 | dcl | 2008-04-24 12:10:00 +1000 (Thu, 24 Apr 2008) | 2 lines
2012-11-15 13:35:58 +11:00
Douglas Clowes
b8711e9bc4 Motor Off Delay is in milliSeconds
r2483 | dcl | 2008-04-24 12:09:25 +1000 (Thu, 24 Apr 2008) | 2 lines
2012-11-15 13:35:54 +11:00
Douglas Clowes
355cd532cf Improved logging for motion characterisation of motors.
Reject NaN and Infinity in run command.
Change error message for both limit switches active.
Check status of BG command in case it failed.

r2482 | dcl | 2008-04-24 12:08:03 +1000 (Thu, 24 Apr 2008) | 5 lines
2012-11-15 13:35:50 +11:00
Douglas Clowes
9cd5f72c1a Another attempt to reduce "OK" flooding of the log file.
r2481 | dcl | 2008-04-24 12:05:24 +1000 (Thu, 24 Apr 2008) | 2 lines
2012-11-15 13:35:46 +11:00
Douglas Clowes
fd0ab1a3b5 Update to version on controller - adjust comments
r2457 | dcl | 2008-04-16 10:57:40 +1000 (Wed, 16 Apr 2008) | 2 lines
2012-11-15 13:35:42 +11:00
Douglas Clowes
1c86cbc665 Update to version on controller - remove comment text on end of line
r2456 | dcl | 2008-04-16 10:57:21 +1000 (Wed, 16 Apr 2008) | 2 lines
2012-11-15 13:35:39 +11:00
Douglas Clowes
bdf5e24cc0 Remove extraconfig
r2453 | dcl | 2008-04-14 13:53:40 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:35 +11:00
Douglas Clowes
6009f273c8 Add two theta virtual motor
r2452 | dcl | 2008-04-14 13:53:18 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:31 +11:00
Douglas Clowes
4562daf398 Implement changes made on instrument during commissioning
r2451 | dcl | 2008-04-14 13:51:07 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:27 +11:00
Douglas Clowes
76e63de5a3 adjustments to timings
r2433 | dcl | 2008-04-14 10:30:07 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:23 +11:00
Douglas Clowes
4b17ca99da Bring into line with changes made on Echidna and Wombat
r2432 | dcl | 2008-04-14 10:28:07 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:19 +11:00
Douglas Clowes
03394dcc9e tweak sz configuration
r2431 | dcl | 2008-04-14 09:51:48 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:15 +11:00
Douglas Clowes
7220f040ef wait for motion to complete before turning air and motor off (was crashing thread 0)
r2430 | dcl | 2008-04-14 09:50:38 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:11 +11:00
Douglas Clowes
32c2af1c6f remove superfluous semicolon (empty body of if statement)
r2429 | dcl | 2008-04-14 09:48:31 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:07 +11:00
Douglas Clowes
f6892bbab3 fix memory leak (but only on malloc path)
r2428 | dcl | 2008-04-14 09:47:50 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:03 +11:00
Douglas Clowes
d34b441f14 fix signed mismatch compiler diagnostic
r2427 | dcl | 2008-04-14 09:46:32 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:35:00 +11:00
Douglas Clowes
cc845c6723 fix format/type mismatch in sprintf compiler diagnostic
r2426 | dcl | 2008-04-14 09:45:51 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:56 +11:00
Douglas Clowes
b12fff759a add -Wextra -std=gnu99 -Wno-unused compiler flags
r2425 | dcl | 2008-04-14 09:42:15 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:52 +11:00
Douglas Clowes
20eeefae96 remove unused code
r2424 | dcl | 2008-04-14 09:39:26 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:48 +11:00
Douglas Clowes
a0c6945bb6 implement settle timer on creep positioning
detect position overrun error and stop runaway motor
implement deferred fault reporting until after motor stopped
save and report timer period in debug output (DMC_SetTimer)
handle leading '-' on numeric galil response
more comment documentation
remove unused variables

r2423 | dcl | 2008-04-14 09:38:41 +1000 (Mon, 14 Apr 2008) | 8 lines
2012-11-15 13:34:44 +11:00
Douglas Clowes
149d825a3a remove unused variables
r2422 | dcl | 2008-04-14 09:23:13 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:40 +11:00
Douglas Clowes
6e49b1e6c1 dereference pointer
r2421 | dcl | 2008-04-14 09:20:48 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:36 +11:00
Douglas Clowes
99409fa8c3 remove unused variable
r2420 | dcl | 2008-04-14 09:20:01 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:33 +11:00
Douglas Clowes
38b588cc47 suppress sign mismatch compiler diagnostic
r2419 | dcl | 2008-04-14 09:19:12 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:29 +11:00
Douglas Clowes
d2564a7838 suppress "not used" diagnostics, remove serialsinq
r2418 | dcl | 2008-04-14 08:41:08 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:25 +11:00
Douglas Clowes
46d79274a5 fix missing pointer dereferences, change SerialError to getRS232Error
r2417 | dcl | 2008-04-14 08:40:07 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:21 +11:00
Douglas Clowes
0427d9acea fix missing return, change SerialError to getRS232Error
r2416 | dcl | 2008-04-14 08:39:00 +1000 (Mon, 14 Apr 2008) | 2 lines
2012-11-15 13:34:17 +11:00