Rockwell Automation 1785 PLC-5 Quick Reference
Rockwell Automation 1785 PLC-5 Quick Reference

Rockwell Automation 1785 PLC-5 Quick Reference

Plc-5 programmable controllers

Advertisement

Quick Links

Front Panels ........................ 1-1
Processor Comparison ......... 1-6
1771 I/O Chassis ............... 1-10
Power Supplies.................. 1-11
Keyswitch.......................... 1-13
Processor Status File ......... 1-14
I/O Status File .................... 1-30
Hardware Components
1785 PLC-5 Programmable Controllers
Quick Reference
Data Table Files ...................2-1
Program Files ......................2-4
I/O Image Addressing ...........2-5
Logical Addressing...............2-6
Indexed Addressing..............2-7
Indirect Addressing ..............2-7
I/O Addressing Modes ..........2-8
I/O Placement ......................2-8
Concept Summary................2-9
Addressing
Status Bits........................... 3-1
Relay................................... 3-2
Timer .................................. 3-5
Counter ............................... 3-7
Compare ............................. 3-9
Compute ........................... 3-12
Logical .............................. 3-22
Conversion ........................ 3-24
Bit Modify and Move.......... 3-26
File .................................... 3-28
Diagnostic ......................... 3-30
Shift Register..................... 3-32
Sequencer ......................... 3-35
Program Control ................ 3-36
Processor Control and
Message ........................... 3-41
Block and ControlNet
Transfer ............................ 3-43
ASCII ................................. 3-47
Instruction Set
Chassis Backplane............... 4-1
Chassis Configuration .......... 4-3
Complementary I/O .............. 4-4
Enhanced and
Ethernet PLC-5 .................... 4-7
ControlNetwork Address .... 4-11
Classic PLC-5 .................... 4-12
Ethernet Jumper ................ 4-21
Switch Settings
General .........................5-1
Communication .............5-3
PLC-5/40L and PLC-5/60L
Communication ....................5-5
Status and Transmit .............5-7
Status Indicators ..................5-8
General ..............................5-12
Adapter Mode .............5-14
Scanner Mode.............5-15
Remote I/O .........................5-17
Extended Local I/O .............5-25
Flex I/O ControlNet .............5-28
1771 I/O ControlNet............5-29
ControlNet I/O Status..........5-30
ControlNet Errors................5-35
Fault Codes ........................5-45
Troubleshooting

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 1785 PLC-5 and is the answer not in the manual?

Questions and answers

Summary of Contents for Rockwell Automation 1785 PLC-5

  • Page 1: Table Of Contents

    1785 PLC-5 Programmable Controllers Quick Reference Enhanced and Ethernet PLC-5 Status Bits......3-1 General ......5-1 Relay........3-2 Communication .....5-3 Timer ........3-5 PLC-5/40L and PLC-5/60L Counter ....... 3-7 Communication ....5-5 Compare ......3-9 Ethernet Compute ......3-12 Status and Transmit .....5-7 Logical ......
  • Page 2 Using this Manual This Quick Reference provides information frequently needed for using and maintaining your Allen-Bradley PLC-5 processor. It is intended for reference purposes only, and not as the sole source of information. For more specific information on any topic in this Quick Reference, see: •...
  • Page 3 The Safety Guidelines for the Application, Installation, and Maintenance of Solid State Control, publication SGI-1.1 (available from your local Allen-Bradley office), describes some important differences between solid-state equipment and electromechanical devices which should be taken into consideration when applying products such as those described in this publication. Reproduction of the contents of this copyrighted publication, in whole or in part, without written permission of Allen-Bradley Company, Inc.
  • Page 4 You see this symbol in the lower right-hand corner of the page when information is continued on the next page. © 1999 Rockwell Automation PLC, PLC-2, PLC-3, PLC-5, PLC-5/10, PLC-5/11, PLC-5/12, PLC-5/15, PLC-5/20, PLC-5/25, PLC-5/30, PLC-5/40, PLC-5/40L, PLC-5/60, PLC-5/60L, PLC-5/80, PLC-5/20E, PLC-5/40E, PLC-5/80E, PLC-5/250, PLC-5/20C, PLC-5/40C, PLC-5/80C, Ethernet, and DH+ are trademarks of Rockwell Automation.
  • Page 5 Front Panel – Enhanced PLC-5 Processors PLC-5/11 Processor PLC-5/20 Processor Indicators: Battery (red) Keyswitch Processor RUN/FAULT (green/red) Force (amber) Channel 0 communication status (green) Install memory module here Channel 0 - on-board serial port Channel 1A status Battery holder indicator (green/red) Channel 1B status Connect programming terminal indicator (green/red)
  • Page 6 Hardware Components Front Panel PLC-5/30, -5/40, -5/60, PLC-5/40L, -5/60L Processor -5/80 Processor Channel 2B Indicators: status indicator (green/red) Battery (red) Keyswitch Processor RUN/FAULT (green/red) Channel 2A status Force (amber) Channel 2 status indicator (green/red) Communication ACTIVE/FAULT indicator (green/red) status (green/red) Connect programming terminal here Channel 2 when channel 2A is configured for...
  • Page 7 Front Panel – Ethernet PLC-5 Processors PLC-5/20E Processor PLC-5/40E, -5/80E Processor Indicators: Indicators: Battery (red) Battery (red) Keyswitch Processor RUN/FAULT (green/red) Force (amber) Keyswitch Processor RUN/FAULT Force (amber) (green/red) Channel 2 Ethernet Channel 0 communication Channel 2 Ethernet status indicators status (green) status indicators Communication...
  • Page 8 Hardware Components Front Panel Front Panel – ControlNet PLC-5 Processors PLC-5/20C15 Processor PLC-5/40C15, -5/80C15 Processor Battery Battery Keyswitch Keyswitch Processor RUN/FAULT Processor RUN/FAULT Force Force I/O Status Indicator I/O Status Indicator Channel 0 Communication Channel 2 Status Indicators Channel 2 Status Indicators Channel 0 Communication ACTIVE/FAULT ACTIVE/FAULT...
  • Page 9 Hardware Components Front Panel – Classic PLC-5 Processors PLC-5/10 Processor PLC-5/12, -5/15, -5/25 Processor Indicators: DH+ communication indicator ACTIVE/FAULT Battery (red) (green/red) Processor RUN/FAULT (green/red) REM I/O indicator ACTIVE/FAULT Force (amber) (green/red) Keyswitch Adapter indicator (green) Battery holder Write the DH+ Connect programming network station terminal here...
  • Page 10 Hardware Components Processor Comparison Comparison Chart for PLC-5 Family Processors Processor Memory Local Remote Chassis I/O Capacity Communication (Words) Chassis (I/O Racks) PLC-5/10 1 resident none DH+ link 128 (8-pt) , 256 (16-pt) , 512 (32-pt) PLC-5/12 1 resident none adapter, DH+ link 128 (8-pt) , 256 (16-pt)
  • Page 11 PLC-5 comparison chart continued... Processor Memory Local Remote Chassis I/O Capacity Communication (Words) Chassis (I/O Racks) PLC-5/20 1 resident • 1 channel (remote I/O scanner, adapter, DH+ link) • 512 (3 I/O racks) • 1 channel DH+ link • 512 inputs and 512 outputs using 16- or •...
  • Page 12 Hardware Components Processor Comparison PLC-5 comparison chart continued... Processor Memory Local Remote Chassis I/O Capacity Communication (Words) Chassis (I/O Racks) PLC-5/40 1 resident • 4 channels (remote I/O scanner, adapter, DH+ link) • 2048 • 1 RS-232, RS-422, RS-423 serial port (15 I/O racks) •...
  • Page 13 PLC-5 comparison chart continued... Processor Memory Local Remote Chassis I/O Capacity Communication (Words) Chassis (I/O Racks) 1 resident up • 2 channels (remote I/O scanner, adapter, DH+ link) PLC-5/60L • 3072 to 16 • 1 RS-232, RS-422, RS-423 serial port (23 I/O racks) •...
  • Page 14 Hardware Components 1771 I/O Chassis 1-10 1771 I/O Chassis for PLC-5 Family Processors Catalog Number Chassis Size Mounting Power Supply Socket Backpanel 19” Rack 1771-A1B 4-slot left 1771-A2B 8-slot left 1771-A3B 12-slot 1771-A3B1 12-slot left 1771-A4B 16-slot left urÃQG8$Ã…‚pr††‚…†Ãh…rÃhy†‚Ãp‚€ƒh‡viyrÐv‡uà && 6 Ã6!ÃhqÃ6#Ãpuh††v†Ãv‡uÆy‚‡Ãƒ‚r…ƈƒƒyvr†Ã‚y’ When using these processors with the Only this mode of addressing is 1771-A1, A2, and A4 chassis:...
  • Page 15 Power Supply Modules in a Chassis (containing a PLC-5 processor) Output Output Current (in amps) when Parallel with: Power Supply Current Power Supply Input Power (in Amps) P4S1 P6S1 Location 1771-P3 120V ac slot 1771-P4 120V ac slot 1771-P4S 120V ac slot 1771-P4S1 100V ac...
  • Page 16 Hardware Components Power Supplies 1-12 Power Supplies in a Remote Chassis (1771-ASB) or an Extended Local I/O Chassis (1771-ALX) Output Current Output Current (in amps) when Parallel with: Power Supply Power Supply Input Power (in Amps) P4S1 P6S1 Location 1771-P3 120V ac slot 1771-P4...
  • Page 17 Front Panel Keyswitch Keyswitch Position Operation PROG PROG Execute programs (with outputs enabled) Execute programs (with outputs disabled) Save program to disk Restore programs Create or delete: ladder files, SFC files, data table files Edit online: ladder files and SFC files (program files already exist) Force live outputs Prohibit processor from scanning program...
  • Page 18 Hardware Components Processor Status File 1-14 Processor Status File This word of the status file: Stores: Arithmetic flags • bit 0 = carry • bit 1 = overflow • bit 2 = zero • bit 3 = sign Processor status and flags Description RAM checksum is invalid at power-up processor in RUN mode...
  • Page 19 processor status file continued This word of the status file: Stores: Global status bits: • S:7/0-7 - - rack fault bits for racks 0-7 • S:7/8-15 - - rack queue-full bits for racks 0-7 See also S:27, S:32, S:33, S:34, and S:35 Last program scan (in ms) Maximum program scan (in ms) Switch setting information...
  • Page 20 Hardware Components Processor Status File 1-16 processor status file continued... This word of the status file: Stores: S:10 Minor fault (word 1) Description battery is low (replace in 1-2 days) DH+ active node table has changed STI delay too short, interrupt program overlap EEPROM memory transfer at power-up edits prevent SFC continuing;...
  • Page 21 processor status file continued... This word of the status file: Stores: S:11 Major fault Description corrupted program file (codes 10-19) corrupted address in ladder file (codes 20-29) programming error (codes 30-49) SFC fault (codes 71-79) error while assembling program (code 70); duplicate LBLs found start-up protection fault;...
  • Page 22 Hardware Components Processor Status File 1-18 processor status file continued... This word of the status file: Stores: S:12 Fault codes Code Description user-defined failed data table check bad user program checksum bad integer operand type bad mixed mode operand type not enough operands for instruction too many operands for instruction bad instruction found...
  • Page 23 processor status file continued... This word of the status file: Stores: S:12 continued... Fault codes Code Description too few subroutine parameters jump to non-ladder file CAR routine not 68000 code bad timer parameters entered bad PID delta time entered PID setpoint out of range invalid I/O specified in an immediate I/O instruction invalid use of return instruction FOR loop missing NXT...
  • Page 24 Hardware Components Processor Status File 1-20 processor status file continued... This word of the status file: Stores: S:12 continued... Fault codes Code Description duplicate labels SFC subchart is already executing tried to stop an SFC that is not running maximum number of SFC subcharts exceeded SFC file error SFC contains too many active steps SFC step loops back to itself...
  • Page 25 processor status file continued... This word of the status file: Stores: S:12 continued... Fault codes Code Description scanner channels are overloading the remote I/O buffer; too much data for the processor to process Sidecar module extensive memory test failed Sidecar module undefined message type Sidecar module requesting undefined pool Sidecar module illegal maximum pool size Sidecar module illegal ASCII message...
  • Page 26 Hardware Components Processor Status File 1-22 processor status file continued... This word of the status file: Stores: S:12 continued... Fault codes Code Description Sidecar module transfer protection violation; for PLC-5/26, -5/46, and -5/86 processors only ControlNet scheduled output data missed ControlNet input data missed Not used Reserved...
  • Page 27 processor status file continued... This word of the status file: Stores: S:17 Minor fault (word 2) Description BT queue full to remote I/O queue full – channel 1A; maximum remote block transfers used queue full – channel 1B; maximum remote block transfers used queue full –...
  • Page 28 Hardware Components Processor Status File 1-24 processor status file continued... This word of the status file: Stores: S:24 Indexed addressing offset S:25 Reserved S:261. User control bits Description Restart/continuous SFC: when reset, processor restarts at first step in SFC. When set, processor continues with active step after power loss or change to RUN Start-up protection after power loss: when reset, no protection.
  • Page 29 processor status file continued... This word of the status file: Stores: S:29 Fault routine file S:30 STI setpoint S:31 STI file number S:32 Global status bits: • S:32/0-7 - - rack fault bits for racks 10-17 (octal) • S:32/8-15 - - rack queue-full bits for racks 10-17 See also S:7, S:27, S:33, S:34, and S:35.
  • Page 30 Hardware Components Processor Status File 1-26 processor status file continued... This word of the status file: Stores: Classic PLC-5 processors use only 37 words for the status file. Therefore, the following descriptions apply only to Enhanced, Ethernet, and ControlNet processors. S:38 - S:45 Reserved S:46...
  • Page 31 processor status file continued... This word of the status file: Stores: S:60 Extended-local I/O channel discrete maximum scan (in ms) S:61 Extended-local I/O channel block-transfer scan (in ms) S:62 Extended-I/O channel maximum block-transfer scan (in ms) S:63 Protected processor data table protection file number S:64 The number of remote block transfer command blocks being used by channel pair 1A/1B.
  • Page 32 Hardware Components Processor Status File 1-28 processor status file continued... This word of the status file: Stores: S:79 MCP inhibit bits Bit 0 for MCP A Bit 1 for MCP B etc. S:80-S:127 MCP file number MCP scan time (in ms) MCP max scan time (in ms) The above sequence applies to each MCP;...
  • Page 33 I/O Status File Format (N:15 is defined in word S:16 of the processor status file.) Defined I/O status file Word in integer file N15:0 rack 0 N15:1 rack 3 (maximum for PLC-5/11, -5/15, -5/20, -5/20E, and -5/20C) processors N15:14 rack 7 (maximum for PLC-5/25, -5/30 processors) N15:15 N15:30 rack 17 (maximum for PLC-5/40, -5/40L, -5/40E, -5/40C processors)
  • Page 34 Hardware Components I/O Status File 1-30 Word 1 in the I/O Status File N15:14 Present Bits Fault Bits Not Used Not Used This bit: Corresponds to: Fault bits first 1/4 rack starting I/O group 0 second 1/4 rack starting I/O group 2 third 1/4 rack starting I/O group 4 fourth1/4 rack starting I/O group 6 Present bits...
  • Page 35 Word 2 in the I/O Status File N15:15 Reset Bits Inhibit Bits Not Used Not Used This bit: Corresponds to: Inhibit bits first 1/4 rack starting I/O group 0 second 1/4 rack starting I/O group 2 third 1/4 rack starting I/O group 4 fourth1/4 rack starting I/O group 6 Reset bits first 1/4 rack starting I/O group 0...
  • Page 37 Addressing Data Table Files (Enhanced, Ethernet, and ControlNet Processors) Series E and Later – Maximum Size of File Memory Used in Memory Used File-Type File Overhead for each (in 16-bit words) per 16-bit words and structures File Type Identifier Number File Word, Character, or PLC-5/11, -5/20...
  • Page 38 Addressing Data Table Files Maximum Size of File Memory Used in Memory Used File-Type File 16-bit words and structures File Type Overhead for each File (in 16-bit words) per Word, Identifier Number (in 16-bit words) Character, or Structure PLC-5/11, -5/20 PLC-5/30 PLC-5/40 PLC-5/60, -5/80...
  • Page 39: Data Table Files

    Data Table Files - Classic Processors Maximum Size of File (16-bit words and Number structures) File Description (Default Memory Used File) PLC-5/10, PLC-5/25 -5/12, -5/15 Output Image 2/file + 1/word Input Image 2/file + 1/word PLC-5 Memory Status 2/file + 1/word Data Table Bit (binary) 3-999 (3)
  • Page 40: Program Files

    Addressing Program Files Program Files Program File Number Program File Number Description Classic Enhanced, Ethernet, and ControlNet PLC-5 Processors PLC-5 Processors System Sequential Function 1 - 1999 Ladder 2 - 999 PLC-5 Memory 2 - 1999 Data Table Structured Text 2 - 1999 program Assigned as needed:...
  • Page 41: I/O Image Addressing

    I/O Image Addressing I/O data type identifier I - input device a:bbc/dd O - output device I/O rack number 00 - 03 (octal) PLC-5/10, -5/11, -5/12, -5/15, -5/20, -5/20E, -5/20C15 00 - 07 (octal) PLC-5/25, -5/30 00 - 17 (octal) PLC-5/40, -5/40L, -5/40E, -5/40C15 00 - 27 (octal) PLC-5/60, -5/60L, -5/80, -5/80E, -5/80C15...
  • Page 42: Logical Addressing

    Addressing Logical Logical Addressing Where: Is the: File address identifier. Omit for bit, word, and structure addresses (also indicates indexed addressing, see next # X F: 3. s / b page) file address File type: B - binary N - integer T - timer MG - message CT - ControlNet Transfer...
  • Page 43: Indexed Addressing

    Indexed Addressing Indexed addressing offsets an address by the number of elements you select. You store the offset value in an offset word in word 24 of the status file S:24. The processor starts operation at the base address plus the offset. You can manipulate the offset word in your ladder logic. The indexed address symbol is the # character.
  • Page 44: Concept Summary

    Addressing Module Placement I/O Addressing Modes 2-slot addressing 1-slot addressing 1/2-slot addressing • two I/O module slots = 1 group • one I/O module slot = 1 group • one half of an I/O module slot = 1 group • each physical 2-slot I/O group corresponds to one •...
  • Page 45: Status Bits

    Instruction Set Instruction Set – Status Bits Word 0 Category Mnemonic Word 1 Word 2 Status Bits: – enable TIMER (T4: n ) .PRE .ACC – timing .DN – done COUNTER (C5: n ) .PRE .ACC .OV – overflow .LEN .POS FILE (R6: n ) .UN –...
  • Page 46: Relay

    Instruction Set Relay Relay Instructions Instruction Description Examine On Examine data table bit I:012/07, which corresponds to terminal 7 of an input module in I/O I:012 rack 1, I/O group 2. If this data table bit is set (1), the instruction is true. Examine Off Examine data table bit I:012/07, which corresponds to terminal 7 of an input module in I/O I:012...
  • Page 47 relay instructions continued... Instruction Description Immediate Input This instruction updates a word of input–image bits before the next normal input-image update. For a local chassis, program scan is interrupted while the inputs of the addressed I/O group are (IIN) scanned; for a remote or ControlNet chassis, program scan is interrupted only to update the input image with the latest states as found in the remote I/O or ControlNet buffer.
  • Page 48 Instruction Set Relay relay instructions continued... Instruction Description Immediate Data If the input conditions are true, an immediate data input is initiated that updates the destination file from the private ControlNet buffers before the next normal input-image update. The Data file Input offset (232) is where the data is stored.
  • Page 49: Timer

    Timer Instructions Instruction Description Timer On Delay If the input conditions go true, timer T4:1 starts incrementing in 1-second intervals. When the accumulated value is greater than or equal to the preset value (15), the timer stops and sets the timer done bit. TIMER ON DELAY Status Bits: Rung...
  • Page 50 Instruction Set Timer timer instructions continued... Instruction Description Retentive Timer On If the input conditions go true, timer T4:10 starts incrementing in 1-second intervals as long as the rung remains true. When the rung goes false, the timer stops. If the rung goes true again, the timer continues.
  • Page 51: Counter

    Counter Instructions Instruction Description Count Up If the input conditions go true, counter C5:1 starts counting, incrementing by 1 every time the rung goes from false-to-true. When the accumulated value is greater than or equal to the preset value (10), the counter sets the counter done bit. COUNT UP Status Bits: Rung...
  • Page 52 Instruction Set Counter counter instructions continued... Instruction Description Count Down If the input conditions go true, counter C5:1 starts counting, decrementing by 1 every time the rung goes from false-to-true. When the accumulated value is less than or equal to the preset value (10), the counter resets the counter done bit.
  • Page 53: Compare

    Compare Instructions Instruction Description Compare If the expression is true, this input instruction is true. The CMP instruction can perform these operations: equal (=), less than (<), less than or equal (<=), greater than (>), greater than or equal (>=), not equal (<>). Complex expressions (up to 80 characters) are valid with Enhanced COMPARE and ControlNet PLC–5 processors only.
  • Page 54 Instruction Set Compare 3-10 compare instructions continued... Instruction Description Mask Compare Equal The processor takes the value in the Source (D9:5) and passes that value through the Mask (D9:6). Then the processor compares the result to the Compare value (D9:10). If the result and this comparison values are equal, the instruction is true.
  • Page 55 compare instructions continued... Instruction Description Source A Source B xxxxxxxxxxxxx Source A N7:5 Source B N7:10 –30 –31 –15 –14 Equal to If the value in Source A (N7:5) is = to the value in Source B (N7:10), this instruction is true. Greater than or Equal GEQ If the value in Source A (N7:5) is >...
  • Page 56: Compute

    Instruction Set Compute 3-12 Compute Instructions Instruction Description Compute If the input conditions go true, evaluate the Expression N7:4 – (N7:6 * N7:10) and store the result in the Destination (N7:3). The CPT instruction can perform these operations: add (+), subtract (–), multiply (*), divide (|), convert from BCD (FRD), convert to BCD (TOD), square root COMPUTE (SQR), logical and (AND), logical or (OR), logical not (NOT), exclusive or (XOR), negate (–), clear...
  • Page 57 compute instructions continued... Instruction Description Addition When the input conditions are true, add the value in Source A (N7:3) to the value in Source B (N7:4) and store the result in the Destination (N7:12). Status Bit Description Source A N7:3 sets if carry is generated;...
  • Page 58 Instruction Set Compute 3-14 compute instructions continued... Instruction Description Arc Tangent When the input conditions are true, take the arc tangent of the Source (F8:21) and store the result in the Destination (F8:22). The Source is interpreted as radians. (Enhanced, Ethernet, and ARCTANGENT ControlNet PLC-5 processors Status Bit...
  • Page 59 compute instructions continued... Instruction Description Clear When the input conditions are true, clear BCD file 9, word 34 (set to zero). Status Bit Description always reset Dest D9:34 0000 always reset always set always reset Cosine When the input conditions are true, take the cosine of the Source (F8:13) and store the result in the Destination (F8:14).
  • Page 60 Instruction Set Compute 3-16 compute instructions continued... Instruction Description Division When the input conditions are true, divide the value in Source A (N7:3) by the value in Source B (N7:4) and store the result in the Destination (N7:12). DIVIDE Status Bit Description Source A N7:3...
  • Page 61 compute instructions continued... Instruction Description Log to the Base 10 When the input conditions are true, take the log base 10 of the Source (N7:2) and store the result in the Destination (F8:3). The Source must be positive (greater than 0). (Enhanced, Ethernet, and LOG BASE 10 ControlNet PLC-5 processors...
  • Page 62 Instruction Set Compute 3-18 compute instructions continued... Instruction Description Negate When the input conditions are true, take the opposite sign of the Source (N7:3) and store the result in the Destination (N7:12). This instruction turns positive values into negative values and negative values into positive values.
  • Page 63 compute instructions continued... Instruction Description Square Root When the input conditions are true, take the square root of the Source (N7:3) and store the result in the Destination (N7:12). SQUARE ROOT Status Bit Description Source N7:3 always resets sets if overflow occurs during floating point to integer Destination N7:12 conversion;...
  • Page 64 Instruction Set Compute 3-20 compute instructions continued... Instruction Description Standard Deviation When the input conditions go from false-to-true, the elements in N7:1, N7:2, N7:3 and N7:4 are used to calculate the standard deviation of the values and store the result in the Destination (N7:0).
  • Page 65 compute instructions continued... Instruction Description Tangent When the input conditions are true, take the tangent of the Source (F8:15) and store the result in the Destination (F8:16). The Source must be greater than or equal to –102943.7 and less than or equal to 102943.7.
  • Page 66: Logical

    Instruction Set Logical 3-22 Logical Instructions Instruction Description When the input conditions are true, the processor evaluates an AND operation (bit-by-bit) between Source A (D9:3) and Source B (D9:4) and stores the result in the Destination (D9:5). The truth table for an AND operation is: BITWISE AND Source A D9:3...
  • Page 67 logical instructions continued... Instruction Description When the input conditions are true, the processor evaluates an OR operation (bit-by-bit) between Source A (D9:3) and Source B (D9:4) and stores the result in the Destination (D9:5). The truth table for an OR operation is: BITWISE INCLUS OR Source A D9:3...
  • Page 68: Conversion

    Instruction Set Conversion 3-24 Conversion Instructions Instruction Description Convert from BCD When the input conditions are true, convert the value in the Source (D9:3) to an integer value and store the result in the Destination (N7:12). The source must be in the range of 0-9999 (BCD).
  • Page 69 conversion instructions continued... Instruction Description Convert to Degrees Converts radians (the value in Source A) to degrees and stores the result in the Destination (Source times 180/π). RADIANS TO DEGREE Status Bit Description (Enhanced, Ethernet, and Source F8:7 ControlNet PLC-5 processors always resets 0.7853982 only)
  • Page 70: Bit Modify And Move

    Instruction Set Bit Modify and Move 3-26 Bit Modify and Move Instructions Instruction Description Bit Distribute When the input conditions are true, the processor copies the number of bits specified by Length, starting with the Source bit (3) of the Source (N7:3), and placing the values in the Destination (N7:4), starting with the Destination bit (10).
  • Page 71 bit modify and move instructions continued... Instruction Description Masked Move When the input conditions are true, the processor passes the value in the Source (D9:3) through the Mask (D9:5) and stores the result in the Destination (D9:12). This overwrites the original value in the Destination.
  • Page 72: File

    Instruction Set File Instructions 3-28 File Instructions Instruction Description File Arithmetic and Logic When the input conditions go from false-to-true, the processor reads 8 elements of N14:0, and subtracts 256 (a constant) from each element. This example shows the result being stored in the eight elements beginning with N15:10.
  • Page 73 file instructions continued... Instruction Description File Search and Compare When the input conditions go from false-to-true, the processor performs the not-equal-to comparison on 10 elements per scan for 9 scans (numeric mode) between files B4:0 and B5:0. The Mode determines whether the processor performs the expression on all elements in the FILE SEARCH/COMPARE files (ALL) per program scan, one element in the files (INC) per scan, or a specific number of Status Bits:...
  • Page 74: Diagnostic

    Instruction Set Diagnostic 3-30 Diagnostic Instructions Instruction Description File Bit Compare When the input conditions go from false-to-true, the processor compares the number of bits specified in the Cmp Control Length (48) of the Source file (#I:031) with the bits in the Reference file (#B3:1).
  • Page 75 diagnostic instructions continued... Instruction Description Diagnostic Detect When the input conditions go from false-to-true, the processor compares the number of bits specified in the Cmp Control Length (20) of the Source file (#I:031) with the bits in the Reference file (#B3:1). The processor stores the results (mismatched bit numbers) in the Result file DIAGNOSTIC DETECT (#N10:0).
  • Page 76: Shift Register

    Instruction Set Shift Register 3-32 Shift Register Instructions Instruction Description Bit Shift Left If the input conditions go from false-to-true, the BSL instruction shifts the number of bits specified by Length (5) in File (B3), starting at bit 16 (B3:1/0 = B3/16), to the left by one bit position.
  • Page 77 shift register instructions continued... Instruction Description FIFO Load When the input conditions go from false-to-true, the processor loads N60:1 into the next available element in the FIFO file, #N60:3, as pointed to by R6:51. Each time the rung goes from false-to-true, the processor loads another element.
  • Page 78 Instruction Set Shift Register 3-34 shift register instructions continued... Instruction Description LIFO Load When the input conditions go from false-to-true, the processor loads N70:1 into the next available element in the LIFO file #N70:3, as pointed to by R6:61. Each time the rung goes from (Enhanced, Ethernet, and false-to-true, the processor loads another element.
  • Page 79 Sequencer Instructions Instruction Description Sequencer Input The SQI instruction compares the Source (#I:031) input image data through a Mask (FFF0) to Reference data (#N7:11) to see if the two files are equal. The operation is controlled by the SEQUENCER INPUT information in the control file R6:21.
  • Page 80 Instruction Set Program Control 3-36 Program Control Instructions Instruction Description Master Control Reset If the input conditions are true, the program scans the rungs between MCR instruction rungs and processes the outputs normally. If the input conditions are false, all non-retentive outputs (MCR) between the MCR-instruction rungs are reset.
  • Page 81 program control instructions continued... Instruction Description Next The NXT instruction returns the processor to the corresponding FOR instruction, identified by the label number specified in the FOR instruction. NXT must be programmed on an unconditional rung that is the last rung to be repeated in a For-Next loop. NEXT Label Number Break...
  • Page 82 Instruction Set Program Control 3-38 program control instructions continued... Instruction Description Subroutine The SBR instruction is the first instruction in a subroutine file. This instruction identifies Input Parameters (N43:0, N43:1, N43:2) the processor receives from the corresponding JSR instruction. You do not need the SBR instruction if you do not pass input parameters to the SUBROUTINE subroutine.
  • Page 83 program control instructions continued... Instruction Description One Shot Falling The OSF instruction triggers an event to occur one time. Use the OSF instruction whenever an event must start based on the change of state of a rung from true-to-false, not on the resulting rung status.
  • Page 84 Instruction Set Program Control 3-40 Program control instructions continued... Instruction Description SFC Reset The SFR instruction resets the logic in a sequential function chart. When the SFR instruction goes true, the processor performs a lastscan/postscan on all active (Enhanced, Ethernet, and steps and actions in the selected file, and then resets the logic in the SFC on the SFC Reset ControlNet PLC-5 processors...
  • Page 85 Processor Control and Message Instructions Instruction Description Proportional, Integral, If the input conditions go false-to-true, the processor performs PID calculations and calculates a and Derivative new control output (for Classic PLC-5 processors). The control block (N10:0) contains the instruction information for the PID. The PID gets the process variable from N15:13 and sends the PID output to N20:21.
  • Page 86 Instruction Set Processor and Message 3-42 Processor control and message instructions continued... Instruction Description Message If the input conditions go from false to true, the data is transferred according to the instruction parameters you set when you enter the message instruction. The Control Block (MG10:10) contains status and instruction parameters.
  • Page 87 Block and ControlNet Transfer Instructions Integer (N) control block Block Transfer (BT) control block Word Offset Description Word Mnemonic Description status bits (see below) .EN thru.RW status bits requested word count .RLEN requested length transmitted word count .DLEN transmitted word length/error code file number .FILE file number...
  • Page 88 Instruction Set Block Transfer 3-44 block transfer instructions continued... PLC-5/25, -5/30, -5/40, -5/40L, -5/40C, -5/60, PLC-5/40, -5/40C, 5/60, -5/60L, PLC-5/60, -5/80, -5/80E, -5/80C -5/60L, -5/80, -5/40E, -5/80E, -5/80C processors -5/60C, -5/80, -5/40E, -5/80E, -5/80C processors processors BT queue S:32 BT queue S:34 BT queue bit #...
  • Page 89 block transfer instructions continued... Instruction Description Block Transfer If the input conditions go from false-to-true, a block transfer read is initiated for the I/O module Read located at rack 1, group 0, module 0. The Control Block (N10:100 – 5-word file) contains status for the transfer.
  • Page 90 Instruction Set Block Transfer 3-46 block transfer instructions continued... Instruction Description ControlNet I/O Transfer If the input conditions go from false to true, the data is transferred according to the instruction parameters you set when you enter the ControlNet I/O transfer instruction. The Control Block (CT21:50) contains status and instruction parameters.
  • Page 91 ASCII Instructions Status Bits: En – Enable EM – Empty Bit DN – Done Bit EU – Queue ER – Error Bit FD – Found Bit Instruction Description ASCII Test for Line If input conditions go from false–to–true, the processor reports the number of characters in the buffer, up to and including the end–of–line characters and puts this value into the position word of the control structure (R6:32.POS).
  • Page 92 Instruction Set ASCII Instructions 3-48 ASCII instructions continued... Instruction Description ASCII String Concatenate ACN If input conditions are true, the processor concatenates the string in ST38:90 with the string in (Enhanced, Ethernet, and ST37:91 and stores the result in ST52:76. ControlNet PLC-5 processors STRING CONCATENATE only)
  • Page 93 ASCII instructions continued... Instruction Description ASCII Handshake Lines If input conditions go from false-to-true, the processor uses the AND and OR masks to determine whether to set or reset the DTR (bit 0) and RTS (bit 1) lines, or leave them (Enhanced, Ethernet, and unchanged.
  • Page 94 Instruction Set ASCII Instructions 3-50 ASCII instructions continued... Instruction Description ASCII Read Line If input conditions go from false-to-true, read 18 characters (or until end-of-line) from the buffer and move them to ST50:72. The number of characters read is stored in R6:30.POS and (Enhanced, Ethernet, and displayed in the Characters Read Field of the instruction display.
  • Page 95 ASCII instructions continued... Instruction Description ASCII String Compare If the string in ST37:42 is identical to the string in ST38:90, the instruction is true. Note that this is an input instruction. An invalid string length causes the ASCII instruction error minor fault bit (Enhanced, Ethernet, and S:17/8 to be set, and the instruction is false.
  • Page 96 Instruction Set ASCII Instructions 3-52 ASCII instructions continued... Instruction Description ASCII Write If input conditions go from false-to-true, write 40 characters from ST37:40 to channel 0. The number of characters sent is stored in R6:23.POS and displayed in the characters sent field of (Enhanced, Ethernet, and the instruction display.
  • Page 97: Chassis Backplane

    Switch Assembly Settings for I/O Chassis Backplane PLC-5 Processor in the I/O Chassis Regardless of this switch Switches Addressing setting, outputs are reset when Switch either of the following occurs: Last State processor detects a 2-slot runtime error Outputs of this I/O chassis remain in their Always an I/O chassis backplane 1-slot...
  • Page 98 Switch Settings Chassis Backplane Switch Assembly Settings for I/O Chassis Backplane – 1771-ASB Remote I/O Adapter Module, 1771-ACN(R) and -ACN(R)15 ControlNet Adapter or 1771-ALX Extended Local I/O Adapter Module in the I/O Chassis Switch 1 Last State Outputs of this I/O chassis remain in their last state when a communication fault is detected by this I/O adapter. ATTENTION: We recommend that you set switch 1 to the OFF position to de-energize outputs wired to this chassis when a fault is detected.
  • Page 99: Chassis Configuration

    1771 I/O Chassis Configuration Plug Settings Using Power Supply Module in Set Y when you install a Set N when you use an the Chassis? power supply module in external power supply. the chassis. Important: You cannot power a single I/O chassis with both a power supply module and an external power supply.
  • Page 100: Complementary I/O

    Switch Settings Complementary I/O Switch Assemblies without Complementary I/O in a Remote I/O Adapter Module (1771-ASB series C and series D) Pressed in at top Closed (ON) Pressed in at bottom SW-1 Open (OFF) SW-2 I/O Rack Number First I/O Group Number Link Response: ON - for series B emulation (see next page) (see below)
  • Page 101 I/O Rack Number (without Complementary I/O 1771-ASB series C and series D) Rack Rack on = closed off = open PLC-5/15, -5/20, -5/20E, -5/20C processors address racks 01-03 PLC-5/40, -5/40E, -5/40L, -5/40C processors address racks 01-17 PLC-5/11 processor address rack 3 only PLC-5/60, -5/60L, -580, -5/80E, -5/80C processors address racks 01-27 PLC-5/25, -5/30 processors address racks 01-07 Switch Settings...
  • Page 102 Switch Settings Complementary I/O Switch Assemblies with Complementary I/O in a Remote I/O Adapter Module (1771-ASB series C and series D) Pressed in at top Closed (ON) SW-1 SW-2 Pressed in at bottom 1 2 3 4 1 2 3 4 5 6 7 8 Open (OFF) Switch Max chassis...
  • Page 103 Switch Settings – Enhanced, Ethernet, and ControlNet PLC-5 Processors, Series E or later Switch Assembly 1 Side view of PLC-5/11, -5/20, -5/20E, -5/20C processors Side view of PLC-5/30, -5/40, -5/40L, -5/40C, Switch Assembly SW1 -5/60, -5/60L, -5/80, -5/40E, -5/80E, -5/60C processors Switch Assembly SW1 1 2 3 4 5 6 7 Side View 1 2 3 4 5 6 7...
  • Page 104 Enhanced, Ethernet, Switch Settings and ControlNet PLC-5 Switch Assembly 1 processors only Station Station Station Number Number Number Side View toggle pushed down (D) on toggle pushed up (U) off...
  • Page 105 Switch Settings – Enhanced, Ethernet, and ControlNet PLC-5 Processors Switch Assembly 2 Bottom view of PLC-5/30, -5/40, -5/40L, -5/40C15, -5/60, -5/60L, -5/80, -5/40E, -5/80E, -5/80C15 processors Bottom view of PLC-5/11, -5/20, -5/20E, -5/20C15 processors Switch Assembly SW2 Switch Assembly SW2 Front of Front of processor...
  • Page 106 Switch Settings Ethernet PLC-5 Switch Assembly 3 4-10 processors only Ethernet Configuration Jumper – PLC-5/20E, -5/40E, -5/80E The Ethernet configuration jumper is located on the back of the processor. This jumper is factory set to 802.3, which is sufficient for most Ethernet networks. If your Ethernet network conforms to the DIX standard, set the jumper to ENET%.
  • Page 107 ControlNetwork Address Select your processor’s ControlNet network address by setting the two 10-digit rotary switches on the top of the processor. Network address 01 is shown NET ADDRESS For optimum throughput, assign addresses to your ControlNet nodes in a sequential order starting with 01 for the controlling processor.
  • Page 108 Classic PLC-5 Switch Settings processors only 4-12 Switch Settings – Classic PLC-5 Processors Switch Assembly Side View Top View of Module toggle pushed toward bottom on (closed) 1 2 3 4 5 6 7 8 toggle pushed toward top off (open) Switch Assembly SW1 To select: Set switch:...
  • Page 109 Station Station Station Number Number Number on = closed off = open Classic PLC-5 Switch Settings processors only 4-13...
  • Page 110 Classic PLC-5 Switch Settings processors only 4-14 Switch Settings – Classic PLC-5 Processors – Switch Assembly 2 PLC-5 Processor as an Adapter in a PLC-5, Scanner Module or VME System Bottom View of Module Side View Switch Assembly SW2 toggle pushed toward bottom on (closed) toggle pushed...
  • Page 111 Switch Settings – Classic PLC-5 Processors – Switch Assembly 2 PLC-5 Processor as an Adapter in a PLC-5, Scanner Module or VME System Bottom View of Module Side View Switch Assembly SW2 toggle pushed toward bottom on (closed) toggle pushed 1 2 3 4 1 2 3 4 5 6 7 8 toward top...
  • Page 112 Classic PLC-5 Switch Settings processors only Remote I/O Rack Number 4-16 Remote I/O Rack Number Classic PLC-5 Processor (except PLC-5/10) as an Adapter in a PLC-5, Scanner Module, or VME System Rack Rack on = closed off = open PLC-5/15, -5/20, -5/20E, -5/20C processors address racks 01-03PLC-5/40, -5/40L, -5/40E, -5/40C processors address racks 01-17 PLC-5/11 processor address rack 3 only (as remote I/O) PLC-5/60, -5/60L, -5/80, -5/80E, -5/80C processors address PLC-5/25, -5/30 processors address racks 01-07racks 01-27...
  • Page 113 Switch Settings – Classic PLC-5 Processors Switch Assembly 2 PLC-5 Processor as an Adapter in a PLC-2/20, -2/30 or Sub I/O Scanner Module System Bottom View of Module Side View Switch Assembly SW2 toggle pushed toward bottom on (closed) toggle pushed 1 2 3 4 1 2 3 4 5 6 7 8 toward top...
  • Page 114 Classic PLC-5 Switch Settings processors only I/O Rack Number 4-18 I/O Rack Number (PLC-5 Processor as an Adapter in a PLC-2/20, PLC-2/30, or Sub I/O Scanner Module System) Rack on = closed off = open...
  • Page 115 Switch Settings – Classic PLC-5 Processors Switch Assembly 2 PLC-5 Processor as an Adapter in a PLC-3 System or PLC-5/250 System (8-word groups) Bottom View of Module Side View Switch Assembly SW2 toggle pushed toward bottom on (closed) toggle pushed 1 2 3 4 1 2 3 4 5 6 7 8 toward top...
  • Page 116 Classic PLC-5 Switch Settings processors only I/O Rack Number 4-20 I/O Rack Number (PLC-5 Processor as an Adapter in a PLC-3 System or a PLC-5/250 System - 8-word groups) Rack Rack Rack on = closed off = open...
  • Page 117 Switch Settings – Classic PLC-5 Processors Switch Assembly 2 PLC-5 Processor as an Adapter in a PLC-3 System or a PLC-5/250 System (4-word groups) Bottom View of Module Side View Switch Assembly SW2 toggle pushed toward bottom on (closed) toggle pushed 1 2 3 4 5 6 7 8 1 2 3 4 toward top...
  • Page 118 Classic PLC-5 Switch Settings processors only I/O Rack Number 4-22 I/O Rack Number (PLC-5 Processor as an Adapter in a PLC-3 System or a PLC-5/250 System – 4-word groups) Rack Rack on = closed off = open...
  • Page 119 Switch Settings – Classic PLC-5 Processors Switch Assembly Bottom View of Module Switch Assembly SW3 Side View toggle pushed toward bottom on (closed) 1 2 3 4 1 2 3 4 5 6 7 8 toggle pushed toward top off (open) If the processor is: Set switch: An end device on the remote I/O link...
  • Page 121: Enhanced And Ethernet Plc-5

    Troubleshooting – Enhanced, Ethernet, and ControlNet PLC-5 Processor General Problems BATT Indicator Color Description Probable Cause Recommended Action PROG PROC green processor in RUN mode normal operation none PROC (steady) and fully operational green processor memory being normal operation none (blinking) transferred to EEPROM FORCE...
  • Page 122 Enhanced, Ethernet, Troubleshooting and ControlNet PLC-5 General Problems processors only troubleshooting – Enhanced, Ethernet, and ControlNet PLC-5 processor general problems continued... Indicator Color Description Probable Cause Recommended Action BATT PROG PROC processor in program load or TEST Check power supply and PROC mode or is not receiving power connections...
  • Page 123 Troubleshooting – Enhanced, Ethernet, and ControlNet PLC-5 Processor Communication Channel Indicator Color Channel Mode Description Probable Cause Recommended Action A or B green RIO scanner active RIO link, all adapter normal operation none (steady) modules are present and not faulted RIO adapter communicating with normal operation...
  • Page 124 Enhanced, Ethernet, Troubleshooting and ControlNet PLC-5 Communication Channel processors only troubleshooting – Enhanced, Ethernet, and ControlNet PLC-5 processor communication channel continued... Indicator Color Channel Mode Description Probable Cause Recommended Action A or B RIO scanner hardware fault hardware error Turn power off, then on. Check (continued) (steady) RIO adapter...
  • Page 125 Troubleshooting – PLC-5/40L and PLC-5/60L Processor (Only) Communication Channel Channel Indicator Color Description Probable Cause Recommended Action Mode green extended active extended normal operation none (steady) local I/O local I/O link, all BATT scanner adapter modules are present and PROG not faulted PROC FORCE...
  • Page 126 Troubleshooting Communication Channel troubleshooting – PLC-5/40L and PLC-5/60L processor (only) communication channel continued... Channel Indicator Color Description Probable Cause Recommended Action Mode extended hardware fault hardware error Turn power off, then on. (continued) (steady) local I/O Check that the software BATT scanner configurations match the...
  • Page 127: Ethernet

    Troubleshooting – Ethernet Processors Status and Transmit Indicator: Color: Description: Probable Cause: Recommended Action: BATT STAT solid red critical hardware fault processor requires internal Contact your local PROG repair Allen-Bradley representative PROC blinking red hardware or software fault fault code dependent Contact Global Technical (detected and reported via a Support (GTS)
  • Page 128: Controlnet

    ControlNet PLC-5 Troubleshooting processors only ControlNet Troubleshooting – ControlNet Processors Status Indicators I/O Indicator State Description Probable Cause(s) Recommended Action(s) ControlNet I/O not present or not Normal operation if Channel 2 not None operating being used Steady Green All nodes configured in the Normal operation None ControlNet map table present and...
  • Page 129 If still an error, replace the processor No power Check power supply Steady Red Faulted unit Cycle power or reset unit If fault persists, contact your Rockwell Automation representative or distributor Flashing Green Normal operation if processor is in FLASH No action required memory program mode...
  • Page 130 Incorrect network configuration Cycle power or reset unit Red/Green If fault persists, contact your Rockwell Automation representative or distributor Definition of terms: • alternating–the two indicators alternate between the two defined states at the same time (applies to both indicators viewed together); the two indicators are always in opposite states, out of phase •...
  • Page 131 Indicator Color Description Probable Cause Recommended Action PROC all red internal diagnostics have Power down, reseat processor and power up. REM I/O (steady) failed Then, clear memory and reload your program. COMM BATT COMM Replace EEPROM with new program. Then, if FAULT necessary, replace the processor.
  • Page 132: Classic Plc-5 General

    Classic PLC-5 Troubleshooting processors only General Problems 5-12 Troubleshooting – Classic PLC-5 Processor General Problems troubleshooting – Classic PLC-5 processors general problems continued... Indicator Color Description Probable Cause Recommended Action PROC green processor in RUN normal operation none COMM BATT (steady) mode and fully operational...
  • Page 133 Indicator Color Description Probable Cause Recommended Action PROC all red internal diagnostics have Power down, reseat processor and power up. REM I/O (steady) failed Then, clear memory and reload your program. COMM BATT COMM Replace EEPROM with new program. Then, if FAULT necessary, replace the processor.
  • Page 134: Adapter Mode

    Classic PLC-5 Troubleshooting processors only Adapter Mode 5-14 Troubleshooting – Classic PLC-5 Processors (except PLC-5/10) in Adapter Mode Indicator Color Description Probable Cause Recommended Action REM I/O green active remote I/O link normal operation none COMM (steady) BATT FAULT green remote I/O active and host normal operation none...
  • Page 135: Scanner Mode

    Troubleshooting – Classic PLC-5 Processors (except PLC-5/10 and PLC-5/12) in Scanner Mode Indicator Color Description Probable Cause Recommended Action REM I/O green active remote I/O link normal operation none (steady) COMM BATT remote I/O link fault wiring, adapter • Check all connections, check adapter (steady) module(s) module(s)
  • Page 136 Classic PLC-5 Troubleshooting processors only Scanner Mode 5-16 Troubleshooting – Classic PLC-5 Processors (except PLC-5/10 and PLC-5/12) in Scanner Mode Indicator Color Description Probable Cause Recommended Action COMM green processor is transmitting or receiving on normal operation none (blinking rapidly or DH+ link slowly) COMM...
  • Page 137: Remote I/O

    Troubleshooting – Remote I/O System, 1771-ASB series C and series D Indicators Active Adapter Description Probable Cause Recommended Action ACTIVE Fault Rack normal indication; remote adapter is fully operational ADAPTER FAULT RAM memory fault Replace module watchdog time-out Blink module placement error I/O module in incorrect Place module in correct slot in chassis slot...
  • Page 138 Classic PLC-5 Troubleshooting processors only Remote I/O 5-18 troubleshooting – remote I/O system, 1771-ASB series C and series D continued... Indicators ACTIVE Active Adapter Description Probable Cause Recommended Action Fault Rack Blink remote adapter not actively processor is in program or test Fault should be cleared by I/O scanner controlling I/O (scanner to mode...
  • Page 139 troubleshooting – remote I/O system, 1771-ASB series C and series D continued... Indicators ACTIVE Active Adapter Description Probable Cause Recommended Action Fault Rack I/O chassis fault. Problem exists between: Cycle power to the chassis to clear a problem ADAPTER communication on resulting from high noise •...
  • Page 140 Classic PLC-5 Troubleshooting processors only Remote I/O 5-20 troubleshooting – remote I/O system, 1771-ASB series C and series D continued... Indicators ACTIVE Active Adapter Description Probable Cause Recommended Action Fault Rack module not • power supply fault • Check power supply, cable connections, communicating and make sure adapter module is fully ADAPTER...
  • Page 141 Troubleshooting – Remote I/O System, 1771-ASB series B Indicator Response Description Probable Cause Recommended Action Active normal indication; Adapter Fault remote adapter is ACTIVE I/O Rack Fault fully operational Active On or off remote adapter remote adapter not operating; it Cycle power to the chassis to clear Adapter Fault fault...
  • Page 142 Troubleshooting Remote I/O 5-22 troubleshooting – remote I/O system, 1771-ASB series B continued... Indicator Response Description Probable Cause Recommended Action Active Blinking remote adapter not processor is in program or test None Adapter Fault actively controlling I/O mode ACTIVE I/O Rack Fault (scanner to adapter communication link is scanner is holding adapter module...
  • Page 143 troubleshooting – remote I/O system, 1771-ASB series B continued... Indicator Response Description Probable Cause Recommended Action (on I/O rack) Active If remote I/O • power supply fault • Check power supply, cable connections, and Adapter Fault scanner/distribution panel make sure adapter module is fully seated in •...
  • Page 144 Troubleshooting Remote I/O 5-24 troubleshooting – remote I/O system, 1771-ASB series B continued... ACTIVE Indicator Response Description Probable Cause Recommended Action (on I/O rack) Active module placement incorrect placement of Verify addressing modes and ADAPTER Adapter Fault Blinking error in remote I/O high-density modules switch settings FAULT...
  • Page 145: Extended Local I/O

    ☞ Troubleshooting – Extended Local I/O System, 1771-ALX Indicator Response Description Probable Cause Recommended Action ACTIVE Active normal indication; Adapter Fault adapter is fully I/O Rack Fault operational ADAPTER Active local adapter fault Local adapter not Cycle power to the chassis to clear FAULT Adapter Fault operating;...
  • Page 146 Troubleshooting Extended Local I/O 5-26 troubleshooting – extended local I/O system, 1771-ALX continued... Indicator Response Description Probable Cause Recommended Action Active Blinking outputs are reset • processor is in program or test • none Adapter Fault mode ACTIVE I/O Rack Fault •...
  • Page 147 troubleshooting – extended local I/O system, 1771-ALX continued... ACTIVE Indicator Response Description Probable Cause Recommended Action Active no power or no power supply fault Check power supply, cable Adapter Fault communication. connections, and make ADAPTER I/O Rack Fault sure adapter module is FAULT fully seated in chassis Active...
  • Page 148 Troubleshooting 1771 I/O ControlNet Extended Local I/O 5-28 Troubleshooting – 1794-ACN(R)15 FLEX I/O ControlNet Adapter Indicators Indicators Comm A and B Indicator Probable Cause (simultaneously) No power, or reset Adapter inoperative Flashing Red/Green Adapter self-test REDUNDANT MEDIA Flashing Red/Off Bad node configuration (duplicate address) Indicators Comm A or B (individually) Channel disabled Green...
  • Page 149 Troubleshooting – 1771-ACN(R)15 ControlNet Indicators Indicators Ch A and B (simultaneously) Cause Action No power Power up ADDRESS Faulted unit Cycle power or reset unit Flashing Red/Green Self-test None STATUS Flashing Red/Off Incorrect node Check network address and other ControlNet configuration configuration parameters Indicators Ch A or B (individually)
  • Page 150 Display Display chassis STATUS STATUS Defective adapter Contact Rockwell Automation for service POST Adapter is running Power On Self Test None None Blinking POST Module failed Power On Self Test RAM or FLASH test failed.
  • Page 151 Indicator Description Probable Cause Recommended Action Mnemonic Green RPLC Fatal Power On Self Test failure RAM or FLASH test failed.Processor Contact Rockwell Automation for fault or watchdog time-out. service None Hardware fault Defective hardware Blinking Off INIT Requires ControlNet configuration...
  • Page 152: Controlnet I/O Status

    Troubleshooting Extended Local I/O 5-32 ControlNet I/O Status The ControlNet status file is an integer data-table file that you specify and configure with the I/O map for scheduled-I/O usage. It contains status information about all of the ControlNet network’s scheduled I/O connections. Each I/O map-table entry has a status-file offset field pointing to three status words associated with the connection.
  • Page 153 The following table explains the bits in the first word of the ControlNet I/O status file: Bit Number Description Reset Bit Set this bit to put the associated connection into PROGRAM mode, even if the processor is in Run mode. Clear this bit to set the mode of the associated connection according to the processor’s mode.
  • Page 154 Troubleshooting ControlNet I/O Status Extended Local I/O 5-34 The following table explains the second and third status words in the ControlNet I/O status file. ControlNet I/O Bit 9 of First Word Second Word Third Word Connection Type of I/O Status File Entry of I/O Status File Entry of I/O Status File Entry (Connection Error)
  • Page 155 ControlNet I/O Bit 9 of First Word Second Word Third Word Connection Type of I/O Status File Entry of I/O Status File Entry of I/O Status File Entry (Connection Error) If bit x is clear, then the module in slot x is OK. 1794 Discrete Clear If bit x is set, then the module in slot x is missing, bad, or is the wrong type.
  • Page 156: Controlnet Errors

    Troubleshooting ControlNet Errors Extended Local I/O 5-36 Decimal Code Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) The map table is corrupted. Reenter the I/O map entry that is failing. The target node of the MSG instruction is not a Edit the ladder program so that the correct target processor or the target node of the CIO instruction node is used.
  • Page 157 Decimal Code Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) 0x0026 INVALID DESTINATION ADDRESS SIZE The map table is corrupted. Reenter the I/O map entry that is failing. The target node of the MSG instruction is not a Edit the ladder program so that the correct target processor or the target node of the CIO instruction node is used.
  • Page 158 Troubleshooting ControlNet Errors Extended Local I/O 5-38 Decimal Code Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) 0x0113 OUT OF CONNECTIONS The maximum number of connections to/from this Reduce the number of I/O connections, MSG node has been exceeded. instructions, or CIO instructions to/from this node.
  • Page 159 Decimal Code Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) 0x0119 OWNER CONNECTION NOT OPEN The originating node attempted to open a Correct any connection errors associated with the listen-only connection before the owner owner connection. connection was opened. The CIO instruction failed because the 1771 In the I/O map table, add a discrete connection for discrete rack has no owner.
  • Page 160 Troubleshooting ControlNet Errors Extended Local I/O 5-40 Decimal Code Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) 0x0204 UNCONNECTED REQUEST TIMED OUT The ControlNet cable from the originating node to Fix and/or reconnect the ControlNet cable. the target node is broken or disconnected. The target node is not powered.
  • Page 161 Decimal Code Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) 0x0304 NO SCHEDULED CONFIGURATION The ControlNet cable from the originating node to Fix and/or reconnect the ControlNet cable and the keeper was broken or disconnected when the reconfigure the ControlNet network. ControlNet network was configured.
  • Page 162 Troubleshooting ControlNet Errors Extended Local I/O 5-42 Decimal Code Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) 0x0317 INVALID SCHEDULE DATA The ControlNet cable from the originating node to Fix and/or reconnect the ControlNet cable and the programming terminal was broken or reconfigure the ControlNet network.
  • Page 163 Decimal Code Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) 65527 0xFFF7 MODULE TIMED OUT The target slot is empty. Insert the proper module in the correct slot of the target node. The target slot contains the wrong module type. An incorrect module or slot was entered in the Edit the I/O map table to show the correct module map table.
  • Page 164 Troubleshooting ControlNet Errors Extended Local I/O 5-44 Decimal Code Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) 65530 0xFFFA MODULE DECLARED INVALID LENGTH A communication error between the adapter and Make sure that the module is properly seated in the module caused the transfer to be aborted.
  • Page 165: Fault Codes

    Fault Codes Fault routines execute when a PLC-5 processor encounters a run-time error (major fault) during program execution. A fault routine processes the major fault bit found in S:11 and determines the course of program execution based on the fault bit present. Fault routines provide a means to either: •...
  • Page 166 The processor is unable to process incoming data from the network Grounding Guidelines, publication 1770-4.1). This error code is reserved. Contact your local Rockwell Automation representative if you get this message. This error code is reserved. Contact your local Rockwell Automation representative if you get this message.
  • Page 167 • performing immediate ControlNet I/O ladder instructions too frequently. ladder instructions that are performed. This error code is reserved. Contact your local Rockwell Automation representative if you get this message. This error code is reserved. Contact your local Rockwell Automation representative if you get this message.
  • Page 168 Troubleshooting Fault Codes Extended Local I/O 5-48 ControlNet Diagnostics File Layout When you specify a Control Diagnostic File in RSNetWorx for the ControlNet network, the PLC-520C, -5/40C or -5/80CC processor copies the 40 words of diagnostic counters into the specified integer file. Twenty-three additional diagnostic counters are available in the ControlNet diagnostic file.
  • Page 169 File Offset File Offset Field Names Field Names (word;bits) (word;bits) Fault Register -- Pre Reset 19;07-00 Maximum number of simultaneously active MSG instructions (always less than or equal to 32) Reserved 19;15-08 Accumulated number of MSG connection time-outs Reserved 20;07-00 Current number of active 1771 CIO instructions (always less than or equal to 32) Fault Register -- Post Reset...
  • Page 170 Troubleshooting Fault Codes Extended Local I/O 5-50 File Offset File Offset Field Names Field Names (word;bits) (word;bits) Maximum number of simultaneously used Accumulated number of dropped unconnected requests unconnected servers (always less than or equal to Accumulated number of unconnected server Accumulated number of JITT overruns time-outs The file offset in the user-specified ControlNet diagnostics file.
  • Page 172 Publication 1785-7.1 - May 1999 PN 955135-35 © 1999 Rockwell International Corporation. All Rights Reserved. Printed in USA Supersedes Publication 1785-7.1 - August 1996...

This manual is also suitable for:

1785

Table of Contents