Confirmation status codes, 8ć11 – Rockwell Automation 6008-SI IBM PC I/O SCNNR 6008-SI User Manual
Page 101

Chapter 8
Block Transfer
8-11
This section lists the confirmation status codes that the scanner may return
when processing a BT. Some of them are duplicates of those listed in
chapter 7, Scanner Management.
Please note that the xlat_con routine (described in chapter 7, ”Scanner
Management”) can also be used to translate BT confirmation status codes.
Table 8.A
Confirmation Status Codes
Status Code
Hex Value
Description
SC_PENDING
FF (hex)
not yet transmitted to the scanner, or transmitted to the
scanner but not yet confirmed back to the host
SC_OK
00 (hex)
completed successfully
SC_BAD_PARAM 11 (hex)
invalid parameters to a valid command
SC_BAD_REQ
10 (hex)
invalid command (can occur only if the first argument to
bt_que is neither C_BT_READ nor C_BT_WRITE
SC_BT_CHKSUM 28 (hex)
checksum error in performing the BT
SC_BT_DIR
26 (hex)
user program requested a write but the module requested a
read, or vice versa
SC_BTQ_LEN
27 (hex)
application length didn't match module-requested length
SC_BTQ_FULL
14 (hex)
the scanner's BT queue is full (should never happen because
the library routines should refuse the request)
SC_BT_TIME
23 (hex)
BT timed out (was not completed within 4 seconds after the
scanner received the request from the host)
SC_NOT_OK
01 (hex)
some other error, most likely invalid arguments passed from
the user program to the library routines
Confirmation
Status Codes