SE-Power Can Open Handbuch - Afag Handhabungs- und ...
SE-Power Can Open Handbuch - Afag Handhabungs- und ...
SE-Power Can Open Handbuch - Afag Handhabungs- und ...
Erfolgreiche ePaper selbst erstellen
Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.
#define cwNEW_<strong>SE</strong>T_POINT 0x0010<br />
#define cwSTART_HOMING_OPERATION 0x0010<br />
#define cwENABLE_IP_MODE 0x0010<br />
#define cwCHANGE_<strong>SE</strong>T_IMMEDIATLY 0x0020<br />
#define cwABSOLUTE_RELATIV 0x0040<br />
#define cwHOLD 0x0100<br />
/********************************************************************************/<br />
/* statusword */<br />
/********************************************************************************/<br />
/* state definition */<br />
#define cdNOT_READY_TO_SWITCH_ON 0x0000<br />
#define cdSWITCHED_ON_DISABLED 0x0040<br />
#define cdREADY_TO_SWITCH_ON 0x0021<br />
#define cdSWITCHED_ON 0x0023<br />
#define cdOPERATION_ENABLED 0x0027<br />
#define cdFAULT 0x000F<br />
#define cdFAULT_REACTION_ACTIVE 0x000F<br />
#define cdQUICK_STOP_ACTIVE 0x0007<br />
/* Bits of staus word */<br />
#define swVOLTAGE_DISABLED 0x0010<br />
#define swSWITCH_ON_DISABLED 0x0040<br />
#define swWARNING 0x0080<br />
#define swREMOTE 0x0200<br />
#define swTARGET_REACHED 0x0400<br />
#define swINTERNAL_LIMIT_ACTIVE 0x0800<br />
#define sw<strong>SE</strong>T_POINT_ACKNOWLEDGE 0x1000<br />
#define swSPEED0 0x1000<br />
#define swHOMING_ATTAINED 0x1000<br />
#define swIP_MODE_ACTIVE 0x1000<br />
#define swFOLLOWING_ERROR 0x2000<br />
#define swHOMING_ERROR 0x2000<br />
/* position modes */<br />
#define pCONTINOUS 0x0000<br />
#define pIMMEDIATE 0x0020<br />
#define pABSOLUTE 0x0000<br />
#define pRELATIVE 0x0040<br />
/* motion profile types */<br />
#define mpLINEAR 0<br />
<strong>SE</strong>-<strong>Power</strong>- BA 12 de. 27.11.07 171