Changed positioner error codes that are used to detect limit switch activation

from XPS controlled axes. The codes that were used before were codes for
positioner hardware status.
This commit is contained in:
Peter Denison
2008-05-22 17:00:15 +00:00
parent da18f8827f
commit c995a09ee3
+2 -2
View File
@@ -105,8 +105,8 @@ static int motorXPSLogMsg(void * param, const motorAxisLogMask_t logMask, const
#define IODRIVER motorAxisTraceIODriver
#define XPS_MAX_AXES 8
#define XPSC8_END_OF_RUN_MINUS 0x00000100
#define XPSC8_END_OF_RUN_PLUS 0x00000200
#define XPSC8_END_OF_RUN_MINUS 0x80000100
#define XPSC8_END_OF_RUN_PLUS 0x80000200
#define TCP_TIMEOUT 2.0
static motorXPS_t drv={ NULL, NULL, motorXPSLogMsg, 0, { 0, 0 } };