Rockwell Automation Allen-Bradley ControlLogix 1756-L Series User Manual

Rockwell Automation Allen-Bradley ControlLogix 1756-L Series User Manual

Table of Contents

Advertisement

Quick Links

ControlLogix
System
1756-Lx
User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Allen-Bradley ControlLogix 1756-L Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Rockwell Automation Allen-Bradley ControlLogix 1756-L Series

  • Page 1 ™ ControlLogix System 1756-Lx User Manual...
  • Page 2 Reproduction of the contents of this copyrighted publication, in whole or part, without written permission of Rockwell Automation, is prohibited. Throughout this manual we use notes to make you aware of safety...
  • Page 3 Preface Purpose of this Manual This manual guides the development of projects for ControlLogix controllers. It provides step-by-step procedures on how to establish communications: • over the following networks ™ – Ethernet ™ – ControlNet – remote I/O ™ – DH+ –...
  • Page 4 Preface When to Use this Manual Use this manual: • when you are ready to integrate your application with the I/0 devices, controllers, and networks in your system. • after you perform these actions: – develop the basic code for your application –...
  • Page 5: Table Of Contents

    Table of Contents Chapter 1 Download and Go Online over an When to Use This Procedure ..... . . 1-1 ™...
  • Page 6 Table of Contents Step 6: Validate Connections ..... . . 4-14 Chapter 5 Communicate with 1771 I/O Over a When to Use This Procedure ..... . . 5-1 ™...
  • Page 7 Table of Contents Step 5: Configure the PanelView Terminal ... . . 9-12 Step 6: Create PanelView Tags..... . 9-14 Step 7: Schedule the ControlNet Network.
  • Page 8 Table of Contents Chapter 14 ® ™ Route PLC-5 or SLC 500 When to Use This Procedure ..... . . 14-1 ™...
  • Page 9 Table of Contents Chapter 19 Configure Dial-Up When to Use this Procedure ..... . . 19-1 How to Use This Procedure......19-1 Communications Step 1: Connect and Configure the Modems .
  • Page 10 Table of Contents Publication 1756-UM001A-EN-P - September 2000...
  • Page 11: When To Use This Procedure

    Chapter ™ Download and Go Online over an Ethernet Network When to Use This Use this procedure when you want to perform any of the following over an Ethernet network: Procedure • download a project • go online and monitor a controller •...
  • Page 12: Step 1: Connect A Serial Cable To The Controller

    ™ Download and Go Online over an Ethernet Network Step 1: Connect a Serial Cable to the Controller 40043 A. Obtain a 1756-CP3 serial cable. (You can also use a 1747-CP3 cable from the SLC product family, but once the cable is connected you cannot close the controller door.) If you make your own serial cable: •...
  • Page 13: Step 2: Configure A Serial Driver

    ™ Download and Go Online over an Ethernet Network 1756-CP3 cable 20884 B. Connect the cable to the controller and to your workstation. Step 2: Configure a Serial ™ A. Start RSLinx software. Driver B. From the Communications menu, select Configure Drivers. C.
  • Page 14: Step 3: Assign An Ip Address

    ™ Download and Go Online over an Ethernet Network Step 3: Assign an IP Complete these actions in RSLinx software: Address − Workstation To expand a network Linx Gateways, Ethernet one level, click the AB_DF1-x, DF1 + sign. A. Expand a driver (e.g., AB_DF1-1) to the level of the 1756-ENET module.
  • Page 15: Step 4: Configure An Ethernet Driver

    ™ Download and Go Online over an Ethernet Network Step 4: Configure an Complete these actions in RSLinx software: Ethernet Driver A. From the Communications menu, select Configure Drivers. B. From the Available Driver Types list, select Remote Devices via Linx Gateway.
  • Page 16: Step 5: Select A Path

    ™ Download and Go Online over an Ethernet Network Step 5: Select a Path ™ A. Open the RSLogix 5000 project for the controller. B. From the Communications menu, select Who Active. − Workstation Linx Gateways, Ethernet To expand a network AB_DF1-x, DF1 one level, click the TCP-1, Ethernet...
  • Page 17: When To Use This Procedure

    Chapter Communicate with Another Controller over an ™ Ethernet Network When to Use This Use this procedure to send a message from one controller to another controller over an Ethernet network: Procedure • ControlLogix controller to another ControlLogix controller • ControlLogix controller to a PLC-5E ®...
  • Page 18: How To Use This Procedure

    ™ Communicate with Another Controller over an Ethernet Network How to Use This Procedure If you have not already done so in a previous procedure, do the following preliminary steps: • Step 1: Add the 1756-ENET Module • Step 2: Configure the Port To complete this procedure, do the following steps: •...
  • Page 19 ™ Communicate with Another Controller over an Ethernet Network 42377 D. Type a name for the module. E. Type or select the slot number where the module is installed F. How closely must any module that is installed in this slot match the information on this tab? Then select: all information must match:...
  • Page 20: Step 2: Configure The Port

    ™ Communicate with Another Controller over an Ethernet Network Step 2: Configure the Port A. From the File menu, select Save. B. Download the project to the controller. C. In the controller organizer, right-click the 1756-ENET module and select Properties. D.
  • Page 21 ™ Communicate with Another Controller over an Ethernet Network I. Click Set. J. Verify that the OK light on the front of the 1756-ENET module is solid green. K. From the Windows NT Start menu, select Programs → Command Prompt. L.
  • Page 22: Step 3: Enter A Message

    ™ Communicate with Another Controller over an Ethernet Network Step 3: Enter a Message A. Enter a MSG instruction and associated input instruction (s). condition Message Message Control ? ... 42424 B. In the MSG instruction, type a name for the message control tag and press the Enter key.
  • Page 23 ™ Communicate with Another Controller over an Ethernet Network The following examples show how to use a buffer of INTs Read integers from a PLC-5 controller EXAMPLE When condition turns on, reads 16-bit integer values (INTs) and stores them in int_buffer.
  • Page 24: Step 4: Configure The Message

    ™ Communicate with Another Controller over an Ethernet Network Step 4: Configure the A. In the MSG instruction, click Message B. Select a configuration for the message: Table 2.A Message to a ControlLogix or FlexLogix controller If you want to: For this item: Type or select: read (receive) the data...
  • Page 25 ™ Communicate with Another Controller over an Ethernet Network Table 2.C Message to a PLC-5 controller If the data is: And you want to: For this item: Type or select: integer (s) read (receive) data Message Type PLC5 Typed Read Source Element data table address in the PLC-5 controller (e.g., N7:10) Number Of Elements...
  • Page 26 ™ 2-10 Communicate with Another Controller over an Ethernet Network H. Type a comma [ , ]. I. Type the address of the next hardware device (e.g., controller, module): For a device on a: Specify: ControlLogix backplane slot number DF1 network station address (0-254) ControlNet network node number (1-99 decimal)
  • Page 27: Step 5: Stagger The Messages

    ™ Communicate with Another Controller over an Ethernet Network 2-11 K. Complete the communication parameters: If the message is to a: Then: 1. Leave the CIP button selected. PLC-5 controller 2. Disregard the Cache Connection check box. SLC 500 controller Logix5000 controller: How many Logix5000 controllers does this controller send messages to? •...
  • Page 28: Step 6: Access Controllogix Data

    ™ 2-12 Communicate with Another Controller over an Ethernet Network Step 6: Access Complete this step for any message that a PLC-5 or SLC 5/05 controller sends to a ControlLogix controller over an ethernet network. ControlLogix Data ™ ™ This procedure uses RSLogix 5 or RSLogix 500 IMPORTANT software, revision 3.x.
  • Page 29 ™ Communicate with Another Controller over an Ethernet Network 2-13 E. Click the MultiHop tab. 42425 F. Type the IP address of the 1756-ENET module that is in the same chassis as the ControlLogix controller. G. Type the slot number of the ControlLogix controller. Publication 1756-UM001A-EN-P - September 2000...
  • Page 30 ™ 2-14 Communicate with Another Controller over an Ethernet Network Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 31: When To Use This Procedure

    Chapter ™ Communicate with an RSView32 Project ™ over an Ethernet Network When to Use This Use this procedure to communicate with tags in an RSView32 project. Procedure eface RSView32 Software ControlLogix Chassis with 1756-ENET Module 42473 Ethernet Hub How to Use This Procedure If you have not already done so in a previous procedure, do the following preliminary steps: •...
  • Page 32: Step 1: Add The 1756-Enet Module

    ™ ™ Communicate with an RSView32 Project over an Ethernet Network Step 1: Add the 1756-ENET ™ A. Open the RSLogix 5000 project offline. Module 42376 B. Right-click I/O Configuration and select New Module. C. Select 1756-ENET and click OK. 42377 D.
  • Page 33: Step 2: Configure The Port

    ™ ™ Communicate with an RSView32 Project over an Ethernet Network F. How closely must any module that is installed in this slot match the information on this tab? Then select: all information must match: Exact Match • type • catalog number •...
  • Page 34 ™ ™ Communicate with an RSView32 Project over an Ethernet Network 42423 F. Type the IP address for the module. G. Type the subnet mask for the module. H. If your ethernet network contains DNS servers, type the address of the primary and secondary server. (If you want to use DNS names in your messages, you must specify the addresses of the servers.) I.
  • Page 35: Step 3: Configure An Ethernet Driver

    ™ ™ Communicate with an RSView32 Project over an Ethernet Network L. Type ping IP_address and press the Enter key. where: IP_address is the IP address of the 1756-ENET module from step M. Did you receive a reply from the module? Then: You have a valid configuration for the module.
  • Page 36: Step 4: Select A Communication Method

    ™ ™ Communicate with an RSView32 Project over an Ethernet Network Step 4: Select a Select a method for transferring the data: Communication Method If the data: Then go to: needs regular delivery at a rate that you Step 5: Create a Polled Topic specify is sent when a specific condition occurs in Step 8: Create a Unsolicited Topic...
  • Page 37: Step 6: Create A Polled Node

    ™ ™ Communicate with an RSView32 Project over an Ethernet Network 42429 I. Type the update rate (ms) for the data. J. Click Done and confirm the update. Step 6: Create a Polled A. Open the RSView32 project. Node B. On the Edit Mode tab, double-click the System folder. C.
  • Page 38: Step 7: Create A Polled Tag

    ™ ™ Communicate with an RSView32 Project over an Ethernet Network Step 7: Create a Polled Tag A. On the Edit Mode tab, double-click Tag Database. B. Click New. 42431 C. Specify the properties of the tag. 42432 D. Click Device. E.
  • Page 39 ™ ™ Communicate with an RSView32 Project over an Ethernet Network − Item Leaf RSLinx OPC Server (Node: <Local> ) topic_1 − topic_2 Offline Online J. Next to Online, click the + sign. − Item Leaf RSLinx OPC Server (Node: <Local> ) topic_1 −...
  • Page 40: Step 8: Create A Unsolicited Topic

    ™ ™ 3-10 Communicate with an RSView32 Project over an Ethernet Network Step 8: Create a Unsolicited A. Display RSLinx software. Topic B. From the Communications menu, select Configure Client Applications. C. Click the Virtual Link ID tab. D. Do you want to use the same Virtual Link ID for each workstation in your system? (Node or IP addresses are sufficient to distinguish between workstations.) Then:...
  • Page 41 ™ ™ Communicate with an RSView32 Project over an Ethernet Network 3-11 L. In the Remote Routing Configuration dialog box, specify the following parameters: For this parameter: Type or select: Bridge Device 1785-KA5 Bridge/5130-KA Local ID Virtual Link ID from Step D. Local KA5 arbitrary number between 1 and 107 (RSLinx requires an entry but this configuration does not use the entry.)
  • Page 42: Step 9: Enter A Message

    ™ ™ 3-12 Communicate with an RSView32 Project over an Ethernet Network Step 9: Enter a Message A. Enter a MSG instruction and associated input instruction (s). condition Message Message Control ? ... 42424 B. In the MSG instruction, type a name for the message control tag and press the Enter key.
  • Page 43 ™ ™ Communicate with an RSView32 Project over an Ethernet Network 3-13 The following examples show how to use a buffer of INTs Read integers from an RSView32 project EXAMPLE When condition turns on, reads 16-bit integer values (INTs) and stores them in int_buffer.
  • Page 44: Step 10: Configure The Message

    ™ ™ 3-14 Communicate with an RSView32 Project over an Ethernet Network Step 10: Configure the A. In the MSG instruction, click Message B. On the Configuration tab, specify the following parameters: Table 3.A Message to a RSView32 project If the data is: And you want to: For this item: Type or select:...
  • Page 45 ™ ™ Communicate with an RSView32 Project over an Ethernet Network 3-15 F. In the Path text box, add: , 2, address where: address is the IP address or DNS name of the workstation. Complete path entry EXAMPLE washer_chassis, 2, 130.130.128.4 G.
  • Page 46: Step 11: Create An Unsolicited Node

    ™ ™ 3-16 Communicate with an RSView32 Project over an Ethernet Network Step 11: Create an A. Open the RSView32 project. Unsolicited Node B. On the Edit Mode tab, double-click the System folder. C. Double-click Node. 42430 D. Click OPC Server. E.
  • Page 47: Step 12: Create An Unsolicited Tag

    ™ ™ Communicate with an RSView32 Project over an Ethernet Network 3-17 Step 12: Create an A. On the Edit Mode tab, double-click Tag Database. Unsolicited Tag B. Click New. 42431 C. Specify the properties of the tag. 42432 D. Click Device. E.
  • Page 48: Step 13: Validate The Tag

    ™ ™ 3-18 Communicate with an RSView32 Project over an Ethernet Network Step 13: Validate the Tag A. On the Edit Mode tab, double-click Tag Monitor. Tag Name Value State B. Type the name of the RSView tag and press the Enter key. Tag Name Value State...
  • Page 49: When To Use This Procedure

    Chapter Communicate with 1756 I/O When to Use This Use this procedure to monitor and controller devices that are wired to 1756 I/O modules. Procedure Controller Local I/O Remote I/O 42045 ControlNet Network How to Use This Procedure If you have not already done so in a previous procedure, do the following preliminary steps: •...
  • Page 50: Step 1: Add The Local 1756-Cnb Module

    Communicate with 1756 I/O Step 1: Add the Local ™ A. Open the RSLogix 5000 project offline. 1756-CNB Module 42376 B. Right-click I/O Configuration and select New Module. C. Select your type of CNB and click OK. 42377 D. Type a name for the module (i.e., name_of_local_cnb ). E.
  • Page 51 Communicate with 1756 I/O 42398 H. Initially, do you want to the module to communicate with the controller? Then: Leave the check box cleared (unchecked). Select the check box. Inhibit a module EXAMPLE Use the Inhibit Module check box to make it easier to test a system: •...
  • Page 52: Step 2: Add The Remote 1756-Cnb Module

    Communicate with 1756 I/O Step 2: Add the Remote 1756-CNB Module 42399 A. Right-click name_of_local_cnb and select New Module. B. Select the type of CNB that is in the remote chassis and click OK. 42404 C. Type a name for the CNB module. Use a name that identifies the I/O in the chassis.
  • Page 53 Communicate with 1756 I/O 42401 J. In step , which Comm Format did you select? Then: Rack Optimization Type the rate at which the fastest device in the chassis must update. • Use a power of two times the ControlNet NUT. •...
  • Page 54: Step 3: Add I/O Modules

    Communicate with 1756 I/O Step 3: Add I/O Modules In this step, you add I/O modules to the I/O configuration of the controller. A. Is the module in the I/O configuration of another controller? And it is an: And you want to: Then: Go to the next step.
  • Page 55 Communicate with 1756 I/O F. Select a Comm Format: If the module is also in the I/O configuration of IMPORTANT another controller, then select the Listen Only version of the Comm Format (e.g., Listen Only - Input Data). If this module is a: And: And you want to: Then select:...
  • Page 56 Communicate with 1756 I/O 42420 G. How closely must any module in this slot match the information on this tab? If this information must match: Then select all, including minor revision number Exact Match all except the minor revision number Compatible Module Disable Keying none...
  • Page 57 Communicate with 1756 I/O J. Initially, do you want the module to communicate with the controller? Then: Notes: Leave the check box cleared (unchecked). Select the check box. When you test this portion of the system, clear the check box. K.
  • Page 58: Step 4: Create Aliases

    4-10 Communicate with 1756 I/O Step 4: Create Aliases In this step, you convert tags in your programs to aliases for I/O points or channels (devices). As an alias for an I/O point or channel, each tag: • provides a descriptive name for the device that is wired to the point or channel •...
  • Page 59 Communicate with 1756 I/O 4-11 B. Select the scope of the descriptive tag. C. To the right of the tag name, click the Alias For cell. The cell displays a D. Click the E. Click the Controller Scoped Tags button, if it is available. (All the data for I/O modules is at the controller scope.) F.
  • Page 60 4-12 Communicate with 1756 I/O When you finish, the Tags window should look similar to the following: Tag Name Alias For Base Tag start conveyor:1:I.Data.1(C) conveyor:1:I.Data.1(C) start is an alias for point 1 of the input module that is in slot 1 of a remote chassis (named conveyor).
  • Page 61: Step 5: Schedule The Controlnet Network

    Communicate with 1756 I/O 4-13 Step 5: Schedule the A. Download the RSLogix 5000 project to the controller. ControlNet Network ™ B. Start RSNetworx for ControlNet software. C. Has this network been scheduled before? Then: 1. From the File menu, select New . 2.
  • Page 62: Step 6: Validate Connections

    4-14 Communicate with 1756 I/O Step 6: Validate Is this step, you verify that the controller can communicate with the devices that you have just configured. Connections Step: Detailed actions: A. Determine if communications are Is a over the I/O Configuration folder? established.
  • Page 63 Communicate with 1756 I/O 4-15 Step: Detailed actions: D. Clear the fault. 1. From the Help menu, select Contents . 2. Click the Index tab. 3. Type module faults . 42439 4. Select the range for the code and click Display . 5.
  • Page 64 4-16 Communicate with 1756 I/O Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 65: When To Use This Procedure

    Chapter Communicate with 1771 I/O Over a ™ ControlNet Network When to Use This Use this procedure to monitor and control I/O devices that are wired to 1771 I/O modules when a: Procedure • 1756-CNB module connects the local chassis to a ControlNet network.
  • Page 66: Step 1: Add The Local 1756-Cnb Module

    ™ Communicate with 1771 I/O Over a ControlNet Network Step 1: Add the Local ™ A. Open the RSLogix 5000 project offline. 1756-CNB Module 42376 B. Right-click I/O Configuration and select New Module. C. Select your type of CNB and click OK. 42377 D.
  • Page 67 ™ Communicate with 1771 I/O Over a ControlNet Network 42398 H. Initially, do you want to the module to communicate with the controller? Then: Leave the check box cleared (unchecked). Select the check box. Inhibit a module EXAMPLE Use the Inhibit Module check box to make it easier to test a system: •...
  • Page 68: Step 2: Add The 1771-Acn Module

    ™ Communicate with 1771 I/O Over a ControlNet Network Step 2: Add the 1771-ACN Module 42399 A. Right-click name_of_local_cnb and select New Module. B. Select the type of 1771-ACN that is in the remote chassis and click OK. 42434 C. Type a name for the module. Use a name that identifies the I/O in the chassis.
  • Page 69 ™ Communicate with 1771 I/O Over a ControlNet Network 42401 H. Type the rate at which the fastest device in the chassis must update. • Use a power of two times the ControlNet NUT. • For example, if the NUT is 5 ms, type a rate of 5, 10, 20 ms, etc.
  • Page 70: Step 3: Create Aliases

    ™ Communicate with 1771 I/O Over a ControlNet Network Step 3: Create Aliases In this step, you convert tags in your programs to aliases for I/O points (devices). As an alias for an I/O point, each tag: • provides a descriptive name for the device that is wired to the point •...
  • Page 71 ™ Communicate with 1771 I/O Over a ControlNet Network B. Select the scope of the descriptive tag. C. To the right of the tag name, click the Alias For cell. The cell displays a D. Click the E. Click the Controller Scoped Tags button, if it is available. (All the data for I/O modules is at the controller scope.) F.
  • Page 72: Step 4: Schedule The Controlnet Network

    ™ Communicate with 1771 I/O Over a ControlNet Network Step 4: Schedule the A. Download the RSLogix 5000 project to the controller. ControlNet Network ™ B. Start RSNetworx for ControlNet software. C. Has this network been scheduled before? Then: 1. From the File menu, select New . 2.
  • Page 73: Step 5: Validate Connections

    ™ Communicate with 1771 I/O Over a ControlNet Network Step 5: Validate Is this step, you verify that the controller can communicate with the devices that you have just configured. Connections Step: Detailed actions: A. Determine if communications are Is a over the I/O Configuration folder? established.
  • Page 74 ™ 5-10 Communicate with 1771 I/O Over a ControlNet Network Step: Detailed actions: D. Clear the fault. 1. From the Help menu, select Contents . 2. Click the Index tab. 3. Type module faults . 42439 4. Select the range for the code and click Display . 5.
  • Page 75: When To Use This Procedure

    Chapter Communicate with 1794 I/O Over a ™ ControlNet Network When to Use This Use this procedure to monitor and control I/O devices that are wired to 1794 I/O modules when a: Procedure • 1756-CNB module connects the local chassis to a ControlNet network.
  • Page 76: Step 1: Add The Local 1756-Cnb Module

    ™ Communicate with 1794 I/O Over a ControlNet Network Step 1: Add the local ™ A. Open the RSLogix 5000 project offline. 1756-CNB module 42376 B. Right-click I/O Configuration and select New Module. C. Select your type of CNB and click OK. 42377 D.
  • Page 77 ™ Communicate with 1794 I/O Over a ControlNet Network 42398 H. Initially, do you want to the module to communicate with the controller? Then: Leave the check box cleared (unchecked). Select the check box. Inhibit a module EXAMPLE Use the Inhibit Module check box to make it easier to test a system: •...
  • Page 78: Step 2: Add The Remote 1794-Acn Module

    ™ Communicate with 1794 I/O Over a ControlNet Network Step 2: Add the Remote 1794-ACN Module − I/O Configuration − [x] 1756-CNB/x name_of_local_CNB A. Right-click name_of_local_cnb and select New Module. B. Select the type of 1794-ACN that you are using and click OK. 42433 C.
  • Page 79 ™ Communicate with 1794 I/O Over a ControlNet Network 42401 I. In step , which Comm Format did you select? Then: Rack Optimization Type the rate at which the fastest device on the rail must update. • Use a power of two times the ControlNet NUT. •...
  • Page 80: Step 3: Add I/O Modules

    ™ Communicate with 1794 I/O Over a ControlNet Network Step 3: Add I/O Modules In this step, you add I/O modules to the I/O configuration of the controller. A. Is the module in the I/O configuration of another controller? And it is an: And you want to: Then: Go to the next step.
  • Page 81 ™ Communicate with 1794 I/O Over a ControlNet Network F. Select a Comm Format: If the module is also in the I/O configuration of IMPORTANT another controller, then select the Listen Only version of the Comm Format (e.g., Listen Only - Input Data). If this module is a: And the: And the module must:...
  • Page 82 ™ Communicate with 1794 I/O Over a ControlNet Network H. Click Next. 42401 I. In step , did you select Rack Optimization as the Comm Format? Then: Type the rate at which the fastest device that is wired to the module must update. •...
  • Page 83 ™ Communicate with 1794 I/O Over a ControlNet Network K. If communication with the module fails, how do you want the controller to respond? If communication with a module fails, the ATTENTION controller operates on old data from the module. To avoid potential injury or damage, either monitor communications with modules or configure modules to produce a major fault if communications fail.
  • Page 84: Step 4: Create Aliases

    ™ 6-10 Communicate with 1794 I/O Over a ControlNet Network Step 4: Create Aliases In this step, you convert tags in your programs to aliases for I/O points or channels (devices). As an alias for an I/O point or channel, each tag: •...
  • Page 85 ™ Communicate with 1794 I/O Over a ControlNet Network 6-11 B. Select the scope of the descriptive tag. C. To the right of the tag name, click the Alias For cell. The cell displays a D. Click the E. Click the Controller Scoped Tags button, if it is available. (All the data for I/O modules is at the controller scope.) F.
  • Page 86 ™ 6-12 Communicate with 1794 I/O Over a ControlNet Network When you finish, the Tags window should look similar to the following: Tag Name Alias For Base Tag start conveyor:2:I.Data.1(C) conveyor:2:I.Data.1(C) start is an alias for point 1 of the input module that is in slot 2 of the rail named conveyor . Even if the I/O module uses the Rack Optimization Comm Format, address the required point as described in step F.
  • Page 87: Step 5: Schedule The Controlnet Network

    ™ Communicate with 1794 I/O Over a ControlNet Network 6-13 Step 5: Schedule the A. Download the RSLogix 5000 project to the controller. ControlNet Network ™ B. Start RSNetworx for ControlNet software. C. Has this network been scheduled before? Then: 1.
  • Page 88: Step 6: Validate Connections

    ™ 6-14 Communicate with 1794 I/O Over a ControlNet Network Step 6: Validate Is this step, you verify that the controller can communicate with the devices that you have just configured. Connections Step: Detailed actions: A. Determine if communications are Is a over the I/O Configuration folder? established.
  • Page 89 ™ Communicate with 1794 I/O Over a ControlNet Network 6-15 Step: Detailed actions: D. Clear the fault. 1. From the Help menu, select Contents . 2. Click the Index tab. 3. Type module faults . 42439 4. Select the range for the code and click Display . 5.
  • Page 90 ™ 6-16 Communicate with 1794 I/O Over a ControlNet Network Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 91: When To Use This Procedure

    Chapter Communicate with Another Controller over a ™ ControlNet Network When to Use This Use this procedure to send a message from one controller to another controller over an ControlNet network: Procedure • ControlLogix controller to another Controllogix controller • ControlLogix controller to a FLexLogix ™...
  • Page 92: How To Use This Procedure

    ™ Communicate with Another Controller over a ControlNet Network How to Use This Procedure If you have not already done so in a previous procedure, do the following preliminary steps: • Step 1: Add the 1756-CNB Module • Step 2: Add the Remote 1756-CNB Module •...
  • Page 93 ™ Communicate with Another Controller over a ControlNet Network Step 1: Add the 1756-CNB ™ A. Open the RSLogix 5000 project offline. Module 42376 B. Right-click I/O Configuration and select New Module. C. Select your type of CNB and click OK. 42377 D.
  • Page 94 ™ Communicate with Another Controller over a ControlNet Network 42398 H. Initially, do you want to the module to communicate with the controller? Then: Leave the check box cleared (unchecked). Select the check box. Inhibit a module EXAMPLE Use the Inhibit Module check box to make it easier to test a system: •...
  • Page 95: Step 2: Add The Remote 1756-Cnb Module

    ™ Communicate with Another Controller over a ControlNet Network Step 2: Add the Remote Determine if you must complete this step: 1756-CNB Module If the other controller is a: Then: ControlLogix controller Complete this step. FlexLogix controller Go to Step 3: Add the 1788-CNC Module PLC-5C controller Go to Step 4: Add the Other Controller 42399...
  • Page 96 ™ Communicate with Another Controller over a ControlNet Network H. How closely must any module in this slot match the information on this tab? If this information must match: Then select Exact Match all, including minor revision number all except the minor revision number Compatible Module none Disable Keying...
  • Page 97 ™ Communicate with Another Controller over a ControlNet Network L. If communication with the module fails, how do you want the controller to respond? If communication with a module fails, the ATTENTION controller operates on old data from the module. To avoid potential injury or damage, either monitor communications with modules or configure modules to produce a major fault if communications fail.
  • Page 98: Step 3: Add The 1788-Cnc Module

    ™ Communicate with Another Controller over a ControlNet Network Step 3: Add the 1788-CNC Determine if you must complete this step: Module If you are sending a message to a: Then: FlexLogix controller Complete this step. ControlLogix controller Go to Step 4: Add the Other Controller PLC-5C controller 42399 A.
  • Page 99 ™ Communicate with Another Controller over a ControlNet Network 42398 H. Initially, do you want the module to communicate with the controller? Then: Notes: Leave the check box cleared (unchecked). Select the check box. When you test this portion of the system, clear the check box.
  • Page 100: Step 4: Add The Other Controller

    ™ 7-10 Communicate with Another Controller over a ControlNet Network Step 4: Add the Other Controller Add a PLC-5C controller Add a FlexLogix controller Add a ControlLogix controller 42428 A. What type of controller receives the message? If it is a: Then: PLC-5C right-click the local 1756-CNB module and select...
  • Page 101 ™ Communicate with Another Controller over a ControlNet Network 7-11 F. Click Next. 42398 G. Initially, do you want the module to communicate with the controller? Then: Leave the check box cleared (unchecked). Select the check box. Inhibit a module EXAMPLE To make it easier to test a system one module or section at a time:...
  • Page 102: Step 5: Enter A Message

    ™ 7-12 Communicate with Another Controller over a ControlNet Network Step 5: Enter a Message A. Enter a MSG instruction and associated input instruction (s). condition Message Message Control ? ... 42424 B. In the MSG instruction, type a name for the message control tag and press the Enter key.
  • Page 103 ™ Communicate with Another Controller over a ControlNet Network 7-13 The following examples show how to use a buffer of INTs Read integers from a PLC-5 controller EXAMPLE When condition turns on, reads 16-bit integer values (INTs) and stores them in int_buffer.
  • Page 104: Step 6: Configure The Message

    ™ 7-14 Communicate with Another Controller over a ControlNet Network Step 6: Configure the A. In the MSG instruction, click Message B. Select a configuration for the message: Table 7.A Message to a ControlLogix or FlexLogix controller If you want to: For this item: Type or select: read (receive) the data...
  • Page 105 ™ Communicate with Another Controller over a ControlNet Network 7-15 C. Click the Communication tab. D. Click Browse … E. Select that controller that receives the message and click OK. F. Complete the communication parameters: If the message is to a: Then: PLC-5 controller 1.
  • Page 106: Step 7: Stagger The Messages

    ™ 7-16 Communicate with Another Controller over a ControlNet Network Step 7: Stagger the As you add messages to your project, you may have to coordinate the execution of the messages. To avoid errors and assure that each Messages message is processed, follow these rules: Rule 1: Enable no more than 16 messages at one time (including block transfers).
  • Page 107 ™ Communicate with Another Controller over a ControlNet Network 7-17 D. Click the MultiHop tab. 42426 E. Type the ControlNet node number of the 1756-CNB module that is in the same chassis as the ControlLogix controller. F. Type the slot number of the ControlLogix controller. Publication 1756-UM001A-EN-P - September 2000...
  • Page 108 ™ 7-18 Communicate with Another Controller over a ControlNet Network Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 109: When To Use This Procedure

    Chapter ® Route PLC-5 Messages Between ™ ControlNet Networks When to Use This You can use ControlLogix communication modules to route a message between PLC-5 controllers that are on different networks (i.e., a Procedure remote message) The following example depicts a ControlLogix chassis with two 1756-CNB modules that route a message from a ControlNet network to a different ControlNet network.
  • Page 110: Route A Controlnet Message

    ® ™ Route PLC-5 Messages Between ControlNet Networks Route a ControlNet To send a message from a PLC-5C controller to a PLC-5C controller on a different ControlNet network: Message ™ This procedure uses RSLogix 5 software, revision IMPORTANT 3.x. A. Using RSLogix 5 software, open the project for the PLC-5 controller that sends the message.
  • Page 111 ® ™ Route PLC-5 Messages Between ControlNet Networks G. Press the Insert key. 42464 H. Select 1756-CNB. I. Type the ControlNet node number of the controller that receives the message. The following example depicts the MultiHop entries for the example on page 8-1. MultiHop entries EXAMPLE 3 1 1...
  • Page 112 ® ™ Route PLC-5 Messages Between ControlNet Networks Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 113: When To Use This Procedure

    Chapter ™ Communicate with a PanelView Terminal ™ Over a ControlNet Network When to Use This Use this procedure to exchange data between a PanelView terminal and a ControlLogix controller over a ControlNet network. Procedure 42521 ControlNet Network Before you use this procedure, your system must IMPORTANT meet these requirements: •...
  • Page 114: How To Use This Procedure

    ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network How to Use This Procedure If you have not already done so in a previous procedure, do the following preliminary step: • Step 1: Add the Local 1756-CNB Module To complete this procedure, do the following steps: •...
  • Page 115 ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network 42377 D. Type a name for the module (i.e., name_of_local_cnb ). E. Type or select the slot number where the module is installed F. How closely must any module in this slot match the information on this tab? If this information must match: Then select...
  • Page 116 ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network 42398 H. Initially, do you want to the module to communicate with the controller? Then: Leave the check box cleared (unchecked). Select the check box. Inhibit a module EXAMPLE Use the Inhibit Module check box to make it easier to test a system: •...
  • Page 117: Step 2: Add The Panelview Terminal

    ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network Step 2: Add the PanelView Terminal 42399 A. Right-click name_of_local_cnb and select New Module. B. Select PanelView and click OK. 42400 C. Type a name for the PanelView terminal. D.
  • Page 118 ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network G. Click Next. 42401 H. Type the rate that you want scheduled data to transfer with the PanelView terminal. • Use a power of two time the ControlNet NUT. •...
  • Page 119 ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network Publication 1756-UM001A-EN-P - September 2000...
  • Page 120: Step 3: Organize Your Scheduled Data

    ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network Step 3: Organize Your To transfer time-critical data, use the scheduled communications between the controller and the PanelView terminal: Scheduled Data If data type And it is: And the: Then: of the tag is: PanelView writes the data...
  • Page 121 ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network Organize scheduled (i.e., time-critical) data EXAMPLE Copies the value of name_of_panelview:I.Data[0].1 to station_1_stop. name_of_panelview:I.Data[0].1 station_1.stop Copies the value of station_1_run to name_of_panelview:O.Data[0].0. station_1.run name_of_panelview:O.Data[0].0 alarm_ack and alarm are aliases for data that the PanelView terminal writes and reads alarm_ack alarm <name_of_panelview:I.Data[0].2>...
  • Page 122: Step 4: Organize Your Unscheduled Data

    ™ ™ 9-10 Communicate with a PanelView Terminal Over a ControlNet Network Step 4: Organize Your To transfer unscheduled data with the PanelView terminal, organize the tags in the ControlLogix controller as follows: Unscheduled Data If data type And it is: And the: Then: of the tag is:...
  • Page 123 ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network 9-11 Organize unscheduled (i.e., not time-critical) data EXAMPLE Copies the value of bit 3 of station_1_status (DINT tag) to station_1.start (a member of the station_1 structure) station_1_status.3 station_1.start Copies the value of counter.DN to bit 1 of station_1_status (DINT tag) counter.DN station_1_status.1 RUN_mode is an alias for bit 4 of station_1_status.(DINT tag)
  • Page 124: Step 5: Configure The Panelview Terminal

    ™ ™ 9-12 Communicate with a PanelView Terminal Over a ControlNet Network Step 5: Configure the A. Start PanelBuilder32 software. PanelView Terminal B. Open an existing PanelBuilder application or create a new application. C. From the Application menu, select Settings. D.
  • Page 125 ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network 9-13 42396 H. Type a name for the ControlLogix controller. I. Type the path to the ControlLogix controller. Use the following format: space cnb_address 1 controller_slot where: ControlNet node number of the 1756-CNB cnb_address module that is in the same chassis as the ControlLogix controller...
  • Page 126: Step 6: Create Panelview Tags

    ™ ™ 9-14 Communicate with a PanelView Terminal Over a ControlNet Network Step 6: Create PanelView A. On the PanelView screen, create the required object. Tags B. Double-click the object. C. Click the Edit Tag button. 42397 D. Type a name for the object E.
  • Page 127 ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network 9-15 G. Specify the name of the tag in the ControlLogix controller: If the tag is: And its data And the: Specify: type is: scheduled PanelView writes the data SI0: x/y PanelView reads the data SO0: x/y...
  • Page 128: Step 7: Schedule The Controlnet Network

    ™ ™ 9-16 Communicate with a PanelView Terminal Over a ControlNet Network Step 7: Schedule the A. Download the RSLogix 5000 project to the controller. ControlNet Network B. Download the PanelBuilder32 application to the terminal. ™ C. Start RSNetworx for ControlNet software. D.
  • Page 129: Step 8: Validate Connections

    ™ ™ Communicate with a PanelView Terminal Over a ControlNet Network 9-17 Step 8: Validate Is this step, you verify that the controller can communicate with the devices that you have just configured. Connections Step: Detailed actions: A. Determine if communications are Is a over the I/O Configuration folder? established.
  • Page 130 ™ ™ 9-18 Communicate with a PanelView Terminal Over a ControlNet Network Step: Detailed actions: D. Clear the fault. 1. From the Help menu, select Contents . 2. Click the Index tab. 3. Type module faults . 42439 4. Select the range for the code and click Display . 5.
  • Page 131: When To Use This Procedure

    Chapter ™ Communicate with an RSView32 Project ™ over a ControlNet Network When to Use This Use this procedure to communicate with tags in an RSView32 project. Procedure face RSView32 Software ControlLogix Chassis with 1756-CNB Module 42520 ControlNet Network How to Use This Procedure If you have not already done so in a previous procedure, do the following preliminary steps: •...
  • Page 132 ™ ™ 10-2 Communicate with an RSView32 Project over a ControlNet Network Step 1: Add the 1756-CNB ™ A. Open the RSLogix 5000 project offline. Module 42376 B. Right-click I/O Configuration and select New Module. C. Select your type of CNB and click OK. 42377 D.
  • Page 133 ™ ™ Communicate with an RSView32 Project over a ControlNet Network 10-3 42398 H. Initially, do you want to the module to communicate with the controller? Then: Leave the check box cleared (unchecked). Select the check box. Inhibit a module EXAMPLE Use the Inhibit Module check box to make it easier to test a system:...
  • Page 134: Step 2: Configure A Controlnet Driver

    ™ ™ 10-4 Communicate with an RSView32 Project over a ControlNet Network Step 2: Configure a ™ A. Start RSLinx software. ControlNet Driver B. From the Communications menu, select Configure Drivers. C. From the Available Driver Types list, select the type of ControlNet communication card.
  • Page 135: Step 3: Select A Communication Method

    ™ ™ Communicate with an RSView32 Project over a ControlNet Network 10-5 Step 3: Select a Select a method for transferring the data: Communication Method If the data: Then go to: needs regular delivery at a rate that you Step 4: Create a Polled Topic specify is sent when a specific condition occurs in Step 7: Create a Unsolicited Topic...
  • Page 136 ™ ™ 10-6 Communicate with an RSView32 Project over a ControlNet Network 42429 I. Type the update rate (ms) for the data. J. Click Done and confirm the update. Publication 1756-UM001A-EN-P - September 2000...
  • Page 137: Step 5: Create A Polled Node

    ™ ™ Communicate with an RSView32 Project over a ControlNet Network 10-7 Step 5: Create a Polled A. Open the RSView32 project. Node B. On the Edit Mode tab, double-click the System folder. C. Double-click Node. 42430 D. Click OPC Server. E.
  • Page 138: Step 6: Create A Polled Tag

    ™ ™ 10-8 Communicate with an RSView32 Project over a ControlNet Network Step 6: Create a Polled Tag A. On the Edit Mode tab, double-click Tag Database. B. Click New. 42431 C. Specify the properties of the tag. 42432 D. Click Device. E.
  • Page 139 ™ ™ Communicate with an RSView32 Project over a ControlNet Network 10-9 − Item Leaf RSLinx OPC Server (Node: <Local> ) topic_1 − topic_2 Offline Online J. Next to Online, click the + sign. − Item Leaf RSLinx OPC Server (Node: <Local> ) topic_1 −...
  • Page 140: Step 7: Create A Unsolicited Topic

    ™ ™ 10-10 Communicate with an RSView32 Project over a ControlNet Network Step 7: Create a Unsolicited A. Display RSLinx software. Topic B. From the Communications menu, select Configure Client Applications. C. Click the Virtual Link ID tab. D. Do you want to use the same Virtual Link ID for each workstation in your system? (Node or IP addresses are sufficient to distinguish between workstations.) Then:...
  • Page 141 ™ ™ Communicate with an RSView32 Project over a ControlNet Network 10-11 L. In the Remote Routing Configuration dialog box, specify the following parameters: For this parameter: Type or select: Bridge Device 1785-KA5 Bridge/5130-KA Local ID Virtual Link ID from Step D. Local KA5 arbitrary number between 1 and 107 (RSLinx requires an entry but this configuration does not use the entry.)
  • Page 142: Step 8: Enter A Message

    ™ ™ 10-12 Communicate with an RSView32 Project over a ControlNet Network Step 8: Enter a Message A. Enter a MSG instruction and associated input instruction (s). condition Message Message Control ? ... 42424 B. In the MSG instruction, type a name for the message control tag and press the Enter key.
  • Page 143 ™ ™ Communicate with an RSView32 Project over a ControlNet Network 10-13 The following examples show how to use a buffer of INTs Read integers from an RSView32 project EXAMPLE When condition turns on, reads 16-bit integer values (INTs) and stores them in int_buffer.
  • Page 144: Step 9: Configure The Message

    ™ ™ 10-14 Communicate with an RSView32 Project over a ControlNet Network Step 9: Configure the A. In the MSG instruction, click Message B. On the Configuration tab, specify the following parameters: Table 10.A Message to a RSView32 project If the data is: And you want to: For this item: Type or select:...
  • Page 145 ™ ™ Communicate with an RSView32 Project over a ControlNet Network 10-15 F. In the Path text box, add: , 2, address, 1, 0 where: address is the ControlNet node number of the workstation. Complete path entry EXAMPLE washer_chassis, 2, 5, 1, 0 G.
  • Page 146: Step 10: Create An Unsolicited Node

    ™ ™ 10-16 Communicate with an RSView32 Project over a ControlNet Network Step 10: Create an A. Open the RSView32 project. Unsolicited Node B. On the Edit Mode tab, double-click the System folder. C. Double-click Node. 42430 D. Click OPC Server. E.
  • Page 147: Step 11: Create An Unsolicited Tag

    ™ ™ Communicate with an RSView32 Project over a ControlNet Network 10-17 Step 11: Create an A. On the Edit Mode tab, double-click Tag Database. Unsolicited Tag B. Click New. 42431 C. Specify the properties of the tag. 42432 D. Click Device. E.
  • Page 148: Step 12: Validate The Tag

    ™ ™ 10-18 Communicate with an RSView32 Project over a ControlNet Network Step 12: Validate the Tag A. On the Edit Mode tab, double-click Tag Monitor. Tag Name Value State B. Type the name of the RSView tag and press the Enter key. Tag Name Value State...
  • Page 149: When To Use This Procedure

    Chapter Monitor Connections When To Use This Use this procedure to alert the system to the loss of communication with a device (module) in the I/O configuration of the controller. For Procedure example: • failure of a module • loss of power to a chassis •...
  • Page 150: Monitor A Connection

    11-2 Monitor Connections Monitor a Connection If communication with a device in the I/O configuration of the controller does not occur for 100 ms, the communication times out and the controller produces the following warnings: • The I/O LED on the front of the controller flashes green. •...
  • Page 151 Monitor Connections 11-3 If you want to: Then: determine if communication has timed out Enter the following rung for the device and add the specific action to occur: with a specific device If communication times out with a device (module) in the I/O configuration of the controller, the controller produces a fault code for the module.
  • Page 152 11-4 Monitor Connections Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 153: When To Use This Procedure

    Chapter Communicate with a DeviceNet Device When to Use This Use this procedure to monitor and control I/O devices that are part of a DeviceNet network. Before you use this procedure, set up the Procedure DeviceNet network: • Connect the devices to the network. •...
  • Page 154 12-2 Communicate with a DeviceNet Device 42469 D. Type a name for the module. Use a name that identifies the I/O of the network. E. Type or select the slot number of the module. F. Type or select the number of input words that are mapped in the scanner plus 1.
  • Page 155 Communicate with a DeviceNet Device 12-3 J. Is the module in a remote chassis? Then: Type the rate at which the fastest device in the chassis must update. • Use a power of two times the ControlNet NUT. • For example, if the NUT is 5 ms, type a rate of 5, 10, 20 ms, etc. Leave the RPI at the default setting.
  • Page 156: Step 2: Create Aliases

    12-4 Communicate with a DeviceNet Device Step 2: Create Aliases In this step, you convert tags in your programs to aliases for I/O points (devices). As an alias for an I/O point, each tag: • provides a descriptive name for the device that is wired to the point •...
  • Page 157 Communicate with a DeviceNet Device 12-5 D. Click the E. Click the Controller Scoped Tags button, if it is available. (All the data for I/O modules is at the controller scope.) F. Next to name:slot:X, click the + sign. Where: name of the chassis: name Then the name is:...
  • Page 158: Step 3: Set The Scanner To Run Mode

    12-6 Communicate with a DeviceNet Device Step 3: Set the Scanner to Run Mode 42376 A. Double-click Controller Tags. Tag Name Value ( . . . ) name:slot:O B. Next to name:slot : 0, click the + sign. Where: name of the chassis: name Then the name is: local...
  • Page 159 Communicate with a DeviceNet Device 12-7 Tag Name Value − ( . . . ) name:slot:O − ( . . . ) name:slot:O.CommandRegister name:slot:O.CommandRegister.Run D. In name:slot : 0.CommandRegister, enter a 1. Tag Name Value − ( . . . ) name:slot:O −...
  • Page 160 12-8 Communicate with a DeviceNet Device Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 161: When To Use This Procedure

    Chapter Communicate with Another Controller Over a ™ Network When to Use This Use this procedure to send a message over a DH+ network between: Procedure • ControlLogix controllers • ControlLogix controller and a PLC-5 ® ™ or SLC 500 controller ControlLogix Controller PLC-5 Controller...
  • Page 162: Step 1: Configure Routing Tables

    ™ 13-2 Communicate with Another Controller Over a DH+ Network Step 1: Configure Routing Determine if you must complete this step: Tables If a: Sends a message to a: Over a: And there is: Then: PLC-5 controller ControlLogix controller local network only one ControlLogix Go to Step 2: Configure a SLC 500 controller...
  • Page 163 ™ Communicate with Another Controller Over a DH+ Network 13-3 In the following example, two ControlLogix chassis link different DH+ networks together via a ControlNet network. Routing table EXAMPLE ControlNet ControlNet network ControlNet node 1 link ID 100 node 2 ControlLogix ControlLogix backplane...
  • Page 164 ™ 13-4 Communicate with Another Controller Over a DH+ Network Configure a routing table for each 1756-DHRIO module that is along the route or path to the other controller: Step: Detailed actions: A. For each network and each Here is an example: ControlLogix backplane in your system, designate a unique link ID number.
  • Page 165 ™ Communicate with Another Controller Over a DH+ Network 13-5 Step: Detailed actions: C. Display the routing table. 1. Start the ControlLogix Gateway software. 2. From the File menu, select Browse Network … 3. In the left pane of the RSLinx window, expand the network from step B. until you see the 1756-DHRIO module in the right pane: 42189 4.
  • Page 166 ™ 13-6 Communicate with Another Controller Over a DH+ Network Step: Detailed actions: G. To each of the networks created in 1. Right-click the link ID and select Add Module … the previous step, add the 2. Select the type of device and click OK . corresponding communication 3.
  • Page 167: Step 2: Configure A 1756-Dhrio Channel

    ™ Communicate with Another Controller Over a DH+ Network 13-7 Step 2: Configure a Determine if you must complete this step: 1756-DHRIO Channel If a: Sends a message to a: Over a: And there is: Then: PLC-5 controller ControlLogix controller local network only one ControlLogix Complete this step.
  • Page 168 ™ 13-8 Communicate with Another Controller Over a DH+ Network C. Power-up the chassis. D. Start the ControlLogix Gateway software. E. From the File menu, select Browse Network … F. In the left pane of the RSLinx window, expand the network from step B.
  • Page 169: Step 3: Add A 1756-Dhrio Module

    ™ Communicate with Another Controller Over a DH+ Network 13-9 Step 3: Add a 1756-DHRIO Determine if you must complete this step: Module If a: Then: ControlLogix controller sends the message Complete this step. PLC-5 or SLC 500 controller sends the Go to Step 7: Access ControlLogix Data message ™...
  • Page 170 ™ 13-10 Communicate with Another Controller Over a DH+ Network F. How closely must any module in this slot match the information on this tab? If this information must match: Then select Exact Match all, including minor revision number all except the minor revision number Compatible Module none Disable Keying...
  • Page 171 ™ Communicate with Another Controller Over a DH+ Network 13-11 I. If communication with the module fails, how do you want the controller to respond? If communication with a module fails, the ATTENTION controller operates on old data from the module.
  • Page 172: Step 4: Enter A Message

    ™ 13-12 Communicate with Another Controller Over a DH+ Network Step 4: Enter a Message A. Enter a MSG instruction and associated input instruction (s). condition Message Message Control ? ... 42424 B. In the MSG instruction, type a name for the message control tag and press the Enter key.
  • Page 173 ™ Communicate with Another Controller Over a DH+ Network 13-13 The following examples show how to use a buffer of INTs Read integers from a PLC-5 controller EXAMPLE When condition turns on, reads 16-bit integer values (INTs) and stores them in int_buffer.
  • Page 174: Step 4: Configure The Message

    ™ 13-14 Communicate with Another Controller Over a DH+ Network Step 4: Configure the A. In the MSG instruction, click Message B. Select a configuration for the message: Table 13.A Message to a ControlLogix or FlexLogix controller If you want to: For this item: Type or select: read (receive) the data...
  • Page 175 ™ Communicate with Another Controller Over a DH+ Network 13-15 Table 13.C Message to a PLC-5 controller If the data is: And you want to: For this item: Type or select: integer (s) read (receive) data Message Type PLC5 Typed Read Source Element data table address in the PLC-5 controller (e.g., N7:10) Number Of Elements...
  • Page 176 ™ 13-16 Communicate with Another Controller Over a DH+ Network F. Specify the remaining communication properties: For a message to a: Type or select: ControlLogix controller 1. Type a comma [ , ]. 2. Type the port number from which the message exits: 1.
  • Page 177 ™ Communicate with Another Controller Over a DH+ Network 13-17 The following examples depicts a communication path over an DH+ network: DH+ path EXAMPLE channel A DH+ network DH+ address 10 (octal) Message washer, 2, 8#10, 1, 0 where: indicates: washer name of the 1756-DHRIO module channel A of the 1756-DHRIO module...
  • Page 178: Step 6: Stagger The Messages

    ™ 13-18 Communicate with Another Controller Over a DH+ Network Step 6: Stagger the As you add messages to your project, you may have to coordinate the execution of the messages. To avoid errors and assure that each Messages message is processed, follow these rules: Rule 1: Enable no more than 16 messages at one time (including block transfers).
  • Page 179 ™ Communicate with Another Controller Over a DH+ Network 13-19 ™ ™ This procedure uses RSLogix 5 or RSLogix 500 IMPORTANT software, revision 3.x. A. Using either RSLogix 5 or RSLogix 500 software, as required, open the project for the PLC-5 or SLC 500 controller. B.
  • Page 180 ™ 13-20 Communicate with Another Controller Over a DH+ Network Table 13.D Set-up for a message from a PLC-5 controller to a ControlLogix controller (Continued) For a: In this item: Specify: remote message Communication Command PLC-5 Typed Read PLC-5 Typed Write Data Table Address (This PLC-5) starting address of the data in the PLC-5 controller Size in Elements...
  • Page 181 Chapter ® ™ Route PLC-5 or SLC 500 Messages From a ™ Network When to Use This Use this procedure to route a message from a PLC-5 or SLC 500 controller that is on a DH+ network to a PLC-5 or SLC 500 controller Procedure that is on a different network.
  • Page 182: Step 1: Configure Routing Tables

    ® ™ ™ 14-2 Route PLC-5 or SLC 500 Messages From a DH+ Network Step 1: Configure Routing In this step, you configure routing tables for 1756-DHRIO modules. The modules use the routing tables to send the message to the Tables destination.
  • Page 183 ® ™ ™ Route PLC-5 or SLC 500 Messages From a DH+ Network 14-3 Configure a routing table for each 1756-DHRIO module that is along the route or path to the other controller: Step: Detailed actions: A. For each network and each Here is an example: ControlLogix backplane in your system, designate a unique link ID...
  • Page 184 ® ™ ™ 14-4 Route PLC-5 or SLC 500 Messages From a DH+ Network Step: Detailed actions: C. Display the routing table. 1. Start the ControlLogix Gateway software. 2. From the File menu, select Browse Network … 3. In the left pane of the RSLinx window, expand the network from step B. until you see the 1756-DHRIO module in the right pane: 42189 4.
  • Page 185 ® ™ ™ Route PLC-5 or SLC 500 Messages From a DH+ Network 14-5 Step: Detailed actions: G. To each of the networks created in 1. Right-click the link ID and select Add Module … the previous step, add the 2.
  • Page 186: Step 2: Configure A Plc-5 Or Slc 500 Message

    ® ™ ™ 14-6 Route PLC-5 or SLC 500 Messages From a DH+ Network Step 2: Configure a PLC-5 or SLC 500 Message ™ ™ This procedure uses RSLogix 5 or RSLogix 500 IMPORTANT software, revision 3.x. A. Using either RSLogix 5 or RSLogix 500 software, as required, open the project for the controller that sends the message.
  • Page 187 ® ™ ™ Route PLC-5 or SLC 500 Messages From a DH+ Network 14-7 D. Select a set-up: For a message from In this item: Specify: PLC-5 controller Communication Command PLC-5 Typed Read PLC-5 Typed Write Data Table Address (This PLC-5) starting address of the data in the controller that sends the message Size in Elements number of elements to read or write...
  • Page 188 ® ™ ™ 14-8 Route PLC-5 or SLC 500 Messages From a DH+ Network Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 189: When To Use This Procedure

    Chapter Communicate Over a Remote I/O Network When to Use This Use this procedure to monitor and control I/O over a remote I/O network. Procedure Remote I/O Network ControlLogix Chassis with PanelView Terminal 1756-DHRIO Module 1771-ASB Adapter PLC-5 Controller 1791 Block I/O 1747-ASB Adapter 1794-ASB Adapter 42471...
  • Page 190: Step 1: Add A 1756-Dhrio Module

    15-2 Communicate Over a Remote I/O Network Step 1: Add a 1756-DHRIO ™ A. Open the RSLogix 5000 project offline. Module 42376 B. Right-click I/O Configuration and select New Module. C. Select your series of 1756-DHRIO module and click OK. 42440 D.
  • Page 191 Communicate Over a Remote I/O Network 15-3 H. How closely must any module in this slot match the information on this tab? If this information must match: Then select Exact Match all, including minor revision number all except the minor revision number Compatible Module none Disable Keying...
  • Page 192 15-4 Communicate Over a Remote I/O Network L. If communication with the module fails, how do you want the controller to respond? If communication with a module fails, the ATTENTION controller operates on old data from the module. To avoid potential injury or damage, either monitor communications with modules or configure modules to produce a major fault if communications fail.
  • Page 193: Step 2: Add A Remote I/O Adapter

    Communicate Over a Remote I/O Network 15-5 Step 2: Add a Remote I/O In this step, you add remote I/0 adapters for each rack, or portion of a rack, in the chassis: Adapter If the chassis contains: Then add: less than 1 rack of I/O 1 adapter for the chassis 1 rack of I/O more than 1 rack of I/O...
  • Page 194 15-6 Communicate Over a Remote I/O Network 42441 C. Type a name for the adapter module. Use a name that identifies the I/O of this adapter. D. Type or select rack number of this module. E. Select the channel on 1756-DHRIO module that is network is connected to.
  • Page 195 Communicate Over a Remote I/O Network 15-7 K. If communication with the module fails, how do you want the controller to respond? If communication with a module fails, the ATTENTION controller operates on old data from the module. To avoid potential injury or damage, either monitor communications with modules or configure modules to produce a major fault if communications fail.
  • Page 196: Step 3: Add A Remote I/O Module

    15-8 Communicate Over a Remote I/O Network Step 3: Add a Remote I/O Does a module in the chassis require block transfers? Module Then: Complete steps 3 to 5 for each module that requires block transfers Go to Step 6: Create Aliases −...
  • Page 197: Step 4: Enter Messages

    Communicate Over a Remote I/O Network 15-9 Step 4: Enter Messages In this step, you enter the MSG instructions that transfer data to or from a module that requires block transfers. You also enter logic that converts data between DINTs and INTs: •...
  • Page 198 15-10 Communicate Over a Remote I/O Network B. To write configuration or output data to the module, enter the following logic: The application writes configuration and output data to dints_output, which is an array of DINTs. Before the controller sends the data to the module, the FAL instruction moves the values to int_buffer_write.
  • Page 199: Step 5: Configure Messages

    Communicate Over a Remote I/O Network 15-11 Step 5: Configure Messages A. In the MSG instruction, click B. Select a configuration: If you want to: For this item: Type or select: read input data Message Type Block Transfer Read Number Of Elements number of INTs to read int_buffer_read [0] Destination Tag...
  • Page 200: Step 6: Create Aliases

    15-12 Communicate Over a Remote I/O Network Step 6: Create Aliases In this step, you convert tags in your programs to aliases for I/O points (devices). As an alias for an I/O point, each tag: • provides a descriptive name for the device that is wired to the point •...
  • Page 201 Communicate Over a Remote I/O Network 15-13 B. Select the scope of the descriptive tag. C. To the right of the tag name, click the Alias For cell. The cell displays a D. Click the E. Click the Controller Scoped Tags button, if it is available. (All the data for I/O modules is at the controller scope.) F.
  • Page 202: Step 7: Validate Connections

    15-14 Communicate Over a Remote I/O Network Step 7: Validate Is this step, you verify that the controller can communicate with the devices that you have just configured. Connections Step: Detailed actions: A. Determine if communications are Is a over the I/O Configuration folder? established.
  • Page 203: Step 8: Stagger The Messages

    Communicate Over a Remote I/O Network 15-15 Step: Detailed actions: D. Clear the fault. 1. From the Help menu, select Contents . 2. Click the Index tab. 3. Type module faults . 42439 4. Select the range for the code and click Display . 5.
  • Page 204 15-16 Communicate Over a Remote I/O Network Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 205: When To Use This Procedure

    Chapter Download and Go Online over a Serial Cable When to Use this Procedure Use this procedure when you want to perform any of the following over a serial cable: • download a project to a controller • go online and monitor a controller •...
  • Page 206: Step 1: Connect A Serial Cable

    16-2 Download and Go Online over a Serial Cable Step 1: Connect a Serial Cable 40043 A. Obtain a 1756-CP3 serial cable. (You can also use a 1747-CP3 cable from the SLC product family, but once the cable is connected you cannot close the controller door.) If you make your own serial cable: •...
  • Page 207: Step 2: Configure A Serial Driver

    Download and Go Online over a Serial Cable 16-3 1756-CP3 cable 20884 B. Connect the cable to the controller and to your workstation. Step 2: Configure a Serial ™ A. Start RSLinx software. Driver B. From the Communications menu, select Configure Drivers. C.
  • Page 208: Step 3: Select A Path

    16-4 Download and Go Online over a Serial Cable Step 3: Select a Path ™ A. Open the RSLogix 5000 project for the controller. B. From the Communications menu, select Who Active. − Workstation Linx Gateways, Ethernet To expand a network AB_DF1-x, DF1 one level, click the TCP-1, Ethernet...
  • Page 209: When To Use This Procedure

    Chapter Communicate with an ASCII Device When to Use this Procedure You can use the serial port of the controller to exchange data an ASCII device, such as a weigh scale module, bar code reader, or message display terminal. 42386 How to Use This Procedure To complete this procedure, do the following steps: •...
  • Page 210: Step 1: Connect The Ascii Device

    17-2 Communicate with an ASCII Device Step 1: Connect the ASCII A. For the serial port of the ASCII device, determine which pins send signals and which pins receive signals. Device B. Connect sending pins to corresponding receiving pins and attach jumpers: If the communications: Then wire the connectors as follows: handshake...
  • Page 211: Step 2: Configure The Serial Port

    Communicate with an ASCII Device 17-3 Step 2: Configure the Serial A. Determine the following communication settings for the ASCII device: Port 1. baud rate 2. data bits 3. parity 4. stop bits ™ B. Open the RSLogix 5000 project. 42376 C.
  • Page 212 17-4 Communicate with an ASCII Device 42251 E. Select User. F. Select the settings for the ASCII device, from Step A. G. Select the Control Line option: And: And this is the: Select: Then: you are not using a No Handshaking Go to Step J.
  • Page 213: Step 3: Configure The User Protocol

    Communicate with an ASCII Device 17-5 Step 3: Configure the User A. Click the User Protocol tab. Protocol 42252 B. Select or type a number that is greater than or equal to the greatest number of characters in a transmission. (Twice the number of characters is a good guideline.) C.
  • Page 214 17-6 Communicate with an ASCII Device D. If you are using the AWA instruction, type the character(s) to append to the data. For the ASCII code of a character, refer to the back cover of this manual. To append: Then: Notes: one character 1.
  • Page 215: When To Use This Procedure

    Chapter Configure DF1 Master and Slave Communications When to Use this Procedure Use this procedure to get information to and from remote controllers (stations) when: • Your system contains three or more stations. • Communications occur on a regular basis and require leased-line, radio, or power-line modems.
  • Page 216: How To Use This Procedure

    18-2 Configure DF1 Master and Slave Communications How to Use This Procedure If you have not already done so in a previous procedure, do the following preliminary step: • Step 1: Connect and Configure the Modems To complete this procedure, do the following steps: •...
  • Page 217: Step 2: Select A Polling Mode

    Configure DF1 Master and Slave Communications 18-3 Step 2: Select a Polling Determine if you will use standard polling or message-based polling: Mode Then go to: On page: data is time critical Step 3: Configure the Master Controller for Standard Polling 18-3 slave controllers will initiate messages you want to use logic to control when communication...
  • Page 218 18-4 Configure DF1 Master and Slave Communications 42376 C. Right-click Controller name_of_controller and select Properties. D. Click the Serial Port tab. 42251 E. Select System (default). F. Select the settings for your DF1 network. G. Select Half Duplex. H. Clear (uncheck) the Continuous Carrier check box (default). I.
  • Page 219 Configure DF1 Master and Slave Communications 18-5 K. Click Apply. L. Click the System Protocol tab. 42388 M. Select DF1 Master. N. Select the error detection method that your equipment uses. O. Do you want to receive duplicate messages? Then: Leave the Enable Duplicate Detection selected.
  • Page 220 18-6 Configure DF1 Master and Slave Communications R. Determine when the master controller should send its messages: To send messages to slave stations: Select: before polling the next station Between station polls In polling sequence when the station number of the master appears in the polling lists S.
  • Page 221 Configure DF1 Master and Slave Communications 18-7 Y. In the list_priority_poll tag (step B.), enter the addresses of the priority stations to poll: • If this controller (master) sends its messages in the polling sequence (step R.), include this controller in the list. •...
  • Page 222: Step 4: Configure The Master Controller For Message-Based Polling

    18-8 Configure DF1 Master and Slave Communications Step 4: Configure the Determine if you must complete this step: Master Controller for If you are using this polling mode: Then: Message-Based Polling standard Go to Step 5: Configure a Slave Controller message-based Complete this step A.
  • Page 223 Configure DF1 Master and Slave Communications 18-9 H. Type the amount of delay (20 ms units) between the time that the RTS signal turns on (high) and the time that data is sent. For example, a value of 4 produces an 80 ms delay. I.
  • Page 224: Step 5: Configure A Slave Controller

    18-10 Configure DF1 Master and Slave Communications Step 5: Configure a Slave A. Open the RSLogix 5000 project for the slave controller. Controller 42376 B. Right-click Controller name_of_controller and select Properties. C. Click the Serial Port tab. 42251 D. Select System (default). E.
  • Page 225 Configure DF1 Master and Slave Communications 18-11 J. Click Apply. K. Click the System Protocol tab. 42388 L. Select DF1 Slave. M. Select the error detection method that your equipment uses. N. Do you want to receive duplicate messages? Then: Leave the Enable Duplicate Detection selected.
  • Page 226: Step 6: Enter A Message

    18-12 Configure DF1 Master and Slave Communications Step 6: Enter a Message Regardless of whether you use standard polling or message-based polling, you must use a MSG instruction to transfer data between controllers: A. Enter a MSG instruction and associated input instruction (s). condition Message Message Control...
  • Page 227 Configure DF1 Master and Slave Communications 18-13 The following examples show how to use a buffer of INTs Read integers from a PLC-5 controller EXAMPLE When condition turns on, reads 16-bit integer values (INTs) and stores them in int_buffer. Then the FAL instruction moves the values to dint_array. This converts the values to 32-bit integers (DINTs), for use by other instructions in the ControlLogix controller.
  • Page 228: Step 7: Configure The Message

    18-14 Configure DF1 Master and Slave Communications Step 7: Configure the A. In the MSG instruction, click Message B. Select a configuration for the message: Table 18.A Message to a ControlLogix or FlexLogix controller If the data is: And you want to: For this item: Type or select: structure (s)
  • Page 229 Configure DF1 Master and Slave Communications 18-15 Table 18.B Message to a PLC-5 controller If the data is: And you want to: For this item: Type or select: integer (s) read (receive) data Message Type PLC5 Typed Read Source Element data table address in the PLC-5 controller (e.g., N7:10) Number Of Elements number of integers to transfer...
  • Page 230 18-16 Configure DF1 Master and Slave Communications Table 18.C Message to a SLC 500 controller If the data is: And you want to: For this item: Type or select: integer (s) read (receive) data Message Type SLC Typed Read Source Element data table address in the SLC 500 controller (e.g., N7:10) Number Of Elements number of integers to transfer...
  • Page 231: Step 8: Stagger The Messages

    Configure DF1 Master and Slave Communications 18-17 Step 8: Stagger the As you add messages to your project, you may have to coordinate the execution of the messages. To avoid errors and assure that each Messages message is processed, follow these rules: Rule 1: Enable no more than 16 messages at one time (including block transfers).
  • Page 232 18-18 Configure DF1 Master and Slave Communications Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 233: When To Use This Procedure

    Chapter Configure Dial-Up Communications When to Use this Procedure Use this procedure to send a message to another controller over a public telephone line. Preface 42394 How to Use This Procedure If you have not already done so in a previous procedure, do the following preliminary step: •...
  • Page 234 19-2 Configure Dial-Up Communications Step 1: Connect and A. Connect each controller to the modem using the following Allen-Bradley cable: Configure the Modems A-B 1784-CAS, 25-pin male modem connector The cable has the following wiring: controller modem (9-pin female) (25-pin male) COMMON B.
  • Page 235: Step 2: Configure The Serial Port Of The Controller

    Configure Dial-Up Communications 19-3 Step 2: Configure the Serial ™ A. Open the RSLogix 5000 project for the controller. Port of the Controller 42376 B. Right-click Controller name_of_controller and select Properties. C. Click the Serial Port tab. 42251 D. Select System (default). E.
  • Page 236 19-4 Configure Dial-Up Communications J. Click the System Protocol tab. 42392 K. Select DF1 Point to Point (Default). L. Select the error detection method that your equipment uses. M. Do you want to receive duplicate messages? Then: Leave the Enable Duplicate Detection selected. Clear the Enable Duplicate Detection check box.
  • Page 237: Step 3: Dial The Other Controller

    Configure Dial-Up Communications 19-5 Step 3: Dial the Other Use the following logic to dial another controller: Controller When condition turns on, the AWA instruction commands the modem to dial a remote controller. The GSV instruction monitors the status of the serial port. condition ASCII Write Append Get System Value...
  • Page 238: Step 4: Send The Message

    19-6 Configure Dial-Up Communications Step 4: Send the Message A. Enter the following logic: Serial_port [1] contains the status of the modem signals. When bit 3 is on (DCD is high), the modem is receiving the carrier from the remote modem and communication is established. At this point, the message is sent to the remote controller.
  • Page 239 Configure Dial-Up Communications 19-7 The following examples show how to use a buffer of INTs Read integers from a PLC-5 controller EXAMPLE When serial_port[1].3 turns on, reads 16-bit integer values (INTs) and stores them in int_buffer. Then the FAL instruction moves the values to dint_array. This converts the values to 32-bit integers (DINTs), for use by other instructions in the ControlLogix controller.
  • Page 240: Step 5: Configure The Message

    19-8 Configure Dial-Up Communications Step 5: Configure the A. In the MSG instruction, click Message B. Select a configuration for the message: Table 19.A Message to a ControlLogix or FlexLogix controller If the data is: And you want to: For this item: Type or select: structure (s) read (receive) the data...
  • Page 241 Configure Dial-Up Communications 19-9 Table 19.B Message to a PLC-5 controller If the data is: And you want to: For this item: Type or select: integer (s) read (receive) data Message Type PLC5 Typed Read Source Element data table address in the PLC-5 controller (e.g., N7:10) Number Of Elements number of integers to transfer Destination Tag...
  • Page 242 19-10 Configure Dial-Up Communications Table 19.C Message to a SLC 500 controller If the data is: And you want to: For this item: Type or select: integer (s) read (receive) data Message Type SLC Typed Read Source Element data table address in the SLC 500 controller (e.g., N7:10) Number Of Elements number of integers to transfer Destination Tag...
  • Page 243: Step 6: Hang-Up

    Configure Dial-Up Communications 19-11 Step 6: Hang-Up Enter the following logic to hang-up: After the remote controller receives the message ( message .DN is on), the AHL turns off the DTR line, which causes the modem to hang up. message.DN ASCII Handshake Lines Channel AND Mask...
  • Page 244: Step 7: Stagger The Messages

    19-12 Configure Dial-Up Communications Step 7: Stagger the As you add messages to your project, you may have to coordinate the execution of the messages. To avoid errors and assure that each Messages message is processed, follow these rules: Rule 1: Enable no more than 16 messages at one time (including block transfers).
  • Page 245: When To Use This Procedure

    Chapter Program Motion Control When to Use This The ControlLogix controller, 1756-M02AE servo module, and ™ RSLogix5000 programming software create an integrated motion Procedure control system. • The ControlLogix controller contains a high-speed motion task, which executes motion requests from the routines and generates position and velocity profile information.
  • Page 246: Step 1: Select A Master Controller

    20-2 Program Motion Control Step 1: Select a Master If your controller uses a motion axis, you must define one controller in the chassis as a coordinated system time (CST) master. This Controller synchronizes all servo modules and controllers in the chassis to the same system clock.
  • Page 247 Program Motion Control 20-3 D. Specify: In this field: Type or select: Name Type the name of the servo module. Description Type a description of the servo module (optional). Slot Type or select the slot number where the module is installed.
  • Page 248 20-4 Program Motion Control H. Select the type of axis and axis positioning. (You will assign a servo module and channel to the axis in a later step.) In this field: Select: Type Select the type of axis you want Positioning Mode Select the type of axis positioning you want to use I.
  • Page 249 Program Motion Control 20-5 During configuration, you must name and configure IMPORTANT a motion group, which results in a MOTION_GROUP tag. After configuring the motion group, you can assign your axes to your motion group. J. Assign a motion group. If you want to: Then: create a new motion group...
  • Page 250 20-6 Program Motion Control M. Assign the axis to a motion group and specify this information: In this field: Select: Assigned Motion Group Select the motion group. Coarse Rate Select the update rate for your axis Servo Update Period Select the closure time interval for your axis General Fault Type Select the fault type for your axis N.
  • Page 251 Program Motion Control 20-7 The diagnostic testing and auto tuning options are IMPORTANT only available if your controller is online. Before going online, complete the configuration of all your servo modules and download your application program. There are several Axis Wizard windows. When you IMPORTANT are finished configuring the axis, click Finish.
  • Page 252: Step 3: Run Hookup Diagnostics And Auto Tuning

    20-8 Program Motion Control You can also name and configure axes and motion IMPORTANT groups using the controller tag editor. The tag editor supports copy and paste operations, which can make axis naming and configuration easier and faster. R. Assign the axis to a channel (the physical connection on the servo module to which the axis is wired).
  • Page 253: Step 4: Develop Logic For Motion Control

    Program Motion Control 20-9 C. In the module properties window, select the channel that you assigned to the axis. To open the module properties window: 1. Select the servo module. 2. Click the right mouse button and select Properties. If you assigned your axis to Then select the ...
  • Page 254 20-10 Program Motion Control Each motion instruction has an operand named Motion control. This field uses a MOTION_INSTRUCTION tag to store status information during the execution of motion instructions. This status information can include instruction status, errors, etc. Motion control operand Tags used for the motion control operand of motion ATTENTION...
  • Page 255 Program Motion Control 20-11 Handle Motion Faults Two types of motion faults exist. Type Description Example • Do not impact controller operation Errors A Motion Axis Move • Should be correct to optimize (MAM) instruction execution time and ensure with a parameter out program accuracy of range •...
  • Page 256 20-12 Program Motion Control The following figure shows several rungs of a motion control application program. Rung 0: Enables the Feed and Cut axes when you press the servo_on button. Rung 1: Jogs the Feed axis in the positive direction when you press the jog_plus button.
  • Page 257: When To Use This Procedure

    Chapter Maintain the Battery When to Use This Use this procedure to ensure that the battery has sufficient capacity to maintain the memory of the controller and that the battery does not Procedure leak. How to Use This Procedure To complete this procedure, do the following steps: •...
  • Page 258 21-2 Maintain the Battery To estimate how long the battery will support the memory of the controller: A. Determine the temperature (° C) 1 in. below the chassis. B. Determine the percentage of time that the controller is powered on per week. Determine the percentage of time that the EXAMPLE controller is powered on per week...
  • Page 259 Maintain the Battery 21-3 The following example demonstrates how to estimate the life expectancy of a battery. Estimate battery life EXAMPLE a. The temperature 1 in. below the chassis is 40° b. The controller is powered on 24 % per week. c.
  • Page 260 21-4 Maintain the Battery 1756-BA1 Battery Life: 1756-L1 Estimated Shortest Battery Life Before Warning 0° C 25° C 40° C 50° C 60° C % Time Power Is On Per Week Estimated Shortest Battery Life After Warning (Warning Time) 0° C 25°...
  • Page 261 Maintain the Battery 21-5 1756-BA1 Battery Life: 1756-L1 with M1 Memory Expansion Estimated Shortest Battery Life Before Warning 0° C 25° C 40° C 50° C 60° C % Time Power Is On Per Week Estimated Shortest Battery Life After Warning (Warning Time) 0°...
  • Page 262 21-6 Maintain the Battery 1756-BA1 Battery Life: 1756-L1 with M2 Memory Expansion Estimated Shortest Battery Life Before Warning 0° C 25° C 40° C 50° C 60° C % Time Power Is On Per Week Estimated Shortest Battery Life After Warning (Warning Time) 0°...
  • Page 263 Maintain the Battery 21-7 1756-BA1 Battery Life: 1756-L1 with M3 Memory Expansion Estimated Shortest Battery Life Before Warning 0° C 25° C 40° C 50° C 60° C % Time Power Is On Per Week Estimated Shortest Battery Life After Warning (Warning Time) 0°...
  • Page 264: Step 2: Store Replacement Batteries

    21-8 Maintain the Battery Step 2: Store Replacement Because a battery may leak potentially dangerous chemicals if stored improperly, store batteries as follows: Batteries Store batteries in a cool, dry environment. We ATTENTION recommend 25° C with 40% to 60% relative humidity. You may store batteries for up to 30 days between -45°...
  • Page 265 1. Check that the battery is correctly connected to the controller. 2. If the BAT LED remains on, install another 1756-BA1 battery. 3. If the BAT LED remains on after you complete Step 2., contact your Rockwell Automation representative or local distributor. battery label 41025 F.
  • Page 266 21-10 Maintain the Battery Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 267: When To Use This Procedure

    Appendix Map a PLC/SLC Address When To Use This ® Use this procedure if you are sending a message from a PLC-5 ™ Procedure SLC 500 controller to a ControlLogix controller and the PLC/SLC controller does not support Logical ASCII addressing. To use a logical address (e.g., N7:0) to specify a value (tag) in a ControlLogix controller, you must map files to tags: •...
  • Page 268 Map a PLC/SLC Address 3.a. 3.b. 42260 3. For each file that is referenced in a PLC-5 or SLC command, make a map entry: a. Type the file number of the logical address. b. Type or select the controller-scoped (global) tag that supplies or receives data for the file number.
  • Page 269: When To Use This Procedure

    Appendix Estimate Execution Time When to Use This Use this procedure to calculate the time required for the execution of an instruction. Times are for a ControlLogix controller Procedure ™ (Cat. No. 1756-L1) and RSLogix 5000 software, version 6.00 Use this information to select among different IMPORTANT programming options.
  • Page 270 Estimate Execution Time Examples: Instruction: Data Type: Execution Time: µ CMP ( tag_a * tag_b / 100) s overhead µ * (MUL) REAL 17.7 s for the MUL operation µ / (DIV) REAL 18.3 s for the DIV operation µ 40.3 s total µ...
  • Page 271: Reference Tables

    Estimate Execution Time Reference Tables Table B.1 Sign-Extension Conversion Times µ To convert a: To a: Requires ( SINT DINT 0.98 REAL SINT DINT REAL DINT SINT REAL REAL SINT 14.7 14.8 DINT 12.3 Table B.2 Execution Times for Ladder Instructions µ...
  • Page 272 Estimate Execution Time Table B.2 Execution Times for Ladder Instructions (Continued) µ Instruction: Optimal Data Type: False Time Notes: True Time ( µ 88.5 15.3 DINT 7.8 + ((Length/32) * 0.77) Round up Length/32 to a whole number. DINT 8.7 + ((Length/32) * 0.77) Round up Length/32 to a whole number.
  • Page 273 Estimate Execution Time Table B.2 Execution Times for Ladder Instructions (Continued) µ Instruction: Optimal Data Type: False Time Notes: True Time ( µ SINT 10.7 DINT, REAL 10.1 SINT 10.4 + (Length * 0.56) 11.3 + (Length * 0.98) DINT, REAL 11.7 + (Length * 0.56) SINT 5.8 + (Length * 0.09)
  • Page 274 Estimate Execution Time Table B.2 Execution Times for Ladder Instructions (Continued) µ Instruction: Optimal Data Type: False Time Notes: True Time ( µ SINT 10.7 DINT, REAL 10.1 SINT 11.5 12.8 DINT, REAL 13.7 DINT 0.79 0.11 REAL 0.11 REAL 189.8 0.10 REAL...
  • Page 275 Estimate Execution Time Table B.2 Execution Times for Ladder Instructions (Continued) µ Instruction: Optimal Data Type: False Time Notes: True Time ( µ 18.4 Independent 349.3 ISA-dependent 416.9 Manual mode 304.6 Set output mode 304.6 Independent- slave 371.0 mode REAL 18.1 0.10 CONTROL, COUNTER,...
  • Page 276 Estimate Execution Time Table B.2 Execution Times for Ladder Instructions (Continued) µ Instruction: Optimal Data Type: False Time Notes: True Time ( µ 38.5 BOOL 0.11 0.05 BOOL 0.11 0.05 DINT 0.56 0.11 REAL 274.4 0.10 True time could range from µ...
  • Page 277 Estimate Execution Time Table B.3 Execution Times for the GSV Instruction (Continued) µ Object: Attribute: True Time ( AXIS HomeSpeed 33.9 AXIS Instance 18.6 AXIS MapTableInstance 22.6 AXIS MaximumAcceleration 62.4 AXIS MaximumDeceleration 62.7 AXIS MaximumNegativeTravel 160.5 AXIS MaximumPositiveTravel 160.2 AXIS MaximumSpeed 61.2 AXIS...
  • Page 278 B-10 Estimate Execution Time Table B.3 Execution Times for the GSV Instruction (Continued) µ Object: Attribute: True Time ( AXIS StartActualPosition 160.0 AXIS StartCommandPosition 158.7 AXIS StrobeActualPosition 160.0 AXIS StrobeCommandPosition 159.0 AXIS TestDirectionForward 20.3 AXIS TestStatus 19.8 AXIS TuneAcceleration 186.8 AXIS TuneAccelerationTime 91.8...
  • Page 279 Estimate Execution Time B-11 Table B.3 Execution Times for the GSV Instruction (Continued) µ Object: Attribute: True Time ( DiagnosticCounters 67.2 DuplicationDetect 14.9 EmbeddedResponseEnable 14.9 ENQTransmitLimit 14.9 EOTSuppression 14.9 ErrorDetection 14.9 MasterMessageTransmit 14.9 NAKReceiveLimit 14.9 NormalPollGroupSize 15.7 PollingMode 14.9 ReplyMessageWait 16.5 StationAddress 15.7...
  • Page 280 B-12 Estimate Execution Time Table B.3 Execution Times for the GSV Instruction (Continued) µ Object: Attribute: True Time ( PROGRAM MaxScanTime 17.6 PROGRAM MinorFaultRecord 59.0 PROGRAM SFCRestart 16.7 ROUTINE Instance 16.8 SERIALPORT BaudRate 16.7 SERIALPORT DataBits 15.0 SERIALPORT Parity 15.0 SERIALPORT RTSOffDelay 15.8...
  • Page 281 Estimate Execution Time B-13 Table B.4 Execution Times for the SSV Instruction (Continued) µ Object: Attribute: True Time ( AXIS HomeMode 38.2 AXIS HomePosition 223.1 AXIS HomeReturnSpeed 511.7 AXIS HomeSequenceType 37.6 AXIS HomeSpeed 511.3 AXIS MaximumAcceleration 511.5 AXIS MaximumDeceleration 511.8 AXIS MaximumNegativeTravel 224.7...
  • Page 282 B-14 Estimate Execution Time Table B.4 Execution Times for the SSV Instruction (Continued) µ Object: Attribute: True Time ( PendingENQTransmitLimit 108.3 PendingEOTSuppression 108.2 PendingErrorDetection 108.9 PendingNormalPollGroupSize 108.9 PendingMasterMessageTransmit 108.7 PendingNAKReceiveLimit 108.3 PendingPollingMode 108.7 PendingReplyMessageWait 109.4 PendingStationAddress 109.1 PendingSlavePollTimeout 109.4 PendingTransmitRetries 108.3 FAULTLOG MajorEvents...
  • Page 283 Estimate Execution Time B-15 Table B.4 Execution Times for the SSV Instruction (Continued) µ Object: Attribute: True Time ( TASK MaxScanTime 17.7 TASK MinInterval 24.6 TASK StartTime 24.6 TASK Watchdog 33.8 WALLCLOCKTIME CSTOffset 2149.4 WALLCLOCKTIME CurrentValue 70.5 WALLCLOCKTIME DateTime 120.0 Table B.5 Execution Times for Function Block Instructions µ...
  • Page 284 B-16 Estimate Execution Time Table B.5 Execution Times for Function Block Instructions (Continued) µ Instruction: True Time ( 9.97 2.13 2.13 31.50 118.50 INTG 106.70 JKFF 15.40 LDL2 143.00 LDLG 139.60 2.13 2.13 5.05 191.66 192.09 120.10 MAVE 27.00 MAXC 21.22 2.12 MINC...
  • Page 285 Estimate Execution Time B-17 Table B.5 Execution Times for Function Block Instructions (Continued) µ Instruction: True Time ( RESD 13.30 RLIM 80.10 RMPS 115.70 RTOR 19.90 67.10 SCRV 263.00 20.40 SETD 13.40 227.54 SNEG 19.20 184.20 37.96 SRTP 148.40 SSUM 171.60 11.41 287.50...
  • Page 286 B-18 Estimate Execution Time Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 287: When To Use This Procedure

    Appendix Estimate Memory Use When to Use This Use this procedure to calculate the memory used for data conversions, instructions, and array indexes. Values are for a ControlLogix Procedure ™ controller (Cat. No. 1756-L1) and RSLogix 5000 software, version 6.00. When you download your project, the controller optimizes memory use, which could reduce your calculated memory use by as much as 10% from the...
  • Page 288: Data Conversions

    Estimate Memory Use Data Conversions If you use a data type that is not an optimal data type or if you mix data types, you must add memory for data conversion. Sign-Extension Memory Requirements Use the following table to determine the memory required to convert data by sign-extension.
  • Page 289: Ladder Instructions

    Estimate Memory Use Examples: Instruction: Data Type: Memory (bytes): REAL 44 bytes for the ADD instruction Source A DINT 52 bytes for DINT to REAL conversion by sign-extension Source B REAL Destination REAL 96 bytes total REAL 44 bytes for MUL instruction Source A REAL Source B...
  • Page 290 Estimate Memory Use Table C.3 Memory Size of Ladder Instructions (Continued) Mnemonic: Title: Memory for DINT Memory for REAL (bytes): (bytes): Always False ASCII Handshake Lines Bitwise AND ASCII Read ASCII Read Line Arc Sine Arc Tangent Average ASCII Write Append ASCII Write Branch End Break...
  • Page 291 Estimate Memory Use Table C.3 Memory Size of Ladder Instructions (Continued) Mnemonic: Title: Memory for DINT Memory for REAL (bytes): (bytes): File Search and Compare 148 + expression 152 + expression Greater Than or Equal to Greater Than Get System Value Jump to Label Jump to Subroutine Label...
  • Page 292 Estimate Memory Use Table C.3 Memory Size of Ladder Instructions (Continued) Mnemonic: Title: Memory for DINT Memory for REAL (bytes): (bytes): Degrees to Radians Reset Return Retentive Timer On Subroutine Sine SOR - EOR Rung Sequencer Input Sequencer Load Sequencer Output Square Root Sort Set System Value...
  • Page 293: Function Block Instructions

    Estimate Memory Use Function Block Instructions The following table shows the memory use of the function block instructions. Table C.4 Memory Size of Function Block Instructions Mnemonic: Title: Memory (bytes): Baseline (blank sheet) Alarm BAND Boolean AND BNOT Boolean NOT Boolean OR BXOR Boolean Exclusive OR...
  • Page 294: Array Indexes

    Estimate Memory Use Table C.4 Memory Size of Function Block Instructions (Continued) Mnemonic: Title: Memory (bytes): RLIM Rate Limiter RMPS Ramp/Soak RTOR Retentive Timer On with Reset Scale SCRV S-Curve Select SETD Set Dominant SNEG Selected Negate Second-Order Controller SRTP Split Range Time Proportional SSUM Selected Summer...
  • Page 295 Estimate Memory Use • The controller uses a 32-bit index for all arrays. If you use a tag other than DINT to reference a position in an array, you add the data conversion memory use (see page C-2) as well as the memory use for using a tag as an index.
  • Page 296 C-10 Estimate Memory Use • Changing the source and destination data type in the above examples, increases the instruction’s memory use. For example: TagA DINT TagC TagD SINT TableC INT[10] TableD SINT[2,4,6] Example: Additional Memory Used: MOV instruction 24 bytes for MOV instruction Source TagA 52 bytes for DINT to INT conversion (TagA into TableC)
  • Page 297 Estimate Memory Use C-11 • If you use an expression in the index, additional memory is used, depending on the operators. For example: TagA DINT TagB DINT TagF DINT TableA DINT[10] Example: Additional Memory Used: MOV instruction 24 bytes for MOV instruction Source TagA 84 bytes for DINT tag index (TableA)
  • Page 298 C-12 Estimate Memory Use • The worst-case scenario occurs when you have multiple references to non-DINT, multidimensional arrays with non-DINT indexes into those arrays. For example: TagC TagD SINT TagE TableD SINT[2,4,6] TableE INT[2,4,6] Example: Additional Memory Used: MOV instruction 24 bytes for MOV instruction Source TableD[TagC, TagD, TagE]...
  • Page 299 Estimate Memory Use C-13 • You can further optimize this instruction by changing all the array indexes to immediate values. For example: TagA DINT TagB DINT TagF DINT TableB DINT[2,4,6] TableF DINT[2,4,6] Example: Additional Memory Used: MOV instruction 24 bytes for MOV instruction Source TableB[0,1,2] no other additions...
  • Page 300 C-14 Estimate Memory Use Notes: Publication 1756-UM001A-EN-P - September 2000...
  • Page 301 Index Numerics 15-1 12-1 1747 I/O DeviceNet network 1756 I/O 4-1, 5-1, 6-1, 7-1, 9-1 19-1 1756-CNB module dial-up 13-1, 14-1, 15-1 18-1 1756-DHRIO module master and slave communications 1-1, 2-1, 3-1 16-1 1756-ENET module workstation 20-1 13-1, 14-1 1756-M02AE module DH+ network 19-1 1771 I/O...
  • Page 302 Index 5-1, 15-1 messages 1771 6-1, 15-1 ControlNet network 1794 13-1, 14-1 route messages 19-1 dial-up ControlNet networks 14-1 Ethernet network DH+ network 13-1, 14-1 map address routing table 18-1 master and slave controllers RSView32 project 18-1, 19-1 10-1 modem ControlNet network 11-1 Monitor Connections...
  • Page 303 Allen-Bradley Publication Problem Report Pub. Title/Type ™ ControlLogix System User Manual Cat. No. 1756-Lx Pub. No. 1756-UM001A-EN-P Pub. Date September 2000 Part No. 957236-72 Check Problem(s) Type: Describe Problem(s) Internal Use Only Technical Accuracy text illustration Completeness procedure/step illustration definition info in manual What information is missing? example...
  • Page 304 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 306 Back Cover Publication 1756-UM001A-EN-P - September 2000 PN 957236-72 Supersedes Publication 1756-6.5.12 - March 2000 © 2000 Rockwell International Corporation. Printed in the U.S.A.

Table of Contents