beautypg.com

Rockwell Automation 6008-SI IBM PC I/O SCNNR 6008-SI User Manual

Page 128

background image

Header Definitions

Appendix A

A-2

/************** confirmation status values **************/

#define SC_PENDING 0xFF

#define SC_OK 0x00

#define SC_NOT_OK 0x01

#define SC_BAD_REQ 0x10

#define SC_BAD_PARAM 0x11

#define SC_REQ_PEND 0x12

#define SC_PROG_MODE 0x13

#define SC_BTQ_FULL 0x14

#define SC_BAD_LEN 0x15

#define SC_BAD_CONFIG 0x16

#define SC_BT_TIME 0x23

#define SC_BT_DIR 0x26

#define SC_BT_LEN 0x27

#define SC_BT_CHKSUM 0x28

#define SC_BAD_VERSN 0xFE

/************** operating mode data values **************/

#define CM_PROGRAM 0x01

#define CM_TEST 0x02

#define CM_RUN 0x04