Commit Graph

184 Commits

Author SHA1 Message Date
timmmooney f154206629 debug can read velocities and accelerations for all motors 2011-03-23 21:38:08 +00:00
MarkRivers c2728c01cc Build for all archs again 2011-03-08 15:11:20 +00:00
timmmooney a0bc0c2420 minor edit 2011-03-07 18:00:09 +00:00
timmmooney 7bf5df8bfb respect motor soft limits; support "Absolute" mode; move load trajectory to function 2011-03-07 17:54:16 +00:00
timmmooney 93c1960e71 reorganized to collect MAX-specific stuff together 2011-03-07 17:50:27 +00:00
timmmooney d7de9b4efe Test version of drvMAXv.cc 2011-02-28 18:30:14 +00:00
timmmooney 7f090849d5 changing update rate changes motor positions. read them before and restore them after. 2011-02-28 17:22:56 +00:00
timmmooney 84e851d76a rework conversion of motor positions between user and raw 2011-02-28 17:20:50 +00:00
timmmooney ed661b9dcf velocity-override factor is now a PV 2011-02-28 17:16:59 +00:00
timmmooney 6fdfed2bcf make epicsMotorDir an int 2011-02-28 17:14:32 +00:00
timmmooney 1e615234c3 modified again the way 'done moving' check requires two 'done moving' indicators.
I'm getting wrong motor positions; check to see if run-time PV assignment is the cause;  handle motor DIR field
2011-02-28 17:13:48 +00:00
timmmooney b6a3a73fd9 check I/O bit numbers; don't send output pulses at artificially split trajectory segments; modified the way 'done moving' check requires two 'done moving' indicators 2011-02-28 17:10:39 +00:00
timmmooney 161b50c5f7 for trajectory tracking (velocity override) we need a good value for the time the trajectory started. Checking the imput bit is too slow, because it requires a command. Testing the motor position can be done more frequently, because we can read from dual-port memory 2011-02-28 16:46:18 +00:00
timmmooney 76184ef940 elapsedTime PV; digital I/O bit numbers are now PVs; realTimeTrajectories are now PVs; added motorCurrentVRaw and ..ARaw for testing 2011-02-28 16:43:39 +00:00
timmmooney 45620c0e5d distinguish read interval from poll-for-done interval; I/O now uses PVs to specify bit numbers;
plots are now against realTimeTrajectory (previously, no x axis); improve wait for input bit; elapsedTime PV; getStarted() checks input bit
2011-02-28 16:40:36 +00:00
timmmooney 52b0d62b03 read positions from dual-port memory, instead of by 'PP' command 2011-02-28 16:33:38 +00:00
timmmooney 9b23076ad9 add velocity-override during execution; calc and use realTimeTrajectory; remove some segment-split test code 2011-02-28 16:31:07 +00:00
timmmooney 7aa185b972 some removal of trial code 2011-02-28 16:27:59 +00:00
timmmooney 79f6e6e876 trajectory-segment split improvements; readback speed and acceleration during execution; writeRead takes buffer arg 2011-02-28 16:24:53 +00:00
timmmooney 02f044b06b MAX_trajectoryScan and drvMAXv_trajectory.cc (test version of drvMAXv.cc) 2011-02-28 16:16:45 +00:00
timmmooney ba9d6e0273 register MAX_trajectoryScan 2011-02-28 16:14:22 +00:00
Ron Sluiter 3065b22843 VME AM for APS 2011-02-04 20:25:42 +00:00
Ron Sluiter 9f85c50396 Added counter to prevent inifinite loops when MAXv board fails 2011-02-04 20:09:05 +00:00
Ron Sluiter e4ffd86d2e - Increase maximum configuration string size from 150 to 300 bytes.
- Increase all receive buffer sizes to same 300 bytes.
- Add error checks for buffer overflow in MAXvConfig() and in readbuf().
2011-02-03 22:27:12 +00:00
Ron Sluiter 3a46c46fd5 Added board reboot error check. 2011-01-26 19:13:47 +00:00
Ron Sluiter 8d95b1be91 Reformatting; tabs to spaces. 2011-01-25 20:18:28 +00:00
timmmooney d57d74991c First sort-of-working version 2011-01-10 19:50:55 +00:00
Ron Sluiter e72e02ff6a Error check for valid acceleration rate on STOP command. 2010-11-11 17:12:00 +00:00
MarkRivers dfa1bc2351 Removed #include statements which were not needed and were causing errors on win32. Moved epicsExport.h for win32 DLL compatibility. 2010-10-18 21:53:39 +00:00
Ron Sluiter 883160c4f8 Disable MAXv board if WDT CTR is nonzero; don't clear CTR.
If STAT=STATE, display yellow border around readbacks.
2010-06-09 18:43:20 +00:00
Ron Sluiter 8330da002b - Save firmware version in static float array.
- For firmware ver:1.33 and above, read Watchdog Timeout Counter. If Counter is nonzero, print error message and clear Counter.
2010-06-03 16:20:53 +00:00
Ron Sluiter d4c96a103d Added lock/unlock around MAXnetPoller() flush and read calls. 2010-05-11 20:59:32 +00:00
Ron Sluiter d8b20645d0 Add Jens Eden's (PTB) asyn motor MAXnet driver. 2010-05-11 13:40:23 +00:00
Ron Sluiter 731e6f35c8 Add Jens Eden's (PTB) asyn motor MAXnet driver. 2010-05-10 20:36:06 +00:00
Ron Sluiter ee0babd3d0 Update svn properties and keywords. 2010-04-29 17:04:39 +00:00
Ron Sluiter 5279af68f7 Enable interrupts after encoder check in motor_init() so user does
not see "motorIsr: command error" messages at iocInit time.
2010-04-12 17:57:28 +00:00
Ron Sluiter 8504062e88 Reformatted; tabs -> spaces. 2010-04-12 17:38:29 +00:00
Ron Sluiter f0cf41d4ef sprintf() not callable from any OS ISR. 2010-03-15 20:51:23 +00:00
Ron Sluiter 3587ed0b9f Remove sprintf() from ISR. 2010-03-10 14:53:41 +00:00
Ron Sluiter 0b55f4d91f Some MR commands still ignored; change fraction to 0.9 2010-03-08 21:10:40 +00:00
NicholasRees d599305d80 sprintf() not callable from RTEMS interrupt context. 2010-03-08 20:48:25 +00:00
Ron Sluiter 2fcd0afeb9 Spelling error. 2010-03-01 15:12:33 +00:00
Ron Sluiter 5b8d532f63 MAXv board "running" error check added. 2009-09-09 18:20:50 +00:00
Ron Sluiter ed9c12b630 Eliminate 64-bit compiler warnings. 2009-09-08 18:29:27 +00:00
Ron Sluiter 3fd4eb6b42 Backwards compatibility with ver:1.29 and earlier firmware. 2009-07-02 17:54:14 +00:00
Ron Sluiter 77daecbe24 Make oms58Setup() error messages more prominent. 2009-06-18 19:10:49 +00:00
Ron Sluiter ac1bb2af82 Make omsSetup() error messages more prominent 2009-06-18 19:09:58 +00:00
Ron Sluiter b9ccb177fe Make MAXvSetup() and MAXvConfig() error messages more prominent 2009-06-18 19:09:15 +00:00
Ron Sluiter 9facc6a34d - Use errlogPrintf() for Debug messages.
- Add card and status register to "NOT running" error message.
2009-02-19 17:01:02 +00:00
Ron Sluiter 897c31951d start_status() starts ALL updates before waiting. 2009-02-05 19:25:04 +00:00