Omron CJ2 to AB EIP Tag Datalink...

30
1 PNSPO EtherNet IP Network Configurator Omron CJ2 to Rockwell Control Logix Tag Datalink Example Revision 1.0

Transcript of Omron CJ2 to AB EIP Tag Datalink...

Page 1: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

1

PNSPO!

!

!EtherNet IP

Network Configurator

Omron CJ2 to Rockwell Control Logix Tag Datalink Example

Revision 1.0

Page 2: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

2

Table of Contents

Table of Contents................................................................................................................ 2 Overview............................................................................................................................. 3 1-1 Hardware and Network configuration .................................................................... 3 1-2 Shared Data Areas................................................................................................... 3 1-3 Omron CX-Programmer Settings ........................................................................... 4

1-3-1 CX-Programmer New PLC Settings........................................................... 4 1-3-2 CX-Programmer Create New Consume Variable....................................... 4 1-3-3 CX-Programmer Create New Produce Variable......................................... 5 1-3-4 CX-Programmer I/O Table ......................................................................... 5 1-3-5 CX-Programmer Set IP Address................................................................. 6 1-3-6 CX-Programmer Transfer Program Symbols to PLC................................. 6

1-4 Omron Network Configurator Settings................................................................... 7 1-4-1 Network Configurator Start up Screen ....................................................... 7 1-4-2 Network Configurator create new EtherNet IP Project .............................. 7 1-4-3 Add Omron CJ2 PLC to Project ................................................................. 8 1-4-4 Change the IP Address to match your Network.......................................... 9 1-4-5 Edit the Connection and Tag Data Parameters ......................................... 10 1-4-6 Import the Tag Data from CX-Programmer ............................................. 10 1-4-7 Imported Consume Tag Set from CX-Programmer.................................. 11 1-4-8 Imported Produced Tag Set from CX-Programmer.................................. 11 1-4-9 Add the Rockwell Control Logix PLC to the Project ............................... 12 1-4-10 Change the IP Address to match your Network........................................ 14 1-3-10 Edit the 1756-EN2T/A Device Parameters............................................... 15 2-1 Configure the Rockwell Control Logix Processor........................................ 19 3-1 Configure the Connection to the AB PLC .................................................... 25 3-2 Connect to Network and Download Settings................................................ 27 3-2 Network Connections are complete. ............................................................. 30

Page 3: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

3

Overview This document will allow a user to setup an Ethernet IP Tag Datalink between an Omron CJ2 PLC and a Rockwell Control Logix 5561 PLC. This tag datalink will share an array of 100 Channels (200 Bytes) from the Omron CJ2 PLC to the Rockwell PLC and an array of 100 Integers (200 Bytes) from the Rockwell PLC to the Omron CJ2 PLC.

1-1 Hardware and Network configuration

1-2 Shared Data Areas

Omron CJ2 PLC Tags Rockwell Logix 5550 Tags Produced Tag Set Name Length Consumed Tag Set

Name Length

To_AB 200 Bytes Input_From_CJ2 100 Int. Produced Tag Name Consumed Tag Name

To_AB[0] 2 Bytes Input_From_CJ2.In[0] 1 Int. To_AB[1 2 Bytes Input_From_CJ2.In[1] 1 Int.

| 2 Bytes | 1 Int. To_AB[99 2 Bytes Input_From_CJ2.In[99] 1 Int.

Consumed Tag Set Name Length Produced Tag Set Name Length From_AB 12 Bytes Output_to_CJ2 100 Int.

Consumed Tag Name Produced Tag Name From_AB[0] Output_to_CJ2.Out[0] 1 Int. From_AB[1] 2 Bytes Output_to_CJ2.Out[1] 1 Int.

| 2 Bytes | 1 Int. From_AB[99] 2 Bytes Output_to_CJ2.Out[99] 1 Int.

Page 4: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

4

1-3 Omron CX-Programmer Settings CX-Programmer version 8.01 is used in this example.

1-3-1 CX-Programmer New PLC Settings Select File and New Project Select CJ2H and select either Ethernet or USB connection.

1-3-2 CX-Programmer Create New Consume Variable Insert New Symbol Name “From_AB”, D2000, Net Variable Input, Advanced Settings Array 100

Page 5: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

5

1-3-3 CX-Programmer Create New Produce Variable Insert New Symbol Name “To_AB”, D1000, Net Variable Output, Advanced Settings Array 100

1-3-4 CX-Programmer I/O Table Go Online with the PLC and Open the I/O Table and Select Built-in Port/Inner Board

Page 6: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

6

1-3-5 CX-Programmer Set IP Address Right Click the Ethernet IP Module and Select Unit Setup. Enter the appropriate IP and Subnet. Select the Transfer(PC to Unit) Button

1-3-6 CX-Programmer Transfer Program Symbols to PLC Download the Program(s) / Network Symbols to the PLC

Page 7: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

7

1-4 Omron Network Configurator Settings Start the Network Configurator for Ethernet IP program from the CX-ONE Start Menu

1-4-1 Network Configurator Start up Screen

1-4-2 Network Configurator create new EtherNet IP Project Select File, New, and EtherNet IP

Page 8: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

8

1-4-3 Add Omron CJ2 PLC to Project Click the + Sign beside Vendor Omron Corporation

Click the + Sign beside Communications Adapter

Page 9: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

9

Drag CJ2-EIP21 from Project Workspace to the Ethernet IP Network View Note: The Default IP Address is 192.168.250.1

1-4-4 Change the IP Address to match your Network. Right Click the CJ2 Icon and Select Change Node Address. Enter the IP Address (192.168.1.2)

Page 10: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

10

1-4-5 Edit the Connection and Tag Data Parameters Right Click on the CJ2 Icon and Select Parameter and then Edit

1-4-6 Import the Tag Data from CX-Programmer Select the Tag Sets Tab on the Import Button. A warning message appears Click OK

Page 11: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

11

1-4-7 Imported Consume Tag Set (From_AB) 200 Bytes from CX-Programmer

1-4-8 Imported Produced Tag Set (To_AB) 200 Bytes from CX-Programmer

Page 12: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

12

1-4-9 Add the Rockwell Control Logix PLC to the Project Select “EDS File” and ‘Install” Select the 1756-L61 Logix5561 EDS File and Click the Open Button.

Select the 1756 EN2T-A Ethernet Module EDS File and Click the Open Button..

Page 13: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

13

Click the No Button to “Install the Icon” of the Rockwell Ethernet Module. Click the Yes Button to Install the Chassis EDS File.

Select the Rockwell 1756 Chassis EDS File.

Page 14: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

14

Drag 1756-ENBT/A from Project Workspace to the Ethernet IP Network View Note: The Default IP Address is 192.168.250.1

1-4-10 Change the IP Address to match your Network. Right Click the 1756-EN2T/A and Select Change Node Address.

Page 15: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

15

Enter the IP Address (192.168.1.4) for the 1756-EN2T/A Module. Then Select OK.

1-3-10 Edit the 1756-EN2T/A Device Parameters Right Click on the 1756-EN2T/A and Select Parameter and then Edit

Page 16: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

16

Click on “Slot 00” and Select the 1756-L61 LOGIX 5561 Rev16.01.

Click on “Slot 01” and change to 1756-EN2T/A Rev1.01 Ethernet Module.

Page 17: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

17

Click on “Slot 0” and Click “Edit”. The Receive Data From Window Opens

Click on “New” Button and Enter “Output_To_CJ2” 200 Bytes and Click OK. This will be the Produced Tag From the Rockwell Controller.

Page 18: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

18

Click OK, OK, OK to complete Rockwell Configuration in the Omron configurator.

The Omron Network Configurator Settings are Complete.

Page 19: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

19

2-1 Configure the Rockwell Control Logix Processor. Open the RS-Logix Programming Software using the current project that is in the PLC.

Right Click the 1756-EN2T/A Ethernet Module in the I/O Configuration section of the Project Workspace and Select Module, Communications, Generic Ethernet Module.

Page 20: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

20

Set the Name to “OS3_Demo”, Comm Format to “None”, and the IP Address to 192.168.1.4

Click “OK” to complete the Ethernet Module Setup.

Page 21: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

21

Create New User Defined Data Type Named Input, Tag = In, INT Array[100] Decimal

Create New User Defined Data Type Named Output, Tag = Out, INT Array[100] Decimal

Page 22: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

22

Create a New Controller Tag for the Data from Omron. Select “Controller Tags”, Right Click and Select “New Tag”. Name the Tag “Input_From_CJ2”, Type = “Consumed”, Data Type = “Input”

Click the “Connection” Button. Select “OS3_Demo” from the Producer Drop Down. Enter “To_AB” in the Remote Data area. This is the Produced Tag defined in the CJ2.

Page 23: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

23

Create a New Controller Tag for the Data To Omron. Select “Controller Tags”, Right Click and Select “New Tag”. Name the Tag “Output_To_CJ2”, Type = “Produced”, Data Type = “Output”

Click the “Connection” Button. Enter the Maximum number of consumers for this data. Default is 1.

Page 24: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

24

The Control Logix Configuration is complete. Select “Communications” and “Download” to send this configuration to the PLC.

The configuration is complete.

Page 25: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

25

3-1 Configure the Connection to the AB PLC Right Click the CJ2 Icon and Select the Parameter Edit Function. The connections form will open

Use the Down Arrow Button to move the AB to registered connection area.

Page 26: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

26

Double Left Click the Registered Device and Enter a Connection Name, Desired RPI, Consume Variable, and Produce Variable. Then Click Regist.

Left Click on Close and the following screen will appear. The connection is now defined.

Page 27: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

27

3-2 Connect to Network and Download Settings Select Connection Interface. Select Option, Select Interface, and Ethernet I/F.

Connect to Network. Select Network, and Connect. Select TCP:2 and Click OK.

Page 28: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

28

Click the “Use the exiting network” Radio Button and Click OK.

Right Click the Omron CJ2B-EIP21 Icon and Select “Parameter” and “Download”.

Page 29: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

29

Click the Yes Button to Start Downloading to the Module.

The Downloading to Device Dialog box will appear.

Page 30: Omron CJ2 to AB EIP Tag Datalink Exampleindustrial.omron.com.br/uploads/arquivos/Comunicacao_CJ2.pdf · 1-4-9 Add the Rockwell Control Logix PLC to the Project ... Microsoft Word

30

Click the OK Button to complete the Download procedure.

3-2 Network Connections are complete and Tag DataLink should be Operational.

Use the Indicators on the EIP Module and the Monitor functions of the Omron Software to verify the network status.