Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual
Page 222

API Library of Routines
Appendix B
MSG_READ_HANDLER
B-91
cc_type
This is the data type of the control-coprocessor data buffer.
Possible values are:
Value
Symbolic Name
¬
C" Type
0
CC_RAW
no conversion
1
CC_BYTE
char
2
CC_UBYTE
unsigned char
3
CC_WORD
short
4
CC_UWORD
unsigned short
5
CC_LONG
long (int)
6
CC_ULONG
unsigned
7
CC_FLOAT
float
8
CC_DOUBLE
double
¬
These symbolic names are in COPRO.H.
plc_type
This is the data type of the PLC-5 data-table area. Possible values are:
Value
Symbolic Name
¬
C" Type
3
PLC_WORD
short
7
PLC_FLOAT
float
¬
These symbolic names are in COPRO.H.
iostat
This parameter returns a final completion status. Possible completion
status values are:
Value
Meaning
0
CC_SUCCESS = operation completed successfully
101
CC_PENDING = I/O operation in progress
118
CC_E_TIME = operation did not complete in time
127
CC_E_NOATMPT = operation not attempted; see status value for reason
141
CC_E_CNVT = dataĆconversion error
182
CC_E_MSG_ABORT = message aborted by CC_MKILL
xxx
¬
PCCC_E_xxx = operation refused by the PLCĆ5 programmable controller
¬
See Table B.A for PCCC errors.