新增IO口状态的读取和速度参数保存为EF8000 DAT文件格式。

This commit is contained in:
TAO Cheng
2013-06-20 11:18:44 +08:00
parent d8d357c553
commit e842462af2
17 changed files with 1459 additions and 73 deletions
@@ -59,7 +59,6 @@
const long MAX_INTENSITY = 0x3FF;
#define MAXLIGHTVALUE 256
#pragma pack(push)
#pragma pack(1)
//****************************************************************************************************
@@ -197,6 +196,7 @@ struct struct_so7_machine
char Sys_Reset_Flag;
char cVerNumber;
char InterruptFlag[2];
char InPortStatus;
int _motor_pulse_num;
struct s_so7_axis x;
@@ -398,6 +398,7 @@ public:
SSI_STATUS_MOTION _send_cmd_SO7_CMD_READ_INTERRUPT_MESSAGE();
SSI_STATUS_MOTION _send_cmd_SO7_CMD_READ_ZOOM_MOTION_STATUS();
SSI_STATUS_MOTION _send_cmd_SO7_CMD_OPEN_KEYENCE_LASER();
SSI_STATUS_MOTION _send_cmd_SO7_CMD_READ_INPUT_PORT_STATUS(char AddrType);
static SSI_STATUS_MOTION _process_SO7_CMD_MOVE_X();
static SSI_STATUS_MOTION _process_SO7_CMD_MOVE_Y();
@@ -427,6 +428,7 @@ public:
static SSI_STATUS_MOTION _process_SO7_CMD_READ_SPEED_PRECISIONZ();
static SSI_STATUS_MOTION _process_SO7_CMD_READ_INTERRUPT_MESSAGE();
static SSI_STATUS_MOTION _process_SO7_CMD_READ_ZOOM_MOTION_STATUS();
static SSI_STATUS_MOTION _process_SO7_CMD_READ_INPUT_PORT_STATUS();
};