![]() |
ECMC: EtherCAT open source motion control.
Motion control based on the open source EtherCAT master (www.etherlab.org). The motion package is integerated into the ESS EPCIS environment (E3).
|
General commands. More...
Go to the source code of this file.
Functions | |
| int | getControllerError () |
| Returns the controller error code. . | |
| int | controllerErrorReset () |
| Resets the controller error code. . | |
| const char * | getErrorString (int errorNumber) |
| Get axis error code in string format. . | |
| int | validateConfig () |
| Validates the current configuration)". | |
| int | linkEcEntryToObject (char *ecPath, char *objPath) |
| Links an EtherCAT entry to an object. | |
| int | setEnableTimeDiag (int value) |
| Enable printouts of timing information related to the realtime thread. . | |
| int | setEnableFunctionCallDiag (int value) |
| Enable printouts of which functions in hw_motor.cpp are being called. . | |
General commands.
| int controllerErrorReset | ( | ) |
Resets the controller error code.
.
| int getControllerError | ( | ) |
Returns the controller error code.
.
| const char * getErrorString | ( | int | errorNumber | ) |
Get axis error code in string format.
.
| [in] | errorNumber | Error code. |
| int linkEcEntryToObject | ( | char * | ecPath, |
| char * | objPath ) |
Links an EtherCAT entry to an object.
| [in] | ecPath | EtherCAT entry path in the following format: ec<masterId>.s<slaveId>.<alias>.<bitId> ec<masterId>.s<slaveId>.<alias> |
| [in] | axPath | Axis parameter path in the following format: ax<id>.enc.actpos ax<id>.drv.enable ax<id>.drv.velocity ax<id>.drv.enabled ax<id>.drv.break ax<id>.drv.reducetorque ax<id>.mon.lowlim ax<id>.mon.highlim ax<id>.mon.homesensor ax<id>.mon.extinterlock ax<id>.health ec<masterId>.health |
| int setEnableFunctionCallDiag | ( | int | value | ) |
Enable printouts of which functions in hw_motor.cpp are being called.
.
| [in] | enable | Enable printouts. |
| int setEnableTimeDiag | ( | int | value | ) |
Enable printouts of timing information related to the realtime thread.
.
| [in] | enable | Enable printouts. |
| int validateConfig | ( | ) |
Validates the current configuration)".