Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 17 of 23

Bulletin 1771 Communication Controller Module (Cat. Nos. 1771-KE, -KF) User's Manual, pages 161 to 170

Pages 161 to 170 of 228

The original document is the PDF (9.6 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 1771-KE

Page 161 read from a scan by OCR; it may hold reading errors

Page 7-5 Error Reporting

- 30: A command rung syntax error has been detected in RUN mode after the pre-scan. This means that either the communication zone has been altered by online editing, hardware problems, or a highway download operation, or that it has been moved by a gap or ungap of a rung before the zone, or by changing the data table size.

- 31: This will not be generated by rev F (1771-KA). Previous modules generated this code if the start bit scanner detected a hard error on the PC-to-module cable.

- 32: The data block of a read or write command is too large to fit in one Data Highway message. This error causes the module to enter an error state.

- 83: An invalid command code was detected by the start bit scanner. This has the same cause as error #30. This error causes the module to enter an error state.

- 34: An invalid station address was detected by the start bit scanner. See error #30. This error causes the module to enter an error state.

- 35: The KA attempted to send an unprotected write or bit control command while the DIP switch that enables unprotected commands was off. This can only occur at run time if the DIP switch that controls this option was changed without removing power from the module.

- 86: The start bit was turned off after a message was sent but before the done bit, local error, or remote error bit was set. This is the situation that causes the local error to turn on, then off for 85 ms after the start bit is reset. The error code word is set before the local error bit turns on.

- 37: The start bit was timed out by the automatic module timer before a reply message arrived. This happens for one of the following reasons:

e Noise on the highway causes loss of a message. In this case the message probably will succeed if it is re-tried.

® The remote station powered down or was disconnected from the highway while it was processing the message. If the message is re-tried it should get a 92 error.

® The timeout is too short. The minimum recommended timeout value is 2 seconds. With a resolution of one second this allows the actual timeout to occur as soon as one second or as late as 2 seconds.

e A highway loading peak caused the timeout to be exceeded. If this is a rare occurance it might be acceptable to just re-try the message. Small (< 100%) increases in the timeout should eliminate this problem.

Page 162 read from a scan by OCR; it may hold reading errors

Page 7-6 Error Reporting e Malfunction of a highway station is causing it to retain mastership for long periods of time. Check for a station with a faulty receiver, or a bad highway cable. The internal diagnostic counters will be most helpful in tracking this one.

- 50: Not used. Prior to rev F (1771-KA) this may have occurred if a PC hard error occurred while processing a reply message.

- 51: The reply message contains an invalid rung number. This should never occur unless PCs are sending messages to a computer program that is not yet functioning properly. This error will not cause the setting of an error bit or done bit.

- 52: A reply has been received at a PC that cannot send messages because it has no command rungs. This should never occur unless faulty reply messages are sent by a computer under debug. This error will not cause the setting of an error bit or done bit.

- 53: A reply message has been received for which the start bit is off. This could mean that the user program turned off the start bit before the done bit came on, or that the automatic timeout is too short. This error often follows a 36 or 37 error. This error will not cause the setting of an error bit or done bit.

- 54: Runtime command rung syntax check failed. This is probably the result of on-line editing. This error will cause the module to enter the error state. See error 30.

- 55: Reply received while PROG light is on or during program mode. This will possibly occur if messages are being executed remotely at the time a runtime syntax check fault occurs, or if the keylock is turned to program mode while messages are being executed. This will not cause the setting of an error bit or done bit.

- 56: The sequence number in a reply message does not match the one being waited for. This is to be expected if the start bit is turned on, a message is sent, then the start bit is turned off and on again before the done bit is set. This error will not cause the setting of an error bit or done bit.

- 57: A reply message has an incorrect size. This should not occur except during the debug of a new highway computer program. This will not cause the setting of a done bit or error bit.

Page 163 read from a scan by OCR; it may hold reading errors

Page 7-7 Error Reporting

- 81: This error is sent from the remote station if the command message was incorrect. This includes the command code, subcommand code, and size of the command or the requested reply size. This error results in the setting of the remote error bit for the associated rung. This error code corresponds with STS code 10.

- 82: Not used for 1771-KA. The meaning of this code has been assigned to verification errors within the host PC. This error code corresponds with STS code 20.

- 83: Some condition exists at the remote PC that requires manual intervention. This error code corresponds with STS code 30. .

@ The cable between the module and the PC is unplugged. e The PC is faulted.

Either results in setting the remote error bit for the associated rung.

- 84: Execution of a message at the remote station was aborted because of a hard communication error on the cable or on backplane access between the module and the PC. This error results in the setting of the remote error bit for the associated rung. This error code corresponds with STS code 40.

- 85: An attempt to access an illegal address in the remote PC has aborted message execution. Illegal accesses may result from:

® Access outside the data table as defined at the remote station.

e Access outside a memory access window (protected commands only).

Hither results in setting the remote error bit for the associated rung. This error code corresponds with STS code 50.

- 86: Execution of a command is disabled at the remote station by a DIP switch option. This error results in setting the remote error bit for the associated rung. This error code corresponds with STS code 60.

- 87: The remote PC is in PROGRAM or REMOTE PROGRAM mode, or the remote KA is in download mode. This error results in setting the remote error bit for the associated rung. This error code corresponds with STS code 70.

- 88: Execution of protected commands at the remote station is inhibited because its PROG light is on. This error results in setting the remote error bit for the associated rung. This error code corresponds with STS code 80.

Page 164 read from a scan by OCR; it may hold reading errors

Page 7-8 Error Reporting

- 89: The remote station has no memory to store messages. This error will only be signalled after 5 re-tries at half second intervals. It indicates that either a very heavy traffic load is being presented to the remote station, or that the dynamic memory of the remote station is corrupted. If the problem clears up after cycling power and does not recur, the cause may be RAM or CPU failures triggered by heat or noise. If the problem recurs repeatedly the probable cause is too many messages. This error code corresponds with STS code 90.

- 91: The RS-232-C port is not connected to a device or the DSR pin is not being asserted (high = true). This error code corresponds with STS code 01.

- 92: The local station cannot confirm delivery of a command message to the remote station. This does not necessarily mean that the message was not sent or that the done bit or remote error bit will not be set. It is possible, but not probable, that the message will be executed at the remote station. The local error bit will be set by this error. If the done or remote error bits are set they will occur after the local error bit. Reasons for this error include:

e Disconnection of the Data Highway ® Noise on the highway e Bad cabling or connections e Remote station is powered off

¢ Remote station does not exist e Wrong station address is being used e Remote module is faulted e Some module on the highway is in a “bus hog” condition, and prevents proper operation of the highway.

If an error 92 persists, the internal diagnostic counters should be used to pinpoint the location of the faulty module or cable. This error code corresponds with STS code 02.

- 93: This error will occur if the local module, while attempting to send a message, detects another master on the highway. The local error bit for the rung that sent the message will be set. Like error 92, this error does not mean that the message was not received. It is quite probable that the message will be executed. If it is, the done bit or remote error bit may be set after the local error bit if the start bit stays on. If the start bit is unlatched by the local error bit, a 58 or 56 error may result. Occurrance of this error is probably related to general highway conditions, not to the message or the stations sending and receiving it. The message should be re-tried. Possible causes of this error are:

e Connection of two operating highways

Page 165 read from a scan by OCR; it may hold reading errors

Page 7-9 Error Reporting

7.1.1 Local And Remote Error Bits

7.2 Error Codes for 1775-KA e Connection of a powered up module to an operating highway e Noise on the highway e Bad cabling or connections

Error 93 is rare but not impossible on a well functioning highway. If it persists, the internal diagnostic counters should be used to pinpoint the location of the faulty module or cable. This error code corresponds with STS code 03.

As a diagnostic tool, these bits are useful to identify the rung that caused an 80- or 90-series error.

The remote error bit indicates that a message was received from the remote station that some condition there prevented successful execution of the message. When a remote error is indicated there is probably nothing wrong with the local station, or with the highway cable. The remote station is most hkely working properly. The first causes to investigate are indicated by the various codes.

Setting of a local error bit indicates that the local module is not able to confirm delivery of the command message to the remote station, or that the command rung timed out before the reply message arrived. A local error does not necessarily mean that the message was not received at its destination or that it will not be executed.

This section describes error codes that the 1775-KA module will report to the PLC-3 application program. Errors are of three types:

® Local ® Reply e Remote

Local errors are those that the 1775-KA module encounters while trying to execute one of its own message procedures.

Reply errors are those that the 1775-KA module inserts in the STS byte of a reply that it generates in response to a command from a remote station.

Remote errors are those that are returned to the 1775-KA module in a reply message from a remote Data Highway station.

NOTE: the frame of reference in this chapter is that of the 1775-KA. All error codes listed here are a result of some action of a 1775-KA.

Error 93 is rare but not impossible on a well functioning highway. If it persists, the internal diagnostic counters should be used to pinpoint the location of the faulty module or cable. This error code corresponds with STS code 03.

Page 166 read from a scan by OCR; it may hold reading errors

Page 7-10 Error Reporting

7.2.1

Local Error Codes

The 1775-KA module stores local error codes under the user symbol ERROR. Possible local errors are as listed below.

EXT STS Code STS Code Error (if applicable) (if applicable) Code Meaning

32 The size of the local file involved in a file assignment command is greater than 65,535 bytes.

34 A station number greater than 376 (octal) was specified for the remote address in an assignment command.

35 Attempt to send unprotected command is invalid.

37 The per-packet timeout, which can be set through LIST, ran out before a reply was received. This means that the remote station acknowledged (ACK) the command message, but did not send the reply in the allotted time. (cf. error 92)

02 92 The remote station specified does not acknowledge (ACK) the message. See discussion of Error 92 in section 1.1. 04 94 Local port is disabled through LIST.

112 1. Undefined assignment operator in an assignment statement. 2. Undefined operator in an expression.

114 lilegal expression syntax.

115 IHlegal unary (prefix) operator in an expression.

117 Undefined data following a valid address in a CREATE command, or undefined data following a valid symbol ina DELETE command.

121 Symbol undefined. This will occur if a symbol appears as the source in an assignment command before it is defined as a symbol. For example, a statement of the form

A=A+6 will give this error if user symbol ‘A’ has not appeared previously.

123 System symbol must be a symbolic address. This error will occur if a procedure name is used in place of a symbolic address in an assignment statement or if the system symbol referenced in an assignment doesn’t exist.

124 lIlegal destination in an assignment command. This does not necessarily mean that an assignment command was desired because any command line that doesn’t look like anything else is assumed to be an assignment command. Lines that will generate this error include:

5=4+1 6ASDFGHJ Whereas the line WERTYUI will generate an error 140 (unrecognized command).

125 Illegal modifier for the CREATE command. That is, the command was CREATE/... and the ... was other than LOCAL, GLOBAL, ora legal abbreviation of one of these.

Page 167 read from a scan by OCR; it may hold reading errors

Page 7-11 Error Reporting

EXT STS Code STS Code Error (if applicable) (if applicable) Code Meaning

126 The CREATE command was specified, but the symbol did not begin with an ‘@’.

127 “$” missing in CREATE system symbol address.

129 Attempt to delete nonexistent symbol.

140 Unrecognized or ambiguous command. (cf. error 124) 142 Illegal data following GOTO command.

143 Illegal use of label (eg., not in a procedure).

144 Label not found. 145 Duplicate label. User symbols must be distinct from labels. 146 Too many nested procedures.

147 Insufficient privilege for the specified operation. This error can occur when an attempt is made, via the assignment command, to write into a major section of memory in which the 1775-KA module does not have access privileges (namely, major section 0, 1, or 2).

148 Unbalanced parenthesis in expression.

149 A procedure name was used in a field that required a symbolic address or a user symbol variable.

150 A label was used in a field that required a symbolic address or a user symbol variable.

154 Error in reading address for symbol entry.

156 illegal symbo! in expression.

159 Bad level specified in extended address.

1. More than 9 levels were specified in an extended address.

2. Something other than a‘(’ or a number followed a *.’ in an extended address.

160 Unrecognized section specifier. An illegal character followed the “$” in an address.

161 Bad timer or counter specification.

1. The first letter of the data table address is a T, C, or P, but there are not 4 characters in the specification. Incorrect addresses that would cause this error include C:15, $C5:3, CCUM:23, etc.

2. The key data table word specifier was 4 characters long and began with aT, C, or P, but it did not match the legal word specifiers (e.g., $TACM'3).

3. There was no colon following a legal! word specifier.

163 Missing colon between file and word. 164 Illegal word specifier in a data table address. 165 legal context specifier. When an expression determined the context in a data table address, or when the global context (context 0) was specified in a data table address, a colon followed the context.

166 Attempt to execute a symbol not defined as a process. The system symbol exists but refers to a symbolic address rather than to a process.

169 Either the number or the expression foltowing the ‘/ in an address nas a value outside the range 0 to 15 (decimal).

Page 168 read from a scan by OCR; it may hold reading errors

Page 7-12 Error Reporting

EXT STS Code STS Code Error (if applicable) (if applicable) Code Meaning

171 Value specified in a bit assignment statement was other than a zero or aone.

177 Illegal use of EXIT command.

178 Illegal use of STOP command.

179 STOP encountered in procedure.

188 Attempt to read/write at bad address.

189 Unable to evaluate the expression in the given base. This will occur, for example, if the argument of a FROM_BCD function is not a valid BCD bit pattern. It will also occur when invalid characters occur in numeric values (e.g., “87 + 12X”).

192 Function being used is not defined.

194 Expression is too complex.

199 Attempt to divide by zero.

200 Bad port specifier. That is, the character following the ‘#’ is other than ‘H’, ‘h’, ‘M’, or ‘m’.

201 User symbol used as part of remote address specification.

202 Undefined data following assignment command. This error would occur, for instance, if the modifier UNRPOT were used instead of UNPROT.

203 Error in remote specification.

1. A character other the ‘@’ or ‘$' following the station number specification (...+#HO45*T...).

2. Something other than EOL, PROT, or UNPROT following a remote source address (... = #HO012$S5:8 + 9).

204 Third-party transfer. That is, in an assignment command, both the source and the destination were remote addresses.

205 Error in evaluating a PLC-2 address, or PLC-2 address greater than 65,535.

206 Zero range specified in an assignment command.

207 Word range specified in destination address.

208 Destination and source addresses disagree in type.

209 Not of Data Highway message type.

210 Use of a non-PLC-3 type address in a local address operand.

211 In an assignment command, one of the local files does not exist, or the word specified is beyond the end of the file.

213 A local file exists, but the action specified refers to addresses beyond the end of the file. Possible causes include:

1. Ina word assignment statement, the offset is greater than the file size.

2. In a word range assignment statement, the sum of the base address and the offset is greater than the total file size.

3. In a file assignment statement, the destination file is smaller than the source file. If the source file is remote, a single packet will be fetched from the remote station’s file.

214 Local source and destination files differ in size.

Page 169 read from a scan by OCR; it may hold reading errors

Page 7-13 Error Reporting

EXT STS Code STS Code Error M . (if applicable) (if applicable) Code eaning 215 The value resulting from operations specified on the left side of an assignment statement will not fit into the destination specified on the right side. 1. The source is in the H section and the destination is in the N section, but the number is too large (i.e., outside the range -32768 to +32767). 2. Aword is transferred from a binary section (1, O, or B section) to the N or C section and the high-order bit is a 1. 3. The destination is in the D section, but the number is nota valid BCD bit pattern. 217 More than 8 levels specified in file address. 218 File size changed between packets of a multi-packet transaction. 230 Reply packet too small.

7.2.2. The 1775-KA module inserts the reply error code in the STS or Reply ErrorCodes EXT STS bytes of any reply message packet it returns to a remote station. For reply errors, there is a direct correlation between the error codes in the STS and EXT STS bytes of reply messages and the error codes stored at the command station. Refer to section 7.4.2 for EXT STS bytes.

The meaning of each error code depends on the command message received from the remote station. The sections below describe the error conditions that the various commands can generate. The error codes are listed according to the decimal value that would be stored at the command initiating station.

When a remote station transmits one of the commands listed below, the local 1775-KA module might issue a reply message that contains one of the error codes listed under that command. Error codes 81 to 88 appear in the STS byte of the reply message, and codes 231 to 241 appear in the EXT STS byte. PLC-2 and PLC family processors can only display error codes contained in the STS byte (80-89). Error codes contained in the EXT STS bytes are only available if either another PLC-3 or computer originates the command message.

Page 170 read from a scan by OCR; it may hold reading errors

Page 7-14 Error Reporting

7.2.2.1

Diagnostic Read Command

EXT STS Code STS Code Error (if applicable) (if applicable) Code Possible Causes 10 81 1. A2-byte ADDR field and a 1-byte SIZE field are missing after the FNC byte in the command message. 2. The number of bytes of data requested in the SIZE field is greater than the maximum number allowed per reply packet (244), or SIZE is 0 (zero). 50 85 The command is an illegal request to read from the 1775-KA module’s backplane window. 7.2.2.2 Diagnostic Status Command EXT STS Code STS Code Error (if applicable) (if applicable) Code Possible Causes 40 84 A backplane error occurred during determination of the physical address of the end of the ladder diagram program or of the end of user memory. 7.2.2.3 PLC/PLC-2 Word Write Commands EXT STS Code STS Code Error (if applicable) (if applicable) Code Possible Causes 10 81 1. A2-byte ADDR field is expected after the TNSW word, but only one byte is present. 2. There is an odd number of data bytes in the command packet. 3. The ADDR value is odd (that is, it does not specify a word address). 30 83 The local 1775-KA module has executed a shutdown request to the local PLC-3 processor. 40 84 Local PLC-3 backplane error (either memory parity or timeout/ disconnect). 50 85 1. The destination file does not exist in PLC-3 memory. 2. The destination word does not exist in the destination PLC-3 file. 3. The length of the destination file is greater than 65,535 words. 60 86 Local keyswitch setting prohibits writing into desired destination file. 70 87 The local PLC-3 processor is in program mode. There may or may not be a major system fault.