Allen-Bradley ControlNet PLC-5 User Manual

Hide thumbs Also See for ControlNet PLC-5:
Table of Contents

Quick Links

ControlNet PLC-5
Programmable
Controllers
Catalog Numbers 1785-L20C15,
-L40C15, -L46C15, -L80C15
User Manual
AB Drives
Table of Contents
loading

Summary of Contents for Allen-Bradley ControlNet PLC-5

  • Page 1 ControlNet PLC-5 Programmable Controllers Catalog Numbers 1785-L20C15, -L40C15, -L46C15, -L80C15 User Manual AB Drives...
  • Page 2 In no event will Allen-Bradley be responsible or liable for indirect or consequential damage resulting from the use or application of these products.
  • Page 3 Ethernet is a registered trademark of Intel Corporation, Xerox Corporation, and Digital Equipment Corporation. ControlNet is a trademark of ControlNet International. Allen-Bradley, PLC, PLC-2, PLC-3 and PLC-5 are registered trademarks of Rockwell Automation, Inc. Data Highway Plus, DH+, RSLinx, RSLogix, RSNetWorx, RSNetworx for ControlNet, FLEX I/O , PLC-5/11, -5/20, -5/20C, -5/26, -5/30, -5/40, -5/46, -5/40L, -5/40C, -5/60, -5/60L, -5/80, -5/80C, -5/86, -5/20E, -5/40E, and -5/80E are trademarks of Rockwell Automation, Inc.
  • Page 4 Rockwell Automation Before you contact Rockwell Automation for technical assistance, we suggest you please review the troubleshooting information contained Support in this publication first. If the problem persists, call your local Rockwell Automation representative or contact Rockwell Automation in one of the following ways: Phone United...
  • Page 5 Summary of Changes Summary of Changes The information below summarizes the changes to the ControlNet PLC-5 Programmable Controllers User Manual. To help you find new and updated information, look for the revision bars as shown to the left of this paragraph. New Information The following table highlights new information and where its located in this manual.
  • Page 6 soc-ii Notes 1785-UM022B-EN-P - February 2002...
  • Page 7: Table Of Contents

    Prevent Electrostatic Discharge ......1-2 Identifying ControlNet PLC-5 Processor Components ... . . 1-3 Before You Install the Programmable Controller .
  • Page 8 Summary ......... . . 2-29 Using the ControlNet PLC-5 Processor in a ControlNet I/O System . . 2-31 Distributed Keeper Functionality.
  • Page 9 Table of Contents – ControlNet PLC-5 Programmable Controllers Chapter 4 Programming Your ControlNet System Using This Chapter ........4-1 Using ControlNet Message Instructions .
  • Page 10 Table of Contents – ControlNet PLC-5 Programmable Controllers Appendix D ControlNet I/O Map-Entry Status Words and I/O Map-Entry Status Words....... . D-1 Error Messages Error Codes .
  • Page 11 1785-L20C15, 1785-L40C15, 1785-L46C15 or 1785-L80C15 ™ programmable controller that are unique to the ControlNet network. When we refer to ControlNet PLC-5 programmable controllers (or “processors”) in this manual, we mean the phase 1.5 programmable controllers: ™ •...
  • Page 12 ControlNet network DData Input File (DIF) integer file used by ControlNet PLC-5 processors to store discrete and non-discrete input data. The DIF cannot be forced Data Output File (DOF) integer file used by ControlNet PLC-5 processors to store discrete and non-discrete output data.
  • Page 13: Processor

    Preface Term Description network update time (NUT) smallest repetitive time interval in which data can be sent on the ControlNet network node port of a physical device connecting to the ControlNet network that requires a network address in order to function on the network; a link may contain a maximum of 99 nodes non-discrete I/O data transfer type of data transfer in which blocks of data transferred to or from a single I/O module use integer input and output data table files that you specify;...
  • Page 14 ControlNet Coax Cable System Planning and Installation Manual 1786-6.2.1 ControlNet Network Access Cable Installation Instructions 1786-2.6 ControlNet System Overview 1786-SO001A-EN-P ControlNet PLC-5 Hot Backup System User Manual 1785-6.5.24 ControlNet Fiber Planning Installation Guide CNET-IN001A-EN-P Industrial Automation Wiring and Grounding Guidelines 1770-4.1...
  • Page 15: Using This Chapter

    Chapter Installing Your ControlNet PLC-5 Processor Using This Chapter If you want to read about: Go to page: Preventing Electrostatic Discharge Identifying the processor components What to do before you begin installation Installing and disposing of the processor battery Setting the I/O chassis backplane switches 1-11 Setting the I/O chassis configuration plug 1-10...
  • Page 16: Prevent Electrostatic Discharge

    Installing Your ControlNet PLC-5 Processor Prevent Electrostatic Discharge This equipment is sensitive to electrostatic discharge ATTENTION which can cause internal damage and affect normal operation. Follow these guidelines when you handle this equipment: • touch a grounded object to discharge potential static •...
  • Page 17: Identifying Controlnet Plc-5 Processor Components

    Installing Your ControlNet PLC-5 Processor Identifying ControlNet PLC-5 Figure 1.1 and Figure 1.2 show the front panels of the ControlNet PLC-5 processors. Processor Components Figure 1.1 PLC-5/20C Processor Front Panel Battery Status Indicator (Red) Keyswitch-selects processor mode Processor RUN/FAULT Status Indicator...
  • Page 18 Installing Your ControlNet PLC-5 Processor Figure 1.2 PLC-5/40C, -5/46C, and -5/80C Processors Front Panel Battery Status Indicator (Red) Keyswitch-selects processor mode Processor RUN/FAULT Status Indicator (Green/Red) ControlNet I/O Status Indicator (Green/Red) Force Status Indicator (Amber) Channel 2 ControlNet Status Indicators...
  • Page 19: Before You Install The Programmable Controller

    Installing Your ControlNet PLC-5 Processor Before You Install the Before installing your ControlNet PLC-5 processor: Programmable Controller 1. Check your processor package, and make sure that you have the following: ® ControlNet PLC-5 Programmable Controller, Processor 1785-L20C15, -L40C15, -L46C15, or -L80C15...
  • Page 20 Installing Your ControlNet PLC-5 Processor Install or Replace the Battery A 3.0 volt lithium battery (cat. no. 1770-XYC) is included with your processor. If the LED on the front of the processor indicates BATT, it means that the battery must be replaced. You must use an exact replacement battery (cat.
  • Page 21 Installing Your ControlNet PLC-5 Processor To install or replace the battery: 1. Remove the battery from the shipping bag. 2. Remove the battery cover from the processor. 3. If you are replacing an existing battery, detach the wired clip from the mating connector on the processor and remove the battery.
  • Page 22 Installing Your ControlNet PLC-5 Processor Estimated Battery Lifetimes Worst-Case Battery-Life Estimates Processor Temperature Power Off 100% Power Off 50% Battery Duration PLC-5/20C 60° C 173 days 346 days 70 hours 25° C 1.69 years 3.38 years 14.5 days PLC-5/40C 60° C 92.5 days...
  • Page 23: Setting The I/O Chassis Backplane Switches

    Installing Your ControlNet PLC-5 Processor Setting the I/O Chassis Set the I/O chassis backplane switches using a ball-point pen to set each switch. Backplane Switches Important: Do not use a pencil because the tip can break off and short the switch.
  • Page 24: Setting The I/O Chassis Configuration Plug

    1-10 Installing Your ControlNet PLC-5 Processor Setting the I/O Chassis Set the I/O chassis configuration plug as follows: Configuration Plug 1. Locate the chassis configuration plug (between the two left most slots of the chassis). 2. Set the I/O chassis configuration plug.
  • Page 25: Selecting The Dh+ Station Address Of Channel 1A

    Installing Your ControlNet PLC-5 Processor 1-11 Selecting the DH+ Station To select the DH+ station address of Channel 1A, set the switches of assembly SW1. Address of Channel 1A Side View of PLC-5/20C, -5/40C, -5/46C, -5/80C Switch Assembly SW1 Toggle pushed...
  • Page 26: Specifying The Serial Interface Of Channel 0

    1-12 Installing Your ControlNet PLC-5 Processor Specifying the Serial Specify RS-232C, RS-422A, or RS-423 communication for Channel 0 by setting the switches of assembly SW2. Interface of Channel 0 Bottom View of PLC-5/40C, -5/46C, -5/80C Processor Bottom View of PLC-5/20C Processor...
  • Page 27: Inserting/Removing The Processor Into/From The I/O Chassis

    Installing Your ControlNet PLC-5 Processor 1-13 Inserting/Removing the Processor To insert/remove the processor into/from the chassis, do the following: into/from the I/O Chassis If you insert or remove the processor while WARNING backplane power is on, an electrical arc can occur.
  • Page 28 1-14 Installing Your ControlNet PLC-5 Processor The maximum number of logical rack Use this physical devices numbers that you resistor that you can connect can scan on the If your remote I/O link: rating: on the link is: link is: Operates at 230.4K bit/s...
  • Page 29: Installing A Dh+ Link

    Installing Your ControlNet PLC-5 Processor 1-15 If you connect or disconnect the 1770-CD cable with WARNING power applied to this processor or the device on the other end of the cable, an electrical arc can occur. This could cause an explosion in hazardous location installations.
  • Page 30 1-16 Installing Your ControlNet PLC-5 Processor Use the 3-pin connector on the processor to connect a DH+ link. The connector’s port must be configured to support a DH+ communication link. You can install a DH+ link two ways: - trunk cable/drop cable--from the drop cable to the connector screw terminals on the DH+ connectors of the processor.
  • Page 31: Connecting To A Controlnet Network

    Installing Your ControlNet PLC-5 Processor 1-17 Connecting to a Connect a ControlNet PLC-5 processor to a ControlNet network via a tap with a 1-m (39.4-in) drop cable. ControlNet Network If you connect or disconnect the ControlNet tap cable WARNING with power applied to this processor or the device on the other end of the cable, an electrical arc can occur.
  • Page 32 1-18 Installing Your ControlNet PLC-5 Processor For detailed information about planning and installing your ControlNet system, see the following publications: Publication Publication Number ControlNet Cable System Component List AG-2.2 ControlNet Cable System Planning and Installation Manual 1786-6.2.1 ControlNet Network Access Cable Installation Instructions 1786-2.6...
  • Page 33: Connecting A Programming Terminal

    This could cause an explosion in hazardous location installations. Be sure that power is removed or the area is nonhazardous before proceeding. DH+ Connection To attach a personal computer to a ControlNet PLC-5 processor using a DH+ connection: CH 0 8-pin...
  • Page 34: Serial Channel

    1-20 Installing Your ControlNet PLC-5 Processor When using this Use this cable: communication card: 1784-KT X , KT X D • 1784-CP13 1784-PCMK • 1784-PCM6 • 1784-PCM5 with 1784-CP7 adapter 1784-PKTX, -PKTXD • 1784-CP13 Serial Channel To program the processor using Channel 0, configure the channel for RS-232C using DF1 point-to-point protocol.
  • Page 35: Controlnet Connection

    Installing Your ControlNet PLC-5 Processor 1-21 ControlNet Connection ATTENTION: Do not connect the same You can connect programming devices to a ControlNet network communication card to both the NAP and through: a tap on the ControlNet network. • the ControlNet network access cable (1786-CP) •...
  • Page 36: Selecting Appropriate Cables

    1-22 Installing Your ControlNet PLC-5 Processor When used in a Class I, Division 2, hazardous WARNING location, this equipment must be mounted in a suitable enclosure with proper wiring method that complies with the governing electrical codes. Selecting Appropriate Cables This section lists information about: •...
  • Page 37: Dh+ Programming Cables

    Installing Your ControlNet PLC-5 Processor 1-23 This processor’s serial port can support these configurations: Digital Interface Maximum Cable Length RS-232C 15 m (approximately 50 ft) RS-422A (compatible) 61 m (approximately 200 ft) RS-423 61 m (approximately 200 ft) Important: Follow these guidelines: •...
  • Page 38 1-24 Installing Your ControlNet PLC-5 Processor The following ControlNet cable system components are available from the Rockwell Automation: Cat. No . Item ControlNet Coax Tool Kit 1786-CTK Coax Tap Kit Right-angle T-tap 1786-TPR Straight T-tap 1786-TPS Right-angle Y-tap 1786-TPYR Straight Y-tap...
  • Page 39 Installing Your ControlNet PLC-5 Processor 1-25 For detailed information about ControlNet cabling, see the following publications: Publication Publication Number ControlNet Cable System Component List AG-2.2 ControlNet Cable System Planning and Installation Manual 1786-6.2.1 ControlNet Network Access Cable Installation Instructions 1786-2.6 ControlNet System Overview 1786-2.9...
  • Page 40 1-26 Installing Your ControlNet PLC-5 Processor Notes 1785-UM022B-EN-P - February 2002...
  • Page 41: Processor

    2-11 Understanding ControlNet I/O mapping 2-16 Using I/O Mapping Techniques 2-21 Using the ControlNet PLC-5 processor in a ControlNet I/O system 2-31 Converting from a non-ControlNet remote I/O system to a 2-34 ControlNet I/O system Converting from ControlNet phase 1.0 or 1.25 to ControlNet 2-35 phase 1.5...
  • Page 42: Scheduled Data-Transfer Operations On A Controlnet Network

    Planning to Use Your ControlNet PLC-5 Processor Scheduled Data-Transfer Operations on a ControlNet Network ControlNet scheduled data transfer on a ControlNet PLC-5 processor: • is continuous • is asynchronous to the ladder-logic program scan • occurs at the actual rate displayed in the Actual Packet Interval...
  • Page 43 Planning to Use Your ControlNet PLC-5 Processor What Happens During Scheduled Input Data Transfer PLC-5 Programmable Controller I/O Chassis Logic Scan In scheduled I/O data In the same manner, transfer, updates occur the I/O adapter has Private Data Private Scheduled Data...
  • Page 44: Unscheduled Data-Transfer Operations On A Controlnet Network

    Planning to Use Your ControlNet PLC-5 Processor The following scheduled data-transfer operations are supported by the ControlNet processors on a ControlNet network: Table 2.A ControlNet Scheduled Data-Transfer Operations Operation Description Discrete I/O Data Performed in a deterministic and repeatable manner...
  • Page 45 Planning to Use Your ControlNet PLC-5 Processor The ControlNet system places your scheduled transfers in the first part of each Network Update Interval (NUI). Time is automatically reserved for network maintenance. Unscheduled transfers are performed during the time remaining in the interval.
  • Page 46 Planning to Use Your ControlNet PLC-5 Processor Table 2.B ControlNet Unscheduled Data-Transfer Operations Operation Description Features Perform ladder-initiated unscheduled non-discrete I/O data transfers on • As many as 32 1771 READ and/or 1771 WRITE Non-discrete I/O a ControlNet network by using ControlNet I/O Transfer (CIO) instructions.
  • Page 47: Using I/O Forcing Operations

    MG to create unscheduled messages that are initiated by one ControlNet Messaging at a time PLC-5 processor and sent to another ControlNet PLC-5 processor. The • Minor fault bit S:17/13 is set when 32 MG data type for the ControlNet instruction has the following...
  • Page 48: Using Immediate Data-Transfer Operations

    Planning to Use Your ControlNet PLC-5 Processor Using Immediate Data-Transfer Operations ControlNet Immediate Data I/O transfers—Immediate Data Input (IDI) and Immediate Data Output (IDO)—perform similarly to the Remote-I/O supported immediate I/O transfers—Immediate Input (IIN) and Immediate Output (IOT)—which the ControlNet system also supports.
  • Page 49: Using Process Control Sample Complete

    Planning to Use Your ControlNet PLC-5 Processor Table 2.C ControlNet Immediate Data-Transfer Operations Instructions Description In the case of an IIN, the most recent copy of the specified input word secured in the last discrete I/O Immediate I/O-ControlNet and Remote I/O data transfer from the corresponding I/O chassis is used.
  • Page 50 2-10 Planning to Use Your ControlNet PLC-5 Processor You enable process control sample complete on a per connection basis by setting the PCSC enable bit in the connection’s ControlNet I/O status file entry. When process control sample complete is enabled for a connection...
  • Page 51: Clearing The Pcsc New Data And Pcsc Overflow Bits

    Allen-Bradley. Refer to the literature that accompanies those products for information on their scheduled connection behavior. Scheduled connection types made from the ControlNet PLC-5 to I/O adapters can be made either to some or all of the discrete I/O on the adapter (called a rack connection), or to individual modules (called a module connection).
  • Page 52 2-12 Planning to Use Your ControlNet PLC-5 Processor There are four general types of scheduled connections from the ControlNet PLC-5 to I/O adapters: • exclusive owner - these scheduled connections indicate the PLC-5 has exclusive ownership of the outputs. These scheduled connections can also gather inputs from the device.
  • Page 53: Multiple Processors Can Control I/O

    Planning to Use Your ControlNet PLC-5 Processor 2-13 If an input only connection is made to the adapter: • an exclusive owner connection can be made • another input only connection can be made • a listen only connection can be made •...
  • Page 54: Understanding Multicast Inputs

    Device synchronization - inputting data to all devices simultaneously improves synchronization between devices In the following example, the ControlNet PLC-5 processor at node 2 is sending outputs to the adapter at node 3. Nodes 1, 2, and 4 are all receiving the same input packet from node 3.
  • Page 55: Using Multicast Outputs

    Planning to Use Your ControlNet PLC-5 Processor 2-15 Using Multicast Outputs To use multicast outputs, you must first configure each Multicast Output connection in RSNetworx 3.0: In the Details Tab of Connection Properties dialog, change the Scanner to Target Network Connection to Multicast. You cannot modify this field for any device that does not support multicast outputs.
  • Page 56: Understanding Controlnet I/O Mapping

    2-16 Planning to Use Your ControlNet PLC-5 Processor Understanding ControlNet All scheduled data transfers must be mapped on a ControlNet network. You specify where I/O data is to be read from or written I/O Mapping to—i.e., mapped. You do this and establish the relationship between processors, I/O adapters, and data-table file addresses by creating and maintaining an I/O map table.
  • Page 57: Remote I/O

    Planning to Use Your ControlNet PLC-5 Processor 2-17 Remote I/O The following table shows the default number of input and output words reserved by the programming software for the different sizes and addressing modes of non-ControlNet Remote I/O if you first...
  • Page 58: Supported Controlnet I/O Sizes

    2-18 Planning to Use Your ControlNet PLC-5 Processor Supported ControlNet I/O Sizes The following table shows the maximum I/O map entries allowed in the ControlNet I/O map table: Table 2.D Maximum I/O Map Entries Number of Number of DIF Number of DIF...
  • Page 59: Discrete I/O Data Transfer Mapping

    Planning to Use Your ControlNet PLC-5 Processor 2-19 Discrete I/O Data-Transfer Mapping Regardless of the type of I/O—e.g., 1747, 1771, 1794—all ControlNet discrete I/O data is stored within the processor according to the corresponding I/O map-table entry. Discrete I/O data can be stored in either the I/O image table or the DIF/DOF.
  • Page 60: 1771 Modules

    2-20 Planning to Use Your ControlNet PLC-5 Processor 1771 Modules ControlNet 1771 discrete I/O data-transfer mapping requires one map-table entry per node. ControlNet 1771 non-discrete I/O data-transfer mapping requires one map-table entry per module. The ControlNet scheduled I/O data-transfer mechanism makes it possible to eliminate block-transfer programming to communicate with the 1771 modules.
  • Page 61: Other Controlnet Processors

    1-240 words Scheduled Message Send Data RPI Default = 4 x NUT To communicate between any ControlNet PLC-5 processors on the ControlNet network, you can include MSG instructions in your ladder-logic program. See Chapter 4 and Appendix C for more information.
  • Page 62: Understanding Discrete Mapping

    2-22 Planning to Use Your ControlNet PLC-5 Processor Understanding Discrete Mapping Each version of a PLC-5 processor has a fixed amount of I/O image space. For example: This processor: Has: PLC-5/20C 32 words of input image table and 32 words of...
  • Page 63: Optimizing The I/O Image Table

    Planning to Use Your ControlNet PLC-5 Processor 2-23 Optimizing the I/O Image Table You may find that you are close to the I/O image table limits in a PLC-5 processor and need to optimize the use of the I/O image table in order to insure that the application will fit in the processor.
  • Page 64 2-24 Planning to Use Your ControlNet PLC-5 Processor If you perform an automap on this system, the map table appears like this: Input file Input size Output file Output size I:010 O:010 The automap feature reserves the maximum size of inputs and outputs.
  • Page 65 Planning to Use Your ControlNet PLC-5 Processor 2-25 First Rule of When placing discrete modules, put the type (input or output) you Module Optimization have the least of to the left in the chassis. Example 3 Some chassis may contain analog modules, communication cards, or power supplies.
  • Page 66 2-26 Planning to Use Your ControlNet PLC-5 Processor Second Rule of Place modules that do not require I/O image table space to the right Module Optimization in the chassis. Example 4 To understand how optimization with a ControlNet network preserves...
  • Page 67: Optimizing The I/O Image Table With Slot Complementary

    Planning to Use Your ControlNet PLC-5 Processor 2-27 Example 4 Examine the following system: I = Discrete Input Module O = Discrete Output Module Chassis 1 ACN = ControlNet adapter A = Analog Module PS = Power Supply X = Empty Slot...
  • Page 68 2-28 Planning to Use Your ControlNet PLC-5 Processor Example 1 Examine the following chassis: I = Discrete Input Module O = Discrete Output Module 2-slot addressing ACN = ControlNet adapter 16-point modules In this example the first input module uses eight inputs from the first slot and eight inputs from the second slot (not used by the output module in the second slot).
  • Page 69: Summary

    Planning to Use Your ControlNet PLC-5 Processor 2-29 Summary There are two methods to optimize the use of I/O image table in a ControlNet PLC-5 processor. There are tradeoffs in using each method which are summarized in the following table. Method: Tradeoffs: optimize without slot •...
  • Page 70 2-30 Planning to Use Your ControlNet PLC-5 Processor However, the overall system may be heavy on inputs, and there are no concerns about the output image table. In this case you may want to conserve the input image table for this chassis and arrange it as...
  • Page 71: Using The Controlnet Plc-5 Processor In A Controlnet I/O System

    Planning to Use Your ControlNet PLC-5 Processor 2-31 Using the ControlNet There can be multiple ControlNet PLC-5 processors updating I/O adapters on a ControlNet network. PLC-5 Processor in a ControlNet I/O System • any processor can own adapters on the network •...
  • Page 72 2-32 Planning to Use Your ControlNet PLC-5 Processor Example of a ControlNet Network without Redundant Media Personal computer with 1784-KTCX15 card Personal computer Personal computer or Laptop computer with (ISA-based) and with PCIC card (PCI-based) other serial device 1784-PCC card (PCMCIA-based)
  • Page 73: Distributed Keeper Functionality

    Planning to Use Your ControlNet PLC-5 Processor 2-33 When used in a Class I, Division 2, hazardous WARNING location, this equipment must be mounted in a suitable enclosure with proper wiring method that complies with the governing electrical codes. Distributed Keeper Functionality All ControlNet processors now keep the ControlNet configuration.
  • Page 74: To A Controlnet I/O System

    2-34 Planning to Use Your ControlNet PLC-5 Processor Converting from a Non-ControlNet When you download archived files to a ControlNet PLC-5 processor, the programming software ignores Channel 2 configuration Remote I/O System to a ControlNet information from anything other than a ControlNet-processor...
  • Page 75: Converting From Controlnet Phase 1.0 Or

    CIO instructions. You must edit non-ControlNet PLC-5 programs containing references to the I/O Status File for use with I/O connected via the ControlNet network. Information regarding ControlNet status is stored in a separate data file that you specify through the programming software.
  • Page 76 2-36 Planning to Use Your ControlNet PLC-5 Processor Notes 1785-UM022B-EN-P - February 2002...
  • Page 77: Understanding The Controlnet

    ControlNet PLC-5. • RSLogix 5 to configure and program all other parameters within the ControlNet PLC-5. RSLogix 5 creates a project (.rsp) file on your personal computer when you save the project. These two software packages are separate tools because RSNetWorx is used to configure the entire ControlNet network and RSLogix 5 is used to configure node-specific information.
  • Page 78: I/O Configuration Utility

    Understanding the ControlNet System Software Also, the ControlNet network requires that the entire network be configured at one time to make sure all scheduled connections are performed at their configured packet rates. Two interdependencies exist between RSNetWorx and RSLogix 5: •...
  • Page 79: Uploading And Downloading Software Projects

    ControlNet PLC-5 needs to have its program downloaded, RSNetWorx will attempt to download all nodes on the ControlNet network. This will be time-consuming and require that all ControlNet PLC-5 processors on the ControlNet network be placed in PROGRAM mode. •...
  • Page 80: Using Rsnetworx To Perform Verification Activities

    RSLogix 5 project (.rsp) file. The ControlNet configuration information in RSLogix 5 is kept up to date by uploading from the ControlNet PLC-5 processor and by saving a new RSLogix 5 project (.rsp) file following every save performed in RSNetWorx, or following an RSNetWorx project download if a save was performed off-line.
  • Page 81: For More Information

    Understanding the ControlNet System Software To verify keeper signatures: 1. In Network menu, choose Keeper Status 2. If any keepers are invalid, select the node(s) and click Update Keeper To verify scanner signatures: 1. In Network menu, choose Scanner Signature Status 2.
  • Page 82 Understanding the ControlNet System Software Notes 1785-UM022B-EN-P - February 2002...
  • Page 83: Using This Chapter

    Chapter Programming Your ControlNet System Using This Chapter If you want to read about using: Go to page: ControlNet message instructions ControlNet I/O transfer instructions ControlNet immediate data input and output instructions Using Selectable Timed Interrupts (STIs) in a program on a ControlNet network Recovering from Major Fault Codes 200 and 201 Using ControlNet...
  • Page 84: Multihop Messaging Via The Msg Instruction

    Programming Your ControlNet System If you want to: Do this: enter the size in Type a number of elements from 1 to 1000. elements enter the destination Type a number from 1 to 99. network address enter a destination Type the destination data table address. data table address The fields of the MG data type that you can directly address are: Field...
  • Page 85: Option To Close Communication Connection When Msg Is Done

    PLC-2 compatibility file. All PLC-2 commands received from the ControlNet network use the same PLC-2 compatibility file. The ControlNet PLC-5 processor uses the value stored in S:73 of the processor status file as the PLC-2 compatibility file number. The PLC-2 file number must be between 3 and 999, inclusive. The corresponding data table file must exist and be large enough to accommodate the PLC-2 requests.
  • Page 86 Programming Your ControlNet System If you want to: Do this: change the command Select one of the following: type • 1771 READ - reads input data from 1771 non-discrete I/O module • 1771 WRITE - writes output data to 1771 non-discrete I/O module •...
  • Page 87: Sending Continuous Messages

    Programming Your ControlNet System The fields of the CT data type that you can directly address are: Field Definition Location Enabled-waiting flag bit word 0, bit 02 Continuous control bit word 0, bit 03 Errored flag bit word 0, bit 04 Done flag bit word 0, bit 05 Started flag bit...
  • Page 88: 1771 Controlnet Transfers In Piis And Stis

    Programming Your ControlNet System 1771 ControlNet Transfers in PIIs and STIs When a 1771 Read or 1771 Write CIO instruction is encountered in a PII or STI, the processor resumes execution of lower priority ladder programs (main logic programs) until the CIO is completed. If you want the PII or STI to run to completion before returning to your main logic program, place the CIO instruction inside of a UID/UIE pair in your PII or STI program file.
  • Page 89 Programming Your ControlNet System In the previous example, an IDI is initiated that updates the destination file from the private buffer before the next normal input-image update. The Data File Offset (232) is the offset into the buffer where the data is stored. The Length (10) identifies the number of words in the transfer—it can be an immediate value ranging from 1 to 64 or a logical address that specifies the number of words to be transferred.
  • Page 90 Programming Your ControlNet System An IDO is initiated that updates the private memory output buffer from the source file before the next normal output-image update. The Data File Offset (175) is the offset into the buffer where the data is stored.
  • Page 91: Using Selectable Timed Interrupts With A Program

    Programming Your ControlNet System Using Selectable Timed You must be careful when using Selectable Timed Interrupts (STIs) with a program on a ControlNet network. Interrupts with a Program on a ControlNet Network A Selectable Timed Interrupt (STI) periodically interrupts primary program execution in order to run a subprogram to completion.
  • Page 92 4-10 Programming Your ControlNet System Notes 1785-UM022B-EN-P - February 2002...
  • Page 93: Using This Chapter

    Chapter Monitoring and Troubleshooting Your ControlNet System Using This Chapter If you want to read about: See page: Using the general status indicators Using the ControlNet status indicators Using the Data Highway Plus and Remote I/O Status Indicators Monitoring the ControlNet configuration and status Using the DH+/RIO Status Indicators Using the General Status The general status indicators inform you of the general operational...
  • Page 94 Monitoring and Troubleshooting Your ControlNet System Indicator Color Description Probable Cause Recommended Action PROC Green Processor is in run Normal operation No action required (steady) mode and fully operational Green Processor memory is Normal operation No action required (blinking) being transferred to EEPROM Major fault •...
  • Page 95: Using The Controlnet Status Indicators

    Monitoring and Troubleshooting Your ControlNet System Using the ControlNet The ControlNet status indicators inform you of the operational state of the ControlNet network. Status Indicators Indicator Color Description Probable Cause Recommended Action ControlNet I/O not Normal operation if No action required present or not Channel 2 not being used operating...
  • Page 96 Green Flashing Temporary errors Make sure that the processor is connected to the Green/Off ControlNet network with an Allen-Bradley tap. Check media for broken cables, loose connectors, missing terminators, etc. Flashing Media fault Make sure that the processor is connected to the Red/Off ControlNet network with an Allen-Bradley tap.
  • Page 97: Using The Dh+/Rio Status Indicators

    Monitoring and Troubleshooting Your ControlNet System Using the DH+/RIO Status Indicators Indicator Color Channel Mode Description Probable Cause Recommended Action Green Remote I/O Active Remote I/O link, all Normal No action required (steady) Scanner adapter modules are operation present and not faulted Remote I/O Communicating with Adapter...
  • Page 98: Monitoring Controlnet Configuration And Status

    Monitoring and Troubleshooting Your ControlNet System Monitoring ControlNet Use the following software packages to monitor ControlNet configuration and status information. Configuration and Status Use: RSNetWorx for ControlNet define ControlNet network parameters, such as: • network update time • media redundancy •...
  • Page 99 The clock/calendar will update appropriately each year. The 1785-CHBM cannot be used with the 1785-5/60C processor. The 1785-ME16 cannot be used with ControlNet PLC-5 processors. For more information, refer to publication 1770-4.1, Industrial Automation Wiring and Grounding Guidelines . See the Product Certification link at www.ab.com for Declarations of Conformity, Certificates, and other certification details.
  • Page 100 The clock/calendar will update appropriately each year. The 1785-CHBM cannot be used with the 1785-5/60C processor. The 1785-ME16 cannot be used with ControlNet PLC-5 processors. For more information, refer to publication 1770-4.1, Industrial Automation Wiring and Grounding Guidelines . See the Product Certification link at www.ab.com for Declarations of Conformity, Certificates, and other certification details.
  • Page 101 Processor Specifications PLC-5/20C15 PLC-5/40C15 PLC-5/46C15 PLC-5/80C15 Maximum User Memory Words 100K Maximum Total Any Mix 2048 2048 3072 Complimentary 512 in and 512 2048 in and 2048 in and 3072 in and 2048 out 2048 out 3072 out Program Scan Time 0.5 ms per K word (bit logic) 2 ms per K word (typical) Transmission Rate...
  • Page 102: S:3-10

    Processor Specifications The following information applies when operating this Informations sur l’utilisation de cet équipement en equipment in hazardous locations: environnements dangereux : Products marked “CL I, DIV 2, GP A, B, C, D” are suitable Les produits marqués "CL I, DIV 2, GP A, B, C, D" ne for use in Class I Division 2 Groups A, B, C, D, Hazardous conviennent qu’à...
  • Page 103: S:11

    Appendix Processor Status File S:0 - S:2 Processor status data is stored in data-file 2. This word of Stores: the status file: Arithmetic flags • bit 0 = carry • bit 1 = overflow • bit 2 = zero • bit 3 = sign Processor status and flags S:1/00 RAM checksum is invalid at power-up...
  • Page 104: S:12

    Processor Status File This word of Stores: the status file: S:2/07 Not defined S:2/08 S:2/09 Last state outputs are turned off outputs retain last state S:2/11 I/O chassis addressing S:2/12 bit 12 bit 11 illegal 1/2-slot 1-slot 2-slot S:2/13 Memory module transfer S:2/14 bit 14 bit 13...
  • Page 105 Processor Status File This word of Stores: the status file: S:10/04 Edits prevent SFC continuing; data table size changed during program mode; reset automatically in run mode S:10/05 Invalid I/O status file S:10/06 reserved S:10/07 No more command blocks exist to execute block-transfers S:10/08 Not enough memory on the memory module to upload the program from the processor...
  • Page 106 Processor Status File This word of Stores: the status file: S:11/12 PII file does not exist or is not a ladder file S:11/13 STI file does not exist or is not a ladder file S:11/14 Fault routine does not exist or is not a ladder file S:11/15 Faulted program file does not contain ladder logic S:12...
  • Page 107 Processor Status File This fault code: Indicates this fault: And the fault is: Run-time data table check failed Recoverable: the fault routine can instruct Bad user program checksum the processor to clear the fault and then resume Bad integer operand type, restore new processor memory file scanning the program.
  • Page 108 Processor Status File This fault code: Indicates this fault: And the fault is: NXT instruction with missing FOR Non-recoverable the fault routine will be You tried to jump to a non-existent label executed but cannot clear major fault bit 2. File is not an SFC Error using SFR.
  • Page 109 Processor Status File This fault code: Indicates this fault: And the fault is: User watchdog fault Recoverable Error in user-configured adapter mode block-transfer Memory module bad Memory module is incompatible with host Scanner rack list overlap Scanner channels are overloading the remote I/O buffer; too much data for the processor to process. If you encounter fault code 88, be sure you followed the design guidelines listed on page ___.
  • Page 110 Processor Status File This fault code: Indicates this fault: And the fault is: ControlNet input data missed. Recoverable The processor is unable to process incoming data from the network. Check your network for missing terminators or other sources of electrical noise (see the Industrial Automation Wiring and Grounding Guidelines,...
  • Page 111: S:13-S:24

    Typical causes of this error code include: • combining multiple I/O • receiving data from the ControlNet network faster than the ControlNet PLC-5 processor can parse it racks into a single I/O • performing I/O updates too frequently rack •...
  • Page 112: S:26-S:35

    B-10 Processor Status File This fault code: Indicates this fault: And the fault is: Bypassed qualification (may occur during race condition when both processors attempt to go into Run Transition the PLC-5 mode at the same time). processors into Run mode one at a time.
  • Page 113: S:36-S:78

    Processor Status File B-11 S:13-S:24 This word of Stores: the status file: S:13 Program file where fault occurred S:14 Rung number where fault occurred S:15 VME status file S:16 I/O status File S:17 Minor fault (word 2) See also S:10. S:17/00 BT queue full to remote I/O S:17/01...
  • Page 114 B-12 Processor Status File This word of Stores: the status file: S:23 Processor clock second S:24 Indexed addressing offset S:25 Reserved S:26-S:35 This word of Stores: the status file: S:26 User control bits S:26/00 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 S:26/01 Start-up protection after power loss: when reset, no protection.
  • Page 115 Processor Status File B-13 This word of Stores: the status file: S:33 Rack control bits: (See also S:7, S:27, S:32, S:34, and S:35) • S:33/0-7 I/O rack inhibit bits for racks 10-17 • S:33/8-15 I/O rack reset bits for racks 10-17 S:34 Global status bits: (See also S:7, S:27, S:32, S:33, and S:35) •...
  • Page 116 B-14 Processor Status File This word of Stores: the status file: S:64 The number of remote block-transfer command blocks being used by channel pair 1A/1B. S:65 The number of remote block-transfer command blocks being used by channel pair 2A/2B. S:66 Reserved.
  • Page 117: S:79-S127

    Processor Status File B-15 S:79-S127 This word of Stores: the status file: 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 118 B-16 Processor Status File Notes 1785-UM022B-EN-P - February 2002...
  • Page 119: Controlnet I/O Transfer Instruction

    Appendix ControlNet Instruction Set For detailed information about the instruction set for programming PLC-5 processors, see the Enhanced and Ethernet PLC-5 Programmable Controllers User Manual, publication 1785-6.5.12, and the PLC-5 Instruction Set Reference, publication 1785-6.1. ControlNet I/O Transfer Instruction Instruction Description ControlNet I/O Transfer If the input conditions go from false to true, the data is...
  • Page 120: Immediate Data I/O Instructions

    ControlNet Instruction Set Immediate Data I/O Instructions Instruction Description Immediate Data If the input conditions are true, an immediate data input is initiated that Input updates the destination file from the private buffers before the next normal input-image update. The Data file offset (232) is where the data is stored. IMMEDIATE DATA INPUT The Length (10) identifies the number of words in the transfer–it can be an Data file offset...
  • Page 121: Controlnet I/O Map-Entry

    Appendix ControlNet I/O Map-Entry Status Words and Error Codes I/O Map-Entry 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 Words status information about all of the ControlNet network’s scheduled I/O connections.
  • Page 122 ControlNet I/O Map-Entry Status Words and Error Codes 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.
  • Page 123 ControlNet I/O Map-Entry Status Words and Error Codes The following table explains the second and third status words in the ControlNet I/O status file. ControlNet I/O Connection Bit 9 of First Word Second Word Third Word Type of I/O Status File Entry of I/O Status File Entry of I/O Status File Entry (Connection Error)
  • Page 124: Error Codes

    ControlNet I/O Map-Entry Status Words and Error Codes Error Codes The following is a list of ControlNet error codes, messages, possible causes, and possible corrective actions. These errors can originate in either the PLC-5 programmable controller or the target device: Decimal Hex.
  • Page 125 ControlNet I/O Map-Entry Status Words and Error Codes Decimal Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) Code 0x0026 INVALID DESTINATION The map table is corrupted. Reenter the I/O map entry that is ADDRESS SIZE failing. The target node of the MSG Edit the ladder program so that the instruction is not a processor or the correct target node is used.
  • Page 126 ControlNet I/O Map-Entry Status Words and Error Codes Decimal Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) Code 0x0117 INVALID CONNECTION POINT The PLC-5C is requesting data from Change the PLC-5C I/O map entry to a ControlLogix tag that does not use the correct tag.
  • Page 127 ControlNet I/O Map-Entry Status Words and Error Codes Decimal Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) Code 0x0204 UNCONNECTED REQUEST The ControlNet cable from the Fix and/or reconnect the ControlNet TIMED OUT originating node to the target node is cable.
  • Page 128 ControlNet I/O Map-Entry Status Words and Error Codes Decimal Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) Code 0x0306 KEEPER NOT AVAILABLE The ControlNet cable from the Fix and/or reconnect the ControlNet originating node to the keeper is cable. broken or disconnected.
  • Page 129 ControlNet I/O Map-Entry Status Words and Error Codes Decimal Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) Code 65523 0xFFF3 CONTROLNET TRANSFER The immediate CIO instruction could Edit the ladder program so that the QUEUE FULL not be executed because the queue number of active 1771 READ/WRITE is full.
  • Page 130 D-10 ControlNet I/O Map-Entry Status Words and Error Codes Decimal Hex. Code Error Message Explanation/Possible Cause(s) Possible Corrective Action(s) Code 65530 0xFFFA MODULE DECLARED INVALID A communication error between the Make sure that the module is LENGTH adapter and the module caused the properly seated in the correct slot of transfer to be aborted.
  • Page 131: Clearing Faults

    Appendix 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.
  • Page 132: Um022B-En-P - February

    Fault Codes This fault code: Indicates this fault: Take this corrective action: ControlNet configuration exceeds processor resources. • Reduce the number of ControlNet I/O map table entries. Possible ways to do this include: IMPORTANT: Scheduled connections will be closed. You must cycle power, save with RSNetWorx, or download the program to reopen - using a discrete rack connection instead of the connections.
  • Page 133 Appendix ControlNet Diagnostics File Layout When you specify a Control Diagnostic File in RSNetWorx for the ControlNet network, the PLC-520C, -5/40C, -5/46C or -5/80C 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 134 ControlNet Diagnostics File Layout File Offset Field Names (word;bits) Node Address of current Moderator 15;15-08 Cannot Hear Moderator Occurrences (i.e., Lonely) 16;07-00 Network Parameter Mismatch Occurrences 16;15-08 Reserved 17;07-00 SM Commands Received from the wire 17;15-08 Reserved 18;07-00 Reserved 18;15-08 Fault Register -- Pre Reset 19;07-00 Reserved...
  • Page 135 ControlNet Diagnostics File Layout File Offset Field Names (word;bits) Maximum number of simultaneously open target Message Router connections (always less than or equal to 32) Accumulated number of target Message Router connection timeouts Current number of used unconnected clients (always less than or equal to 8) Maximum number of simultaneously used unconnected clients (always less than or equal to 8) Accumulated number of unconnected client timeouts...
  • Page 136 ControlNet Diagnostics File Layout Notes 1785-UM022B-EN-P - February 2002...
  • Page 137 1-14 1771-SN 1-13 remote I/O 1-14 1772-SD, -SD2 1-23 cabling 1-14 1775-S4A, -S4B catalog numbers 1-14 1775-SR ControlNet PLC-5 processors 1-20, 1-23 1784-CP13 2-34 Channel 1A 2-31 1784-KTC Communication Card 2-34 Channel 1B 1-20, 1-23 1784-KTx CIOs 1-20, 1-23 1784-KTxD...
  • Page 138 2-6 locating additional information 2-32 features 2-6 ControlNet network examples I/O transfer instructions ControlNet PLC-5 configuration programming 4-3 matches network information immediate data I/O instructions ControlNet PLC-5/20C processor programming 4-6 ControlNet PLC-5/40C processor ladder rung messages 2-4...
  • Page 139 Index ControlNet system definition of 1-23 cabling description 2-19 configuring discrete I/O data transfer mapping changing a 1794 I/O modules fault distributed keeper 2-33 action 2-6, 4-4 functionality P-2, 2-18, 2-19 changing a 1794 I/O modules idle action 2-6, 4-4 download from RSLogix 5 2-16 configuring nodes...
  • Page 140 Index devices 2-4 non-discrete I/O data transfer ControlNet peer-to-peer messaging 2-4 automatic mapping 2-16 I/O configuration utility discrete I/O data transfer mapping I/O forcing 2-19 I/O map table files configured with map definition of Data Input File (DIF) 2-18, 2-19 I/O map entry status words Data Output File (DOF) 2-18, 2-21...
  • Page 141 Index locating additional information removing the processor from the chassis ladder rung messaging 1-13 link selecting cables definition of ControlNet cables 1-23 DH+ programming 1-23 remote I/O 1-23 major fault 200 and 201 serial 1-22 major fault codes selecting the ControlNet network 2-16 1-12 map table...
  • Page 142 2-16 processor resident local I/O scanner signature processors verification ControlNet PLC-5 programmable scheduled connection types controllers definition programming a processor Scheduled Data Transfer 1-20 through Channel 0 definition programming software 2-2,...
  • Page 143 Index 1-17 terminating definition of Selectable Timed Interrupts (STIs) troubleshooting ControlNet system using with ControlNet system trunk cable selecting the DH+ station address of definition of 1-11 Channel 1A trunkcable section setting the I/O chassis backplane switches addressing switches UMAX EEPROM transfer switches definition last state switch...
  • Page 144 Index Publication 1785-UM022B-EN-P - February 2002...
  • Page 145 ___Yes, please email me at __________________________ ___Yes, please contact me via ________________________ AB Drives Return this form to: Allen-Bradley Marketing Communications, 1 Allen-Bradley Dr., Mayfield Hts., OH 44124-9705 Phone: 440-646-3176 Fax: 440-646-3525 Email: [email protected] Publication ICCG-5.21- January 2001 PN 955107-82...
  • Page 146 PLEASE FASTEN HERE (DO NOT STAPLE) Other Comments PLEASE FOLD HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE 1 ALLEN-BRADLEY DR MAYFIELD HEIGHTS OH 44124-9705...
  • Page 147 AB Drives...
  • Page 149 AB Drives Publication 1785-UM022B-EN-P - February 2002 PN 957345-75 Supersedes Publication 1785-6.5.22 - February 1999 Copyright © 2002 Rockwell Automation. All rights reserved. Printed in the U.S.A.

Table of Contents