Commit Graph

98 Commits

Author SHA1 Message Date
Ron Sluiter 80901f0181 - Update lval in load_pos() if FOFF is set to FROZEN; see README #7.
- Allow sign(MRES) != sign(ERES); see README #9
2004-02-12 19:39:29 +00:00
Ron Sluiter a6ebded033 No C code; no need for USR_CFLAGS. 2004-02-12 14:48:27 +00:00
Ron Sluiter 311df52dc9 Delay logic in process_messages() still wrong.
Limit valid "delay" in process_messages() to;
0 <= delay <= (quantum * 2).
2004-02-11 22:24:15 +00:00
Ron Sluiter cf16857433 Initialize PID parameters. 2004-02-03 19:42:47 +00:00
Ron Sluiter 86e485d95f Use menu(motorSTUP) with STUP; prevent STUP for activating DLY. 2004-01-22 21:57:51 +00:00
Ron Sluiter 6f1a47d59d Use menu(motorSTUP) with STUP. 2004-01-22 21:19:03 +00:00
Ron Sluiter 7144c84d66 Valid "delay" in process_messages(); 0 < delay <= (quantum * 2). 2003-12-23 16:14:27 +00:00
Ron Sluiter 8deb26ca27 Make DMOV visible for VDCT. 2003-12-17 16:20:10 +00:00
Ron Sluiter b5b9aa6bfc Converted MSTA #define's to bit field. 2003-12-12 21:40:27 +00:00
Ron Sluiter 213011e486 Added status update field (STUP). 2003-12-12 21:38:17 +00:00
Ron Sluiter 025f23289b - Bug fix for tweaks ignored.
- Converted MSTA #define's to bit field.
- Added status update field (STUP).
2003-12-12 21:37:50 +00:00
Ron Sluiter 33eb1357d4 Fix backlash correction after jogging for controllers that don't support multi-position commands. 2003-11-07 21:23:22 +00:00
Ron Sluiter 35cb0b6179 Use epicsThreadSleepQuantum() to generalize time delays. 2003-11-06 21:21:57 +00:00
Ron Sluiter 9c016d102d Bug fixes for polling rate and 10 ms. INFO update delay. 2003-11-06 15:56:10 +00:00
Ron Sluiter 5ad7adfede - Bug fix for backlash in wrong direction when MRES < 0.
- Fix for bug introduced with R4.6; record locks-up when
BDST != 0, DLY != 0 and new target position before backlash
correction move.
- Update readback after DLY timeout.
- Removed dMdR = 1.0, since R4.5.
2003-11-03 18:43:15 +00:00
Ron Sluiter d44657de9a Moved OMS specific "irqdatastr" to OmsSrc. 2003-10-28 16:32:11 +00:00
Ron Sluiter 90bd1ffdff R5.2 2003-10-23 19:52:16 +00:00
MarkRivers ae7873ebf6 Added epicsMessageQueue 2003-09-17 16:43:59 +00:00
Ron Sluiter 96b7341245 Merged R3_13_branch changes; Changed hardcoded 50 to MAX_IDENT_LEN = 100. 2003-06-25 16:46:23 +00:00
Ron Sluiter f9a0a7f43e Removed unused monitor_mask variable. 2003-06-16 15:32:43 +00:00
Ron Sluiter 9109007802 Updated modification log. 2003-06-16 15:08:24 +00:00
Ron Sluiter 944dc12554 Set DBE_LOG with all db_post_events()'s. 2003-06-06 21:09:24 +00:00
Ron Sluiter c6074ea245 Home velocity field (HVEL) added. 2003-06-05 15:54:08 +00:00
Ron Sluiter 00739f9b1f Compiler error with gcc-2.96. 2003-05-30 19:35:20 +00:00
Ron Sluiter 04fec42a7d send_mess() tests for NULL, not '0'. 2003-05-23 19:48:44 +00:00
Ron Sluiter 535795ef59 Elminated "hiding variable" compiler warnings. 2003-05-23 19:45:08 +00:00
Ron Sluiter 38d6d06bb3 Handle MSB and LSB bit-field packing. 2003-05-23 19:44:05 +00:00
Ron Sluiter 03d1a4fb80 R3.14.2 compatible. 2003-05-19 17:54:19 +00:00
Ron Sluiter 2ee855a809 R3.14.2 requires $(EPICS_BASE_IOC_LIBS). 2003-05-14 20:16:16 +00:00
Ron Sluiter 4ee2b78352 - Elminate three redundant DMOV monitor postings.
- Consolidate do_work() backlash correction logic.
- Home velocity field (HVEL) added.
2003-05-12 19:07:03 +00:00
Ron Sluiter e9a7f3c746 Debug() only defined for GNU compiler. 2003-02-13 21:54:00 +00:00
Ron Sluiter 02ae4dc0f8 Remove fast_lock.h and STATIC. 2002-10-31 20:46:17 +00:00
Ron Sluiter 31e3a7fee8 Restore use of OK and ERROR for function return values. 2002-10-31 20:45:17 +00:00
Ron Sluiter e3e024276a Restore use of OK/ERROR for return values. 2002-10-31 20:44:26 +00:00
Ron Sluiter 4b67929440 - Change driver_table function return values.
- Delete #ifndef __cplusplus conditionials.
2002-10-31 20:43:05 +00:00
Ron Sluiter 6cbe3cadda Change motor_dset function return values. 2002-10-31 20:41:29 +00:00
Ron Sluiter 3e6fcfee99 - Enumerate CALLBACK_VALUES.
- Change motor_dset function return values.
2002-10-31 20:40:53 +00:00
Ron Sluiter 521fcb1ee7 - NTM field added to prevent certain Soft Channel stop commands.
- Update 'last' target position in do_work() when stop command is sent.
2002-10-31 20:38:45 +00:00
Ron Sluiter 681a8d1a80 NTM field added to prevent certain Soft Channel stop commands. 2002-10-31 20:37:26 +00:00
Ron Sluiter cc676a4f49 Bug fix for another 'invalid state' scenario (see README #1). 2002-10-24 18:03:32 +00:00
Ron Sluiter 666480bcdf Converted to R3.14.x and C++. 2002-10-21 21:10:48 +00:00
Ron Sluiter 9559b510a6 Converted to R3.14.x. 2002-10-21 21:06:32 +00:00
Ron Sluiter f068364fca R3.14.x compatible. 2002-10-17 17:57:50 +00:00
Ron Sluiter c3ca13f40c R3.14.x compatible. 2002-10-17 17:34:25 +00:00
Ron Sluiter db0408b7a6 Post all fields when recGblResetAlarms() returns an alarm. 2002-07-11 20:36:07 +00:00
Ron Sluiter feab75f119 - Restored SET_ENC_RATIO command.
- Force RDBD >= MRES.
- Do another update after Done due to LS error.
- CDIR matches TDIR and RA_DIRECTION.
- Seperate +/- limit switch status bits.
2002-07-05 19:13:24 +00:00
Ron Sluiter 6c32a33a14 - Restored SET_ENC_RATIO command.
- Instead of calling process() directly from motor_callback(),
call dbProcess().
2002-07-05 18:52:58 +00:00
Ron Sluiter f03fa7c265 Seperate +/- limit switch status bits. 2002-07-05 18:48:44 +00:00
Ron Sluiter 79c56c4549 - Restored SET_ENC_RATIO command.
- Seperate +/- limit switch status bits.
2002-07-05 17:10:31 +00:00
Ron Sluiter 5fe0e236fd - Restored RES field for backward compatibility; RES == MRES.
- Backlash done in a separate command; after orginial move completed.
- Bug fix on RVAL when setting commanded <= feedback positions.
2002-04-19 16:24:10 +00:00