The document defines a number of constants used for error codes and status codes. It includes constants for various error conditions like invalid parameters, memory errors, communication errors, and more. The constants are prefixed with DTL_E_ to indicate errors or DTL_I_ to indicate informational status codes.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
385 views6 pages
Something
The document defines a number of constants used for error codes and status codes. It includes constants for various error conditions like invalid parameters, memory errors, communication errors, and more. The constants are prefixed with DTL_E_ to indicate errors or DTL_I_ to indicate informational status codes.
#define DTL_I_CMP 105 /* Compare Utility compare success */ #define DTL_E_FAULTS 106 /* Get Faults Utility - found faults */ #define DTL_I_NOFAULTS 107 /* Get Faults Utility - found no faults */ #define DTL_I_RUN 108 /* Sense Mode Utility - run mode */ #define DTL_I_RRUN 109 /* Sense Mode Utility - remote run mode */ #define DTL_I_TEST 110 /* Sense Mode Utility - test mode */ #define DTL_I_RTEST 111 /* Sense Mode Utility - remote test mode */ #define DTL_I_PROGRAM 112 /* Sense Mode Utility - program mode */ #define DTL_I_RPROGRAM 113 /* Sense Mode Utility - remote program mode */ #define DTL_E_WM_QUIT 114 /* DLL detected WM_QUIT message */ #define DTL_E_NOCOPY 115 /* can't copy PLC image */ #define DTL_E_COPYWARN 116 /* can copy image, but with warnings */ #define DTL_E_MODNTCHG 117 /* PLC mode not changed to requested mode */ #define DTL_E_BAD_DTSA_TYPE 118 /* Illegal DTSA_TYPE Address Type */ #define DTL_E_BAD_FILENAME 119 /* DTSA structure file name is NULL or zero */ #define DTL_E_BAD_FILELENGTH 120 /* DTSA_TYPE File Length is Zero */ #define DTL_E_BAD_FILETYPE 121 /* Invalid DTSA_TYPE File Type */ #define DTL_E_NO_SERVER 122 /* Server is not loaded */ #define DTL_E_SERVER_NOT_RUNNING 123 /* Server is not running */ #define DTL_E_BUFFER_TOO_SMALL 124 /* Reply buffer is too small */ #define DTL_E_BAD_MASK 125 /* Bit mask contains illegal bits */ #define DTL_E_NO_HANDLER 126 /* PCCC packet handler is NULL */ #define DTL_E_BAD_OPT 127 /* Invalid option parameter */ #define DTL_E_BAD_BACKLOG 128 /* Invalid backlog value */ #define DTL_E_NO_PROGRAM 129 /* Can't find subprogram to execute */ #define DTL_E_BAD_OPTNAME 130 /* Invalid option name parameter */ #define DTL_E_BAD_OPTVAL 131 /* Invalid option value parameter */ #define DTL_E_STOPPED 132 /* U/D/C operation terminated by user */ #define DTL_E_GETALL_ACTIVE 133 /* DTL_UNSOL_GETALL already active */ #define DTL_E_UDEFCONF 134 /* DTL_UNSOL_GETALL and DTL_UNSOL_DEF used simultaneously with same NI */ #define DTL_I_TCSN 135 /* Sense Mode Utility - test cont scan mode */ #define DTL_I_TSSN 136 /* Sense Mode Utility - test sing scan mode */ #define DTL_I_TSRG 137 /* Sense Mode Utility - test sing step mode */ #define DTL_E_BAD_CIP_PATH 138 /* Uninterpretable path in DTSA */ #define DTL_E_BAD_CID 139 /* Invalid connection ID in DTSA */ #define DTL_E_BAD_SVC_CODE 140 /* Disallowed CIP service code */ #define DTL_E_BAD_IOI 141 /* Invalid CIP Internal Object Identifier */ #define DTL_E_MAX_SIZE 142 /* Data exceeds maximum size allowed */ #define DTL_E_MAX_CIP_CONN 143 /* No more CIP connections can be opened */ #define DTL_E_CONN_BUSY 144 /* Connection not ready to send */ #define DTL_E_CONN_LOST 145 /* Connection lost */ #define DTL_E_CTYPE 146 /* Invalid connection structure */ #define DTL_E_CIP_MODE 147 /* Invalid CIP mode */ #define DTL_E_CIP_TRIGGER 148 /* Invalid CIP trigger */ #define DTL_E_CIP_TRANSPORT 149 /* Invalid CIP transport */ #define DTL_E_CIP_TMO_MULT 150 /* Invalid CIP timeout multiplier */ #define DTL_E_CIP_CONN_TYPE 151 /* Invalid CIP network connection type */ #define DTL_E_CIP_CONN_PRI 152 /* Invalid CIP connection priority */ #define DTL_E_CIP_PKT_TYPE 153 /* Invalid CIP connection packet type */ #define DTL_E_CIP_PKT_SIZE 154 /* Invalid CIP connection max packet size */ #define DTL_E_DRIVER_ID_ILLEGAL 155 /* Driver ID was illegal. */ #define DTL_E_DRIVER_ID_INVALID 156 /* Driver ID was invalid. */ #define DTL_E_DRIVER_ID_INUSE 157 /* Driver ID is already in use. */ #define DTL_E_DRIVER_NAME_INVALID 158 /* Driver name is invalid. */ #define DTL_E_BROADCAST 159 /* Failed attempt to register/unregister broadcast unsolicited request. */ #define DTL_E_PLC2MEMORY 160 /* Failed attempt to register/unregister plc2 memory unsolicited request. */ #define DTL_E_VIRTUAL_LINK 161 /* Failed attempt to register/unregister virtual link unsolicited request. */ #define DTL_E_ADR_NOT_IN_USE 162 /* PLC-2 address not in use by this application. */ #define DTL_E_NODE_NOT_IN_USE 163 /* Virtual link node not in use by this application. */ #define DTL_E_DEF_PW_REPEAT 164 /* DTL_C_DEFINE pushwheel parameter was specified more than once. */ #define DTL_E_DEF_PW_RANGE 165 /* DTL_C_DEFINE pushwheel parameter was out of range. */ #define DTL_E_DEF_MOD_REPEAT 166 /* DTL_C_DEFINE module parameter was specified more than once. */ #define DTL_E_DEF_MOD_RANGE 167 /* DTL_C_DEFINE module parameter was out of range. */ #define DTL_E_DEF_CH_REPEAT 168 /* DTL_C_DEFINE channel parameter was specified more than once. */ #define DTL_E_DEF_CH_RANGE 169 /* DTL_C_DEFINE channel parameter was out of range. */ #define DTL_E_DEF_EISTN_REPEAT 170 /* DTL_C_DEFINE EI station parameter was specified more than once. */ #define DTL_E_DEF_EISTN_RANGE 171 /* DTL_C_DEFINE EI station parameter was out of range. */ #define DTL_E_DEF_BRIDGE_REPEAT 172 /* DTL_C_DEFINE bridge parameter was specified more than once. */ #define DTL_E_DEF_BRIDGE_RANGE 173 /* DTL_C_DEFINE bridge parameter was out of range. */ #define DTL_E_DEF_LINK_REPEAT 174 /* DTL_C_DEFINE link parameter was specified more than once. */ #define DTL_E_DEF_LINK_RANGE 175 /* DTL_C_DEFINE link parameter was out of range. */ #define DTL_E_DEF_GW_REPEAT 176 /* DTL_C_DEFINE gateway parameter was specified more than once. */ #define DTL_E_DEF_GW_RANGE 177 /* DTL_C_DEFINE gateway parameter was out of range. */ #define DTL_E_DEF_KA_REPEAT 178 /* DTL_C_DEFINE ka flag parameter was specified more than once. */ #define DTL_E_NO_RSLINX_INI 179 /* Can not find RSLinx in ini file */ #define DTL_E_NO_WINLINX_INI 180 /* Can not find WinLinx in ini file */ #define DTL_E_SENDING_TO_SERVER 181 /* Error sending message to server */ #define DTL_E_NO_NAME_MAPPING 182 /* Specified hostname is not mapped to a station address. */ #define DTL_E_CANT_CREATE_RSLINX 183 /* Unable to create RSLinx process */ #define DTL_E_CANT_FIND_RSLINX 184 /* Unable to communicate with RSLinx process */ #define DTL_E_MISSING_RSLINX_ACTIVATION 185 /* Unable to find activation key */ #define DTL_E_MISSING_ACTIVATION DTL_E_MISSING_RSLINX_ACTIVATION #define DTL_E_NULL_POINTER 186 /* One or more pointers were NULL */ #define DTL_E_INVALID_WHOACTIVE_TYPE 187 /* Who active struct type is invalid. */ #define DTL_E_ILLEGAL_WHOACTIVE_TYPE 188 /* Who active struct type is illegal. */ #define DTL_E_BAD_WHOACTIVE_SIZE 189 /* Who active struct size is wrong for struct type. */ #define DTL_E_INVALID_WHOACTIVE_MFG 190 /* Who active manufacturer type is invalid. */ #define DTL_E_ILLEGAL_WHOACTIVE_MFG 191 /* Who active manufacturer type is illegal. */ #define DTL_E_BAD_REQUESTID 192 /* Specified request id was bad. */ #define DTL_E_CANT_CREATE_WINLINX 193 /* Unable to create WinLinx process. */ #define DTL_E_CANT_FIND_WINLINX 194 /* Unable to communicate with WinLinx process. */ #define DTL_E_MISSING_WINLINX_ACTIVATION 195 /* Unable to find activation key */ #define DTL_E_NO_CIP_SUPPORT 196 /* RSLinx CIP subsystem not found */ #define DTL_E_CIP_REG_TIMEOUT 197 /* No response to CIP registration */ #define DTL_E_CIP_REG_REJECT 198 /* Rejection of CIP registration */ #define DTL_E_CIP_BAD_REG_ID 199 /* Invalid registration ID */ #define DTL_E_MAX_CIP_SYMBOL 200 /* CIP Symbol exceeds max length allowed */ #define DTL_E_CIP_SYMBOL_FMT 201 /* CIP Symbol has invalid format */ #define DTL_E_CIP_BAD_TRANS_ID 202 /* Invalid transaction ID */ #define DTL_E_DDE_TOPIC_EXISTS 203 /* DDE Topic already exists. */ #define DTL_E_SOURCE 204 /* Failed attempt to register/unregister source unsolicited request. */ #define DTL_E_DDE_TOPIC_EXISTS_WITH_DIFFERENT_NAME 205 #define DTL_E_DDE_TOPIC_EXISTS_WITH_DIFFERENT_POLL_MODE 206 #define DTL_E_DDE_TOPIC_EXISTS_WITH_DIFFERENT_POLL_RATE 207 #define DTL_E_DDE_TOPIC_EXISTS_WITH_DIFFERENT_MFG_TYPE 208 #define DTL_E_DDE_TOPIC_EXISTS_WITH_DIFFERENT_PROC_TYPE 209 #define DTL_E_DDE_TOPIC_EXISTS_WITH_DIFFERENT_PROC_STA 210 #define DTL_E_DDE_TOPIC_EXISTS_WITH_DIFFERENT_ROUTE 211 #define DTL_E_DDE_TOPIC_EXISTS_WITH_DIFFERENT_DRIVER 212 #define DTL_E_DDE_TOPIC_EXISTS_WITH_DIFFERENT_COMM_TIMEOUT 213 #define DTL_E_WINLINX_VERSION_MISMATCH 214 /* Version does not match WinLinx version. */ #define DTL_E_RSLINX_VERSION_MISMATCH 215 /* Version does not match RSLinx version. */ #define DTL_E_WINLINX_CONNECTION_BROKEN 216 /* The connection to WinLinx server is broken. */ #define DTL_E_RSLINX_CONNECTION_BROKEN 217 /* The connection to RSLinx server is broken. */ #define DTL_E_DUP_CIP_ADDRESS 218 /* CIP link address was already registered. */ #define DTL_E_DUP_CIP_SYMBOL 219 /* CIP symbol was already registered. */ #define DTL_E_CIP_LINK_ADDRESS 220 /* Invalid link address */ #define DTL_E_CIP_STATUS_CODE 221 /* Invalid return status code */ #define DTL_E_NO_IC_MAPPINGS 222 /* No INTERCHANGE compatibility mappings exist. */ #define DTL_E_DDE_TOPIC_IS_ACTIVE 223 #define DTL_E_DDE_TOPIC_NO_PROJECT 224 #define DTL_E_RSHARMONY_INITIALIZE 225 /* Could not initialize RSHarmony sub-system. */ #define DTL_E_NOT_SUPPORTED_SERVER 226 /* Operation not supported by server. */ #define DTL_E_RSHARMONY_OPEN_PROJECT 227 /* Could not open RSHarmony project. */ #define DTL_E_RSHARMONY_BIND_OBJECT 228 /* Could not bind to RSHarmony object. */ #define DTL_E_RSHARMONY_INVOKE_METHOD 229 /* Could not invoke method on RSHarmony object. */ #define DTL_E_RSHARMONY_GET_PROPERTY 230 /* Could not get property of RSHarmony object. */ #define DTL_E_RSHARMONY_SET_PROPERTY 231 /* Could not set property of RSHarmony object. */ #define DTL_E_IC_MAPPING_EXISTS 232 /* INTERCHANGE mapping exists for specified pushwheel. */
#define DTL_E_INVALID_TARGET_TYPE 233 /* Target struct type is invalid. */
#define DTL_E_ILLEGAL_TARGET_TYPE 234 /* Target struct type is illegal. */ #define DTL_E_INVALID_TARGET_SIZE 235 /* Target struct size is wrong for struct type. */
#define DTL_E_DLL_SERVER_MISMATCH 236 /* DTL32.DLL version mismatch with Linx
server. */
#define DTL_E_BAD_REPLY 237 /* Reply is too short or is incorrectly
formatted */
#define PCCCSTSBASE 0x100 /* pccc sts base offset */
#define PCCCSTS01 PCCCSTSBASE+1 /* Station cannot buffer command */ #define PCCCSTS02 PCCCSTSBASE+2 /* Cannot guarantee delivery, link layer timed out or received a NAK. */ #define PCCCSTS03 PCCCSTSBASE+3 /* Duplicate token holder detected by link layer. */ #define PCCCSTS04 PCCCSTSBASE+4 /* Local port is disconnected. */ #define PCCCSTS05 PCCCSTSBASE+5 /* Application layer timed out waiting for a response. */ #define PCCCSTS06 PCCCSTSBASE+6 /* Duplicate node detected. */ #define PCCCSTS07 PCCCSTSBASE+7 /* Station is off-line. */ #define PCCCSTS08 PCCCSTSBASE+8 /* Hardware fault. */ #define PCCCSTS10 PCCCSTSBASE+0x10 /* Illegal command or format, including an odd address. */ #define PCCCSTS20 PCCCSTSBASE+0x20 /* Host has a problem and will not communicate. */ #define PCCCSTS30 PCCCSTSBASE+0x30 /* Remote station host is not there, disconnected, or shutdown. */ #define PCCCSTS40 PCCCSTSBASE+0x40 /* Host could not complete function due to hardware fault. */ #define PCCCSTS50 PCCCSTSBASE+0x50 /* Addressing problem or memory protect rungs. */ #define PCCCSTS60 PCCCSTSBASE+0x60 /* Function disallowed due to command protection selection. */ #define PCCCSTS70 PCCCSTSBASE+0x70 /* Processor is in program mode. */ #define PCCCSTS80 PCCCSTSBASE+0x80 /* Compatibility mode file missing or communication zone */ #define PCCCSTS90 PCCCSTSBASE+0x90 /* Remote station cannot buffer command. */ #define PCCCSTSA0 PCCCSTSBASE+0xA0 /* No ACK received */ #define PCCCSTSA2 PCCCSTSBASE+0xA2 /* Network is dead */ #define PCCCSTSA4 PCCCSTSBASE+0xA4 /* COM port hardware problem */ #define PCCCSTSA5 PCCCSTSBASE+0xA5 /* Packet is too large */ #define PCCCSTSA7 PCCCSTSBASE+0xA7 /* Illegal station address seen */ #define PCCCSTSA8 PCCCSTSBASE+0xA8 /* Not getting solicited */ #define PCCCSTSA9 PCCCSTSBASE+0xA9 /* Service/LSAP not supported */
#define PCCCSTSB0 PCCCSTSBASE+0xB0 /* Remote station problem, due to download.
*/ #define PCCCSTSC0 PCCCSTSBASE+0xC0 /* Cannot execute command, due to IBP's. */
#define PCCCEXTBASE 0x200 /* pccc Extended sts base */
#define PCCCEXT01 PCCCEXTBASE+1 /* Illegal Address Format; a field has an illegal value. */ #define PCCCEXT02 PCCCEXTBASE+2 /* Illegal Address Format; not enough fields specified. */ #define PCCCEXT03 PCCCEXTBASE+3 /* Illegal Address Format; too many fields specified. */ #define PCCCEXT04 PCCCEXTBASE+4 /* Illegal Address; symbol not found. */ #define PCCCEXT05 PCCCEXTBASE+5 /* Illegal Address Format; symbol is 0 or greater than 8 characters. */ #define PCCCEXT06 PCCCEXTBASE+6 /* Illegal Address; address does not exist. */ #define PCCCEXT07 PCCCEXTBASE+7 /* Illegal size. */ #define PCCCEXT08 PCCCEXTBASE+8 /* Cannot complete request, situation changed during multipacket operation. */ #define PCCCEXT09 PCCCEXTBASE+9 /* Data is too large. */ #define PCCCEXT0A PCCCEXTBASE+0x0a /* Size too big */ #define PCCCEXT0B PCCCEXTBASE+0x0b /* No access, privilege violation. */ #define PCCCEXT0C PCCCEXTBASE+0x0c /* Resource is not available */ #define PCCCEXT0D PCCCEXTBASE+0x0d /* Resource is already available. */ #define PCCCEXT0E PCCCEXTBASE+0x0e /* Command cannot be executed. */ #define PCCCEXT0F PCCCEXTBASE+0x0f /* Overflow; histogram overflow. */ #define PCCCEXT10 PCCCEXTBASE+0x10 /* No access. */ #define PCCCEXT11 PCCCEXTBASE+0x11 /* Incorrect Type data */ #define PCCCEXT12 PCCCEXTBASE+0x12 /* Bad Parameter */ #define PCCCEXT13 PCCCEXTBASE+0x13 /* Address reference exists to deleted area */ #define PCCCEXT14 PCCCEXTBASE+0x14 /* Command Execution failure for unknown reason */ #define PCCCEXT15 PCCCEXTBASE+0x15 /* Data conversion error */ #define PCCCEXT16 PCCCEXTBASE+0x16 /* 1771 rack adapter not responding */ #define PCCCEXT17 PCCCEXTBASE+0x17 /* Timed out, 1771 backplane module not responding */ #define PCCCEXT18 PCCCEXTBASE+0x18 /* 1771 module response was not valid: size, checksum,etc */ #define PCCCEXT19 PCCCEXTBASE+0x19 /* Duplicated label */ #define PCCCEXT1A PCCCEXTBASE+0x1a /* File is open - another station owns it */ #define PCCCEXT1B PCCCEXTBASE+0x1b /* Another station is the program owner */