Top Banner
Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs Version 1.1 11/21/2012
12

Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

Jul 27, 2018

Download

Documents

phamphuc
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

Configuring PNSPO InduSoft Web Studio to communicate by Tag Name

to Omron CJ2 PLCs and NJ MACs

 

                    Version 1.1

11/21/2012

Page 2: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

1. Products This document will provide a step by step procedure for configuring Omron InduSoft Web Studio (InduSoft Web Studio purchased through an Omron Authorized Distributor) to communicate to Omron CJ2M-CPU3x PLCs, CJ2H-CPUxx-EIP PLCs, and Omron NJ MACs by Tag Name on an EtherNet/IP network. This feature allows easy data transfer between InduSoft Web Studio and an Omron controller by Tag Name, not by the traditional address based configuration. This speeds application development and deployment.

This document applies to the following products:

Hardware:

CJ2M-CPU31, CPU32, CPU33, CPU34, CPU35

CJ2H-CPU64-EIP, CPU65-EIP, CPU66-EIP, CPU67-EIP, CPU68-EIP.

NJ Series MAC (all CPUs).

Software:

Omron InduSoft Web Studio, Operator Workstation (4,000 Tags) or higher with Omron CX Compolet application middleware.

Operator Workstation packages of Omron InduSoft Web Studio include CX Compolet with Sysmac Gateway, which is required for Tag Access to Omron PLCs and MACs. Packages below Operator Workstation only include SYSMAC Gateway runtime without CX Compolet, and do not allow access by Tag Name.

Page 3: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

2. CX Compolet Installation 1. Install CX Compolet either before or after installing InduSoft Web Studio. This is a

separate installation from InduSoft Web Studio. 2. During the installation of CX Compolet, select the options shown below. Follow

these steps closely. Not all the steps are the default values!

Page 4: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet
Page 5: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet
Page 6: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet
Page 7: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

3. CX Compolet Configuration

1. Navigate to the Omron \ SYSMAC Gateway programs group and click ‘Sysmac Gateway Console’.

.

2. In the SYSMAC Gateway Console, if the Status is currently ‘Start’, click ‘Stop’ to stop the service, to allow for configuration changes.

3. Select Port 2: Ethernet, and click ‘Properties’.

Page 8: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

4. Select the LAN Card to be used, and verify that the IP Address is correct. A static IP Address is recommended, but not required. Verify that ‘Automatically open port at startup’ is selected.

5. If this is a development PC, it is suggested that the Startup be set for ‘Manual’ to allow the PC to suspend / resume faster. On a InduSoft Web Studio workstation, set the Startup for ‘Auto’. Click ‘Start’ to start the service if it is not currently running.

 

Page 9: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

4. Configuring CJ2 / NJ Tags 1. CJ2: In CX Programmer, create the tags in the Global ‘Symbols’ table. These Tags

can be of any data type, including user defined Data Types The Tags can be arrays, as configured in the ‘Advanced Settings’. To allow InduSoft Web Studio to access the Tags by name, select ‘Net. Variable’. The Publication, Input, or Output type does not matter for access from InduSoft.

     2. NJ: In Sysmac Studio, create the tags in the ‘Global Variables. These Tags can be

of any data type, including user defined Data Type. The Tags can be arrays. To allow InduSoft Web Studio to access the Tags by name, select ‘Publish Only’, ‘Input’, or ‘Output’ in the Network Publish column. Only set Input for physical EtherNet/IP Input points, and Output for physical EtherNet/IP Output points. Use ‘Publish Only’ for tags that are not EtherNet/IP physical inputs or physical outputs.

Page 10: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

5. Configuring InduSoft Web Studio 1. In InduSoft Web Studio, click on the Comm tab, and then right click on ‘Drivers’.

Select ‘Add/Remove drivers’.

2. Highlight ‘Omron – OMRON FINS Gateway Protocol’, and click ‘Select’. Click

‘OK’.

Page 11: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

3. Right click on ‘OMRON’, and click ‘Insert’.

4. Create a driver worksheet as with any other driver in InduSoft Web Studio. The

specific fields for Tag Name access are described below. Station: <IP Address of Controller>:<SYSMAC Gateway Port ID>: <Product>

IP Address = CJ2 or NJ IP Address

SYSMAC Gateway Port ID =2 for EtherNet/IP

Product = NJ or CJ2.

192.168.1.44:2:NJ as an example

Header = TAG. Note: this must be all capital letters.

5. Under the Tag Name column, list each InduSoft Web Studio Tag, and in the Address column, list the corresponding Omron CJ2 / NJ Tag. Each and every tag and member of a user defined data type must be listed separately.

Page 12: Configuring Omron InduSoft Web Studio to communicate … Omron... · Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs ... CX Compolet

Standard Driver Worksheet Examples