Appendix a - error codes, Error codes, Appendix – Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual

Page 147: Introduction, Error code returned by api functions

Advertising
background image

Publication 1747-6.5.3 June 1998

Appendix

A

Error Codes

Introduction

This appendix describes the error code data.

Error Code
Returned by API
Functions

Most of the API functions return values (see chapter 6). These are the values
returned by the API functions to indicate success or possible error conditions
(but not all are returned by each function):

Name:

Return Value:

Description:

SUCCESS

0

function returned successfully

ERR_OCACCESS

2

handle does not have access to scanner

ERR_OCEXTERR

11

scanner responded with an extended error message

ERR_OCFAULT

13

request denied because scanner faulted

ERR_OCFILERROR

19

error occurred while reading/writing disk file

ERR_OCINIT

5

scanner has not been initialized

ERR_OCIOCFG

9

I/O configuration is invalid

ERR_OCMEM

3

shared memory cannot be found

ERR_OCNOFORCES

15

no forces installed, cannot enable forces

ERR_OCOPEN

1

scanner already open

ERR_OCOUTOFMEM

17

memory allocate failed

ERR_OCOVERRUN

16

DII, I/O initialization, or error report message overrun

ERR_OCPAR

6

initialization failed due to invalid partition information

ERR_OCPARAM

8

parameter contains invalid value

ERR_OCPOST

7

scanner POST failure

ERR_OCREINIT

4

scanner has already been initialized

ERR_OCRESPONSE

10

scanner did not respond to request successfully

ERR_OCSCANCFG

14

scanner I/O configuration not downloaded

ERR_OCSLOT

12

slot number is invalid

ERR_OCUNKNOWN

18

unknown module type

ERR_OCNOTSUPP

20

function not supported on this platform

Advertising
This manual is related to the following products: