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).
Loading...
Searching...
No Matches
ecmcGeneral.h
Go to the documentation of this file.
1/*************************************************************************\
2* Copyright (c) 2019 European Spallation Source ERIC
3* ecmc is distributed subject to a Software License Agreement found
4* in file LICENSE that is included with this distribution.
5*
6* ecmcGeneral.h
7*
8* Created on: Jan 10, 2019
9* Author: anderssandstrom
10*
11\*************************************************************************/
12
18#ifndef ECMC_GENERAL_H_
19#define ECMC_GENERAL_H_
20
21# ifdef __cplusplus
22extern "C" {
23# endif // ifdef __cplusplus
24
33
42
54const char* getErrorString(int errorNumber);
55
65
94int linkEcEntryToObject(char *ecPath,
95 char *objPath);
96
107int setEnableTimeDiag(int value);
108
120
121# ifdef __cplusplus
122}
123# endif // ifdef __cplusplus
124
125#endif /* ECMC_GENERAL_H_ */
int linkEcEntryToObject(char *ecPath, char *objPath)
Links an EtherCAT entry to an object.
int controllerErrorReset()
Resets the controller error code. .
int setEnableFunctionCallDiag(int value)
Enable printouts of which functions in hw_motor.cpp are being called. .
int setEnableTimeDiag(int value)
Enable printouts of timing information related to the realtime thread. .
int getControllerError()
Returns the controller error code. .
const char * getErrorString(int errorNumber)
Get axis error code in string format. .
int validateConfig()
Validates the current configuration)".