新增可读写不同档位限定的位移值。
This commit is contained in:
@@ -80,6 +80,8 @@ enum EFirmwareVer
|
||||
FirmwareVer_3_X=0,
|
||||
FirmwareVer_6_X,
|
||||
FirmwareVer_7_X,
|
||||
FirmwareVer_7_9,//add control mode
|
||||
FirmwareVer_7_A,//add segment dis
|
||||
FirmwareVer_Total
|
||||
};
|
||||
enum ESO7_AXIS_TYPE
|
||||
@@ -164,6 +166,7 @@ struct s_so7_axis_config // axis configuration
|
||||
double _MoveToSpeed[2];
|
||||
double _MotionSpeedScale;
|
||||
|
||||
long _MotionSegmentDis[3];
|
||||
long _scale_range;
|
||||
double _neg_working_limit;
|
||||
double _pos_working_limit;
|
||||
@@ -382,7 +385,8 @@ struct struct_so7_ep_buff
|
||||
int _ep;
|
||||
BYTE _save_send_cmd;
|
||||
BYTE _save_send_cmd0;
|
||||
BYTE _save_send_cmd1;
|
||||
BYTE _save_send_cmd1;
|
||||
BYTE _save_send_cmd2;
|
||||
char *_buffer; // MAX_BUFF_SIZE
|
||||
int _size;
|
||||
void *_async_context;
|
||||
@@ -576,6 +580,8 @@ public:
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_GET_MOTION_CNTS(char _Speedgear=0);
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_SET_CONTROL_MODE(char axis_type,char ControlMode);
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_GET_CONTROL_MODE(char axis_type);
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_SET_MOTION_SEGMENT_DIS(char axis_type,char _SegmentIndex,long _lDis);
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_GET_MOTION_SEGMENT_DIS(char axis_type,char _SegmentIndex);
|
||||
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_MOVE_X();
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_MOVE_Y();
|
||||
@@ -618,6 +624,8 @@ public:
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_WRITE_TRIG_PULSE_PARA();
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_GET_MOTION_CNTS();
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_GET_CONTROL_MODE();
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_GET_MOTION_SEGMENT_DIS(BYTE axis_type,BYTE _SegmentIndex);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user