增加触发脉冲测试功能。
This commit is contained in:
@@ -221,6 +221,28 @@ typedef struct s_so7_xyzzm
|
||||
double dFromMM;
|
||||
double dToMM;
|
||||
} SO7AXISMOVE;
|
||||
|
||||
typedef struct s_so7_trigger_pulse
|
||||
{
|
||||
char TrigPulseActiveAxis;
|
||||
char TrigPulseMethod;
|
||||
union
|
||||
{
|
||||
long _long_;
|
||||
char _char_[4];
|
||||
}TrigTotalNo;
|
||||
union
|
||||
{
|
||||
long _long_;
|
||||
char _char_[4];
|
||||
}TrigCurIndex;
|
||||
union
|
||||
{
|
||||
long _long_;
|
||||
char _char_[4];
|
||||
}TrigCurPara;
|
||||
} SO7TRIGPULSE;
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
//
|
||||
//--------------------------------------------------------------------
|
||||
@@ -285,7 +307,7 @@ struct struct_so7_machine
|
||||
struct s_so7_axis y;
|
||||
struct s_so7_axis z;
|
||||
struct s_so7_axis zm;
|
||||
|
||||
struct s_so7_trigger_pulse TrigPara;
|
||||
};
|
||||
|
||||
#define SEVENOCEAN_VID 0x4532
|
||||
@@ -517,6 +539,10 @@ public:
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_SET_CONSTANT_SPEED(int iSpeed,char axis_type,char xyz_gear);
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_SET_SEQ_NUMBER();
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_GET_SEQ_NUMBER();
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_READ_TRIG_PULSE_PARA(short ParaIndex);
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_WRITE_TRIG_PULSE_PARA(char ActiveAxis,char TrigMode,short StartIndex,short ParaNumber,short* Para);
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_TRIG_PULSE_START();
|
||||
SSI_STATUS_MOTION _send_cmd_SO7_CMD_TRIG_PULSE_STOP();
|
||||
|
||||
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_MOVE_X();
|
||||
@@ -556,7 +582,8 @@ public:
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_READ_FIRMWARE_VERSION_INFO();
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_GET_INTERRUPT_MSG(BYTE Type);
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_GET_SEQ_NUMBER();
|
||||
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_READ_TRIG_PULSE_PARA();
|
||||
static SSI_STATUS_MOTION _process_SO7_CMD_WRITE_TRIG_PULSE_PARA();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user