Changeset 12587 for trunk/Cosy/devdrv
- Timestamp:
- 11/21/11 11:17:20 (13 years ago)
- Location:
- trunk/Cosy/devdrv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosy/devdrv/dkc.cc
r10032 r12587 78 78 case 0xe8260: return "Torque limit active"; 79 79 case 0xe264: return "Target position out of numerical range"; 80 case 0xe829: return "Positive position limit exceeded";81 case 0xe830: return "Negative position limit exceeded";80 case 0xe829: case 0xe8029: return "Positive position limit exceeded"; 81 case 0xe830: case 0xe8030: return "Negative position limit exceeded"; 82 82 case 0xe831: return "Position limit reached during jog"; 83 83 case 0xe834: return "Emergency-Stop"; … … 94 94 case 0xf228: case 0xf2028: return "Excessive control deviation"; 95 95 case 0xf250: return "Overflow of target position preset memory"; 96 case 0xf257: return "Command position out of range"; 96 97 case 0xf269: return "Error during release of the motor holding brake"; 97 98 case 0xf276: return "Absolute encoder out of allowed window"; … … 441 442 SendSDO(0x3007, (LWORD_t)cvel); 442 443 WaitForSdo(0x3007); 444 } 445 446 void Dkc::SetLedVoltage(LWORDS_t volt) 447 { 448 SendSDO(0x4000, (LWORD_t)volt); 449 WaitForSdo(0x4000); 443 450 } 444 451 -
trunk/Cosy/devdrv/dkc.h
r10029 r12587 97 97 void SetRpmMode(BYTE_t mode=TRUE); 98 98 void SetRpmVelocity(LWORDS_t cvel); 99 void SetLedVoltage(LWORDS_t cvel); 99 100 100 101 void StartRelPos(LWORDS_t pos);
Note:
See TracChangeset
for help on using the changeset viewer.