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

The text of a manual · part 12 of 18

ControlLogix Ethernet Communication Interface Module 1756-ENET/B User Manual: 7 - Produced and Consumed Tags, pages 77 to 86

Pages 77 to 86 of 122, from ControlLogix Ethernet Communication Interface Module 1756-ENET/B User Manual

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

For the Allen-Bradley 1756-ENET

Page 77

Chapter

7

Produced and Consumed Tags

About the Example Application

In this example one Logix5550 controller (the producer) sends data to another Logix5550 controller (the consumer) over the Ethernet network. A Timer provides the test data for the message. What you will do

1

See page

Set Up the Hardware Create the Producer Application

7-2 7-3

Create the Producer Tags Create the Producer Ladder Program

7-4 7-6

Download the Producer Application Create the Consumer Application

7-7 7-8

Create the Consumer Controller Add the Producer to the Consumer’s I/O Configuration

7-8 7-9

Add the Local ENET/B Module to the I/O Configuration Add the Remote ENET/B Module to the I/O Configuration

7-9 7-11

Add the Remote (Producer) Controller to the I/O Configuration

7-13

Create the Consumer Tags Download the Configuration to the Consumer

7-15 7-18

Test the Messaging

7-19

Publication 1756-UM051B-EN-P - November 2000

Page 78

7-2

Produced and Consumed Tags

Set Up the Hardware

In both chassis the controller is in slot 0 and the 1756-ENET/B module is in slot 1. Slot 0 1

Slot 0 1 2

Data

Logix5550 (Producer)

Logix5550 (Consumer)

1756-ENET/B 130.130.130.2 Switch

1756-ENET/B 130.130.130.3

130.130.130.1 Programming Terminal

To work along with this example set up your system as shown above. • Note that in the example application, the Logix5550 controllers and the 1756-ENET/B modules are in slots 0 and 1 in each ControlLogix chassis, as shown. • Verify the IP addresses for the 1756-ENET/B modules. • Verify that all wiring and cabling is properly connected. • Make sure you have your communication drivers (e.g., TCP-1 and TCP-2) configured in RSLinx as described in Appendix C.

Publication 1756-UM051B-EN-P - November 2000

Page 79

Produced and Consumed Tags

Create the Producer Application

7-3

Perform the following steps to create the producer application. 1. Start RSLogix5000. The RSLogix 5000 Main Window will open.

2. From the File menu, select New. The New Controller window will open.

3. Enter an appropriate name for the Controller, e.g., “Producer.” 4. Select the correct Chassis Type and Slot Number for the Logix5550 controller, and the folder where you want to save the file (Create In). 5. Click on OK to save the project file.

Publication 1756-UM051B-EN-P - November 2000

Page 80

7-4

Produced and Consumed Tags

Create the Producer Tags 1. Double-click on the Controller Tags folder in the project window.

The Controller Tags window will open.

Enter the new tags starting here.

2. Select the Edit Tags tab and create the following tags:

Publication 1756-UM051B-EN-P - November 2000

Tag Name produced_data

Type DINT

T1

TIMER

Style Decimal

Page 81

Produced and Consumed Tags

7-5

3. Produce the tag that is being sent. Either:

Check the “P” box in the tag database to make this a produced tag.

a. Check the “P” box in the tag database:-OR-b. Right-click on the tag and select Edit Tag Properties. The Tag Properties window will open:

Make sure this box is checked.

c. Check the Produce this tag for up to box and select the number of consumers (1 to 256). The default is 2. d. Click on OK. Publication 1756-UM051B-EN-P - November 2000

Page 82

7-6

Produced and Consumed Tags

Create the Producer Ladder Program

1. Double-click on Main Routine under the Main Program folder, and create the following ladder program, using the tags you previously created.

Publication 1756-UM051B-EN-P - November 2000

Page 83

Produced and Consumed Tags

7-7

Download the Producer Application 1. Click on the Communications menu and select Who Active. The Who Active window will open (Your window will display the drivers and devices you have installed).

2. Select your Ethernet driver (e.g., AB_ETH-1) and expand the tree through the backplane of the local ControlLogix chassis. 3. Highlight the Logix 5550 controller and click on the Download button. 4. You will see a message similar to the following:

5. Click on the Download button. 6. Put the controller in Run mode. 7. Minimize this session of RSLogix 5000.

Publication 1756-UM051B-EN-P - November 2000

Page 84

7-8

Produced and Consumed Tags

Create the Consumer Application

In order to test the messaging application you have to create a consumer application, add the producer to the I/O configuration of the consumer, and create a consumed tag to receive the data.

Create the Consumer Controller Perform the following steps to create the consumer controller: 1. Open a second session of RSLogix5000 (leave the current session running). 2. From the File menu, select New. The New Controller window will open.

3. Enter an appropriate Name for the Controller, e.g., “Consumer.” 4. Select the correct Chassis Type and Slot Number of the controller, and the folder where you want to save the project file (Create In). 5. Click on OK to save the project file.

Publication 1756-UM051B-EN-P - November 2000

Page 85

Produced and Consumed Tags

7-9

Add the Producer to the Consumer’s I/O Configuration Adding the producer to the I/O configuration of the consumer involves several steps. First, you must add the consumer’s local 1756-ENET/B module to the I/O configuration. Then you add the remote 1756-ENET/B as a “child” of the local 1756-ENET/B module. Finally, you add the producer as a child of the remote 1756-ENET/B module.

Add the Local ENET/B Module to the I/O Configuration 1. Select the I/O Configuration folder in the project window and click the right mouse button. The following pop up window will open.

2. Select New Module. The Select Module Type window will open.

3. Select the 1756-ENET/B module and click on OK.

Publication 1756-UM051B-EN-P - November 2000

Page 86

7-10

Produced and Consumed Tags

The Module Properties window will open.

4. Enter the following parameters: Name

Local_ENET

Slot Electronic Keying (1)

1 (1)

Compatible Module

See Appendix F for important information about Electronic Keying.

5. Click on Finish to accept the configuration. The 1756-ENET/B module will be added to the I/O configuration.

Publication 1756-UM051B-EN-P - November 2000