Commit Graph

178 Commits

Author SHA1 Message Date
Ferdi Franceschini
7c7b1ec7bb Using updated dmc2280_util functions.
You can now provide file name on command line.

r1100 | ffr | 2006-09-01 14:52:09 +1000 (Fri, 01 Sep 2006) | 3 lines
2012-11-15 12:46:50 +11:00
Ferdi Franceschini
1fb33a1d2e Added "setpos" method to motors
r1099 | ffr | 2006-09-01 14:46:44 +1000 (Fri, 01 Sep 2006) | 2 lines
2012-11-15 12:46:48 +11:00
Ferdi Franceschini
7bdd25b248 Add socket field to controller hash instead of using the 'channel' array.
r1098 | ffr | 2006-09-01 13:54:17 +1000 (Fri, 01 Sep 2006) | 2 lines
2012-11-15 12:46:45 +11:00
Ferdi Franceschini
07967e0201 Use controller name in sendCmd
r1097 | ffr | 2006-09-01 12:01:31 +1000 (Fri, 01 Sep 2006) | 2 lines
2012-11-15 12:46:43 +11:00
Ferdi Franceschini
f93257a068 Don't run slit homing routine on start.
Don't run homing routine if it has already been run.

r1096 | ffr | 2006-09-01 12:00:25 +1000 (Fri, 01 Sep 2006) | 3 lines
2012-11-15 12:46:41 +11:00
Ferdi Franceschini
19f1a18bb8 Call the slit homing routines for controllers 3 and 4
r1095 | ffr | 2006-08-31 16:31:19 +1000 (Thu, 31 Aug 2006) | 2 lines
2012-11-15 12:46:38 +11:00
Ferdi Franceschini
3f02061d09 Use dmc2280_util.tcl
r1094 | ffr | 2006-08-31 16:29:04 +1000 (Thu, 31 Aug 2006) | 2 lines
2012-11-15 12:46:36 +11:00
Ferdi Franceschini
ccd6337687 Provides connect, send and receive functions for DMC2280
r1093 | ffr | 2006-08-31 16:28:37 +1000 (Thu, 31 Aug 2006) | 2 lines
2012-11-15 12:46:34 +11:00
Ferdi Franceschini
ffd898cf16 Only allow managers to set hard limits and home position.
r1085 | ffr | 2006-08-27 15:43:51 +1000 (Sun, 27 Aug 2006) | 2 lines
2012-11-15 12:46:32 +11:00
Ferdi Franceschini
ba27774e4a Set limits to conservative ranges, safe speeds for [ms]tth.
r1084 | ffr | 2006-08-25 15:13:06 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:29 +11:00
Douglas Clowes
8b3816b612 Initial load of driver
r1083 | dcl | 2006-08-25 14:46:51 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:27 +11:00
Ferdi Franceschini
650db574c5 Read it
r1082 | ffr | 2006-08-25 12:49:28 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:24 +11:00
Ferdi Franceschini
c2fab0184b Run slits homing routine in #AUTO
r1081 | ffr | 2006-08-25 12:48:59 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:22 +11:00
Ferdi Franceschini
d10c726ccf Common SICS configuration and some utility functions
r1080 | ffr | 2006-08-25 12:44:09 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:20 +11:00
Ferdi Franceschini
e1dc2842d0 Troubleshooter, runs basic checks on motion control.
r1079 | ffr | 2006-08-25 12:39:50 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:17 +11:00
Ferdi Franceschini
d93db3605c Echidna setup for the troubleshooter
r1078 | ffr | 2006-08-25 12:37:17 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:15 +11:00
Ferdi Franceschini
c79681756e Configured mtth
r1077 | ffr | 2006-08-25 12:33:16 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:13 +11:00
Ferdi Franceschini
f2ca9eeb21 Keep the last error message.
r1076 | ffr | 2006-08-25 12:17:32 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:10 +11:00
Ferdi Franceschini
a78ca021e6 Explicitly handle the unknown error case in MonTryAndFixit
r1075 | ffr | 2006-08-25 12:16:23 +1000 (Fri, 25 Aug 2006) | 2 lines
2012-11-15 12:46:08 +11:00
Douglas Clowes
b2ce43d554 Largely comments and splint conformance
r1070 | dcl | 2006-08-21 09:47:25 +1000 (Mon, 21 Aug 2006) | 2 lines
2012-11-15 12:46:06 +11:00
Ferdi Franceschini
7660b67290 DMC2280 Controller programs for Echidna (HRPD)
r1059 | ffr | 2006-08-14 14:25:44 +1000 (Mon, 14 Aug 2006) | 2 lines
2012-11-15 12:46:03 +11:00
Ferdi Franceschini
ab368d47a7 Dynamically allocate errmsg buffer.
Don't overwrite errorcode from read char fn.

r1057 | ffr | 2006-08-10 16:50:39 +1000 (Thu, 10 Aug 2006) | 3 lines
2012-11-15 12:46:01 +11:00
Douglas Clowes
b61c088873 Update monitor response handling
r1056 | dcl | 2006-08-10 16:44:01 +1000 (Thu, 10 Aug 2006) | 2 lines
2012-11-15 12:45:59 +11:00
Ferdi Franceschini
fe3af60196 Handle incomplete reads.
r1055 | ffr | 2006-08-10 12:45:17 +1000 (Thu, 10 Aug 2006) | 2 lines
2012-11-15 12:45:56 +11:00
Ferdi Franceschini
d316f5950c Handle communications faults.
r1054 | ffr | 2006-08-10 12:00:11 +1000 (Thu, 10 Aug 2006) | 2 lines
2012-11-15 12:45:54 +11:00
Ferdi Franceschini
497fe0e060 Fixed null dereference in DMC2280Connect
r1053 | ffr | 2006-08-10 11:46:44 +1000 (Thu, 10 Aug 2006) | 2 lines
2012-11-15 12:45:52 +11:00
Douglas Clowes
2c0465c43a *** empty log message ***
r1052 | dcl | 2006-08-09 15:50:37 +1000 (Wed, 09 Aug 2006) | 2 lines
2012-11-15 12:45:49 +11:00
Ferdi Franceschini
1d84199194 Added FAILURE SUCCESS
r1051 | ffr | 2006-08-09 15:43:17 +1000 (Wed, 09 Aug 2006) | 2 lines
2012-11-15 12:45:47 +11:00
Douglas Clowes
4a7ba8a69b adjusting interaction with monitor - wip
r1050 | dcl | 2006-08-09 15:29:20 +1000 (Wed, 09 Aug 2006) | 2 lines
2012-11-15 12:45:45 +11:00
Douglas Clowes
bcc2cbaf57 sort of working
r1049 | dcl | 2006-08-09 12:03:55 +1000 (Wed, 09 Aug 2006) | 2 lines
2012-11-15 12:45:43 +11:00
Douglas Clowes
e516da7691 Handle input and status
r1048 | dcl | 2006-08-08 13:41:57 +1000 (Tue, 08 Aug 2006) | 2 lines
2012-11-15 12:45:40 +11:00
Ferdi Franceschini
3615c8d60b Return status so SICs doesn't segfault.
r1047 | ffr | 2006-08-08 13:25:35 +1000 (Tue, 08 Aug 2006) | 2 lines
2012-11-15 12:45:38 +11:00
Ferdi Franceschini
667c505bf7 Removed ref to dmc motor controller in the getParam error message.
r1043 | ffr | 2006-08-04 12:20:57 +1000 (Fri, 04 Aug 2006) | 2 lines
2012-11-15 12:45:36 +11:00
Ferdi Franceschini
c588e389aa Initialised get set and number of monitors in drivable interface.
r1042 | ffr | 2006-08-04 12:17:54 +1000 (Fri, 04 Aug 2006) | 2 lines
2012-11-15 12:45:34 +11:00
Ferdi Franceschini
dbc07ee639 Update from PSI
r1040 | ffr | 2006-08-03 10:05:34 +1000 (Thu, 03 Aug 2006) | 2 lines
2012-11-15 12:45:29 +11:00
Ferdi Franceschini
074f1cb3cd Update from PSI
r1039 | ffr | 2006-08-03 09:59:29 +1000 (Thu, 03 Aug 2006) | 2 lines
2012-11-15 12:45:27 +11:00
Douglas Clowes
4aa50787c2 Minor changes to casting self, implementation of Fix
r1038 | dcl | 2006-08-02 16:19:22 +1000 (Wed, 02 Aug 2006) | 2 lines
2012-11-15 12:45:24 +11:00
Ferdi Franceschini
3da52afb10 Added create drive command to site ansto
r1037 | ffr | 2006-08-01 17:03:00 +1000 (Tue, 01 Aug 2006) | 2 lines
2012-11-15 12:45:22 +11:00
Ferdi Franceschini
2fe58f2839 Added hipadaba modules.
r1036 | ffr | 2006-08-01 13:10:25 +1000 (Tue, 01 Aug 2006) | 2 lines
2012-11-15 12:45:19 +11:00
Ferdi Franceschini
69b09fe0fd Removed connection object reference from data structure, can't use it.
r1035 | ffr | 2006-08-01 13:09:41 +1000 (Tue, 01 Aug 2006) | 2 lines
2012-11-15 12:45:17 +11:00
Ferdi Franceschini
7d8657e41e Added MonConnect function and some documentation.
r1034 | ffr | 2006-08-01 13:08:23 +1000 (Tue, 01 Aug 2006) | 2 lines
2012-11-15 12:45:15 +11:00
Ferdi Franceschini
a7ebdff308 Created anstoutil to share the getParam function.
Modified motor_dmc2280 and counterdiv to use anstoutil

r1033 | ffr | 2006-07-25 16:48:14 +1000 (Tue, 25 Jul 2006) | 3 lines
2012-11-15 12:45:13 +11:00
Ferdi Franceschini
36f76e9486 Counter driver for beam monitor.
r1032 | ffr | 2006-07-25 09:56:47 +1000 (Tue, 25 Jul 2006) | 2 lines
2012-11-15 12:45:11 +11:00
Ferdi Franceschini
47d33657d9 Configured mono axes (except omega) and slit assembly 2 with rough values for home positions and with directions to match nexus coordinates. Encoder for mx wasn't working. Also set direction for som but abs enc wasn't working.
r1028 | ffr | 2006-07-13 14:54:57 +1000 (Thu, 13 Jul 2006) | 2 lines
2012-11-15 12:45:06 +11:00
Ferdi Franceschini
01e7397465 Skip ABCD axes for JG PR and DP commands.
r1027 | ffr | 2006-07-13 14:50:52 +1000 (Thu, 13 Jul 2006) | 2 lines
2012-11-15 12:45:04 +11:00
Ferdi Franceschini
6421ecfda7 New doxygen config
r1026 | ffr | 2006-07-13 14:49:00 +1000 (Thu, 13 Jul 2006) | 2 lines
2012-11-15 12:45:02 +11:00
Ferdi Franceschini
d72d0b9905 Now using tolerance to compensate for backlash instead of the CLSLOOP code.
Added convenience function to get acceleration and speed from the controller.

r1025 | ffr | 2006-07-13 14:46:41 +1000 (Thu, 13 Jul 2006) | 3 lines
2012-11-15 12:45:00 +11:00
Ferdi Franceschini
cb5b6e704e Added incflags target, this is useful for running code checkers like splint.
r1024 | ffr | 2006-06-22 09:22:41 +1000 (Thu, 22 Jun 2006) | 2 lines
2012-11-15 12:44:57 +11:00
Ferdi Franceschini
400871d6da Save power by switching motors off after a move, controlled by the nopowersave parameter.
Don't resend move command if motor is busy.

r1023 | ffr | 2006-06-22 09:20:43 +1000 (Thu, 22 Jun 2006) | 3 lines
2012-11-15 12:44:55 +11:00
Ferdi Franceschini
5f62768d59 Eliminated all warnings from splint standard error checking.
r1017 | ffr | 2006-06-02 16:44:02 +1000 (Fri, 02 Jun 2006) | 2 lines
2012-11-15 12:44:53 +11:00