Commit Graph

1009 Commits

Author SHA1 Message Date
Ron Sluiter 2f75044d81 ASCII_ACK_CHAR added. 2009-05-01 18:13:42 +00:00
Ron Sluiter 243c8b8cb0 - Using EOT fault indicators rather than LS's to set RA_PLUS/MINUS_LS indicators.
- Fix HOME_LIMIT/MARKER_BIT mask.
- More extensive comm. error checks in set_status(); handle ASCII_ACK_CHAR as error.
- cntrl->drive_resolution must be initialized with fabs().
2009-05-01 18:13:12 +00:00
Ron Sluiter 7a4144a355 Fix for wrong jog velocity. 2009-05-01 18:11:51 +00:00
Ron Sluiter 79ad5810f6 MRP's fix for motor simulator stuck in Moving state after multiple LOAD_POS
commands to the same position; set needUpdate = 1 in asynCallback() before
dbProcess.
2009-05-01 17:55:28 +00:00
MarkRivers d2cc08a23e Add asyn.dbd to application to enable asyn debugging commands 2009-04-29 15:19:00 +00:00
Ron Sluiter 4c7f24c1e6 Move preprocessor assertions to the end to avoid MSVC compiler errors. 2009-04-27 14:28:42 +00:00
Ron Sluiter b71474106c Note ESP301 supported. 2009-04-27 14:03:02 +00:00
Ron Sluiter 10dd6744ff Clear moveRequestPending. 2009-04-24 17:22:38 +00:00
Ron Sluiter 2bd8b43dc3 Can't call dbProcess before dbScanLockOK. 2009-04-24 17:20:45 +00:00
Ron Sluiter d8473b91c6 - Prevent moveRequestPending being left nonzero after LOAD_POS command.
- Minor compiler warnings eliminated.
2009-04-15 18:36:18 +00:00
Ron Sluiter 0b3032b96b - fix multiple STOP commands.
- fix for no backlash after new target position.
2009-03-24 18:41:34 +00:00
Ron Sluiter f0c769098a Added asyn_motor.db; the asyn motor corollary to motor.db 2009-02-19 21:30:09 +00:00
Ron Sluiter d5acf3f221 asyn motor corollary to motor.db 2009-02-19 21:29:17 +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 dc074e670b Reformat; tabs -> spaces. No code changes. 2009-02-19 15:20:30 +00:00
Ron Sluiter 6322aa57e4 Supports Ensemble firmware 2.5.2 and above. 2009-02-18 22:06:38 +00:00
Ron Sluiter be142fb11d - ABORT command fixed with Ensemble firmware 2.5.2.
- enable LOAD_POS command.
2009-02-18 22:05:27 +00:00
Ron Sluiter d5e994aa39 Matthew Pearson's (Diamond) "set position" fix. 2009-02-18 21:39:40 +00:00
Ron Sluiter d1ffebe065 Added "Controller Error" message. 2009-02-18 21:25:55 +00:00
Ron Sluiter 74474dc69a Set RA_PROBLEM based on controller error. 2009-02-18 20:54:20 +00:00
Ron Sluiter 2950e22cc5 - Fix intermittent "set position" problem.
- Added check for controller error.
2009-02-18 20:50:16 +00:00
Ron Sluiter 6be5c641b0 Reformatted MM4000Poler(); no code changes. 2009-02-18 20:00:36 +00:00
Ron Sluiter a2843f4b45 Adds the SET_POSITION case to the moveRequestPending logic. 2009-02-09 19:51:34 +00:00
Ron Sluiter c6497cf7d3 Wrong index in Alt-Small M3. 2009-02-05 21:32:42 +00:00
Ron Sluiter 897c31951d start_status() starts ALL updates before waiting. 2009-02-05 19:25:04 +00:00
Ron Sluiter 8886820adb motor_task() always checks for incoming messages. 2009-02-05 19:19:29 +00:00
Ron Sluiter e4a8aa0060 Matthew Pearson's (Diamond) fix for;
- idle polling interfering with setting position.
- auto save/restore not working.
2009-02-05 16:01:51 +00:00
Ron Sluiter 1d67e60ab0 Copied Matthew Pearson's (Diamond) XPS fix for;
- idle polling interfering with setting position.
- auto save/restore not working.
2009-02-05 16:01:21 +00:00
MarkRivers 68337d7adf Fixed bug in trajectory scanning for motors with .DIR=1 (NEG), was scanning wrong direction 2009-01-16 21:16:23 +00:00
Ron Sluiter bf248ae580 Bug fix for overwriting home switch status in the response string. 2009-01-05 19:40:25 +00:00
Ron Sluiter a30d4de5d8 64-bit compatibility. 2008-12-10 18:31:38 +00:00
Ron Sluiter a7716130a3 - R6-5
- Reformat; tabs -> spaces.
2008-12-05 17:07:44 +00:00
mp49 16198f3684 Called dbProcess instead of pmr->rset->process to aid debugging. 2008-12-01 12:18:35 +00:00
mp49 3141b9d68a motor: Printed mutexId in motorAxisReportAxis to aid debugging 2008-11-28 17:36:59 +00:00
Ron Sluiter e8b7a59ae1 Clean up header comments. 2008-11-24 22:25:32 +00:00
Ron Sluiter 4afb59f78c Set direction indicator. 2008-11-20 22:35:11 +00:00
Ron Sluiter 18c2f1c9a4 Added the home direction parameter. 2008-11-20 22:29:35 +00:00
Ron Sluiter 0ba173338d Save the HomeDirection parameter. 2008-11-20 22:28:31 +00:00
Ron Sluiter 48c293203e - support homing in both directions.
- disable LOAD_POS until ABORT command fixed.
- SET_VELOCITY sets both default speed and home feedrate.
2008-11-20 22:27:13 +00:00
Ron Sluiter ca0ab1ab7a - change input EOS to prompt ">".
- support enable/disable "torque".
- zero move bug fix.
- set firmwareVersion.
2008-11-19 21:29:32 +00:00
Ron Sluiter 66398a7b17 RMOD field added for arthmetic and geometric sequence retries. 2008-11-19 21:07:10 +00:00
Ron Sluiter 8ee5ccdc65 - RMOD field added for arthmetic and geometric sequence retries.
- post changes to TWF/TWR.
- ramifications of ORing MIP_MOVE with MIP_RETRY.
2008-11-19 21:06:43 +00:00
Ron Sluiter 378a9e6597 More extensive bit field tests. 2008-11-19 21:04:30 +00:00
JPHammonds 20144bd9e6 Add in support for the PIE816 controller. 2008-11-19 18:01:33 +00:00
JPHammonds 583c228a04 Add hidden button to show detail of MSTA bits. 2008-11-19 17:31:51 +00:00
JPHammonds 1a8b280844 add file to show detail of MSTA field Bits. 2008-11-19 17:31:12 +00:00
Ron Sluiter bd9628d629 motor_motion initialization bug fix. 2008-11-18 15:59:05 +00:00
Ron Sluiter fc816fcc95 LOAD_POS bug fix. 2008-11-18 15:58:21 +00:00
Ron Sluiter c582ec320f Reformatted; tabs -> spaces. 2008-11-14 15:23:00 +00:00
mp49 f8afb15c7d In the status updates, removed the check for not needUpdate before processing the record. This fixes the odd state that motors sometimes get into at startup after having the values written down to the controller, where they do not update their positions, even if the underlying axis moves, unless they are processed first. 2008-11-14 15:18:38 +00:00