Size:
19.68 Mb
Download

Setting Tag Data Links

Section 6-2

Automatic Allocation Results for Node 3 (IP Address: 192.168.250.3)

6.After entering all of the settings in the data link table, select Save from the File Menu. A consistency check will be performed on the table and the results will be displayed.

a. Table Inconsistencies

The following Check Result Dialog Box will be displayed. Correct the data link table according to the displayed information.

To save the check results, click the Copy To Clipboard Button and paste the results to other file, such as the text pad.

Click the OK Button. The following message will be displayed. Click theOK

Button again to return to the EtherNet/IP Datalink Tool Window.

155

Setting Tag Data Links

Section 6-2

b.No Table Inconsistencies

The following message will be displayed. Click the OK Button.

7.Select Exit from the File Menu. The EtherNet/IP Datalink Tool will be exited and you’ll return to the Network Configurator.

8.Returning to the Network Configurator

Click the icon for each device and check the settings made with the EtherNet/IP Datalink Tool in the Edit Device Parameters Dialog Box.

6-2-7Creating Connections Using the Wizard

You can use the Network Configurator's Wizard to easily create connections between OMRON PLCs following the instructions provided by the Wizard. Network Configurator version 3.10 or higher is required to use the Wizard.

Note The Wizard can be used only with the following OMRON EtherNet/IP devices.

Device name

Remarks

 

 

CJ1W-EIP21

CJ1W-EIP21mounted to CJ1 CPU Unit

 

 

CJ1W-EIP21(CJ2)

CJ1W-EIP21mounted to CJ2 CPU Unit

 

 

CJ2B-EIP21

Built-inEtherNet/IP port in CJ2H CPU Unit

 

 

CJ2M-EIP21

Built-inEtherNet/IP port in CJ2M CPU Unit

 

 

CS1W-EIP21

CJ1W-EIP21mounted to CS1 CPU Unit

 

 

Use the following procedure to create connections (i.e., data links) with the

Wizard.

1,2,3... 1. Set tags and tag sets for all devices before starting the Wizard. Refer to6- 2-4 Creating Tags and Tag Sets for the setting procedure.

2.For tag data links between OMRON PLCs, a connection is created in the PLC (i.e., the originator device) that receives data as input data.

First, select the registered device for which you want to create a connection in the Network Configuration Window of the Network Configurator, and then select Device - Parameters - Wizard from the menus.

156

Setting Tag Data Links

Section 6-2

The following dialog box will be displayed before the Wizard starts.

Click the Yes Button to delete the connections that have been set with OM-

RON PLCs before starting the Wizard.

3.Create the connection following the instructions that are given by the Wizard after the Wizard starts. (See the following figure.)

4.A list of tag sets is displayed on the right side of the Wizard Dialog Box with target devices that support receiving input data.

Select the tag sets that you want to receive at the originator device.

The following tables describes the meanings of the icons and check marks displayed in the tag set list.

Icon

Display position

Status

 

 

 

 

All

All output tag sets for all devices are selected.

 

 

 

 

Device

All output tag sets for the applicable device are

 

 

selected.

 

 

 

 

Tag set

The applicable output tag sets are selected. These

 

 

are the tag sets that will be set in the connection.

 

 

 

 

All

All or some output tag sets for some devices are

 

 

selected.

 

 

 

 

Device

Some output tag sets for applicable devices are

 

 

selected.

 

 

 

 

All

All output tag sets for all devices are not selected.

 

 

 

 

Device

All output tag sets for applicable devices are not

 

 

selected.

 

 

 

 

Tag set

The applicable output tag sets are not selected.

 

 

The connections for this tag set will be deleted.

 

 

 

 

Device

No applicable tag sets.

 

 

 

Note Tag sets that are used in connections that are already set are not displayed.

157

Setting Tag Data Links

Section 6-2

The following display will appear when you click the Show Detail Button.

The specified values for detailed parameters will be displayed. Change the values as required. The connection name cannot be set. They are automatically created using the following rule.

default_N (where N is a 3-digitnumber (001, 002, etc.) starting from 1)

5.Click the Next Button to switch to the table in the following Wizard Dialog Box. Follow the instructions to select and input from the list box the input tag set of the originator device that receives the output tag set of the target device.

The blank area in the Input Tag Set Column is the connection that you are creating.

The rows in which there are input tag sets are connections that are already set.

To prevent duplicate settings, input tag sets that have been used are not displayed in the list box for input tag sets.

If there is no applicable input tag set, you can edit a tag set or create a new one by using the Edit Tag Sets Button andEdit Tag Button.

6.Once the input tag set settings have been completed, click the Finish Button. You can check the set connection by selectingNetwork - View Devices Connection Structure Tree from the menus.

The Wizard can be ended even if the input tag set includes a blank row. In that case, a connection is not created for the blank row.

You can delete a connection by deleting the input tag sets that were previously set.

158

Setting Tag Data Links

Section 6-2

6-2-8Creating Connections by Device Dragging and Dropping

You can create a connection to the originator by dragging a target device and dropping it at the originator device. Network Configurator version 3.10 or higher is required to drag and drop devices to make connections.

Example: Drag the target device at 192.168.250.1 and drop it at the originator device at 192.168.250.100.

Drag & Drop

Note The EtherNet/IP originator device (i.e., a device in which connections can be set) must be one of the following OMRON EtherNet/IP devices.

Device name

Remarks

 

 

CJ1W-EIP21

CJ1W-EIP21mounted to CJ1 CPU Unit

 

 

CJ1W-EIP21(CJ2)

CJ1W-EIP21mounted to CJ2 CPU Unit

 

 

CJ2B-EIP21

Built-inEtherNet/IP port in CJ2H CPU Unit

 

 

CJ2M-EIP21

Built-inEtherNet/IP port in CJ2M CPU Unit

 

 

CS1W-EIP21

CJ1W-EIP21mounted to CS1 CPU Unit

 

 

Use the following procedure to create connections (i.e., data links) by dragging and dropping devices.

1,2,3... 1. Set the tags and tag sets for the target device that will be dragged.

a.Refer to 6-2-4 Creating Tags and Tag Sets for information on creating the settings if the target is one of the OMRON EtherNet/IP devices given above.

b.If the target is another EtherNet/IP device, refer to the manual of that device and perform settings as required.

2.A dialog box as in the following figure for connection allocation will be displayed when you drag the target device and drop it at the OMRON EtherNet/IP device.

a.Using One of the Above OMRON EtherNet/IP Devices As Target

Select the output tag set from Target Device Area on the right side of the Edit Connection Dialog Box, and then select the input tag set to receive the output tag set in theOriginator Device Area on the left.

159

Setting Tag Data Links

Section 6-2

If there is no applicable input tag set at the originator, you can create a new one by using the Edit Tag Sets Button andEdit Tag Button.

b.Using Other EtherNet/IP Devices as Target

The connection I/O type list box in the upper part of the Connection Settings Dialog Box displays the connection I/O types that can be selected. Select the connection I/O type according to your application.

The connection I/O types that can be selected depend on the target device.

Items that can be selected will depend on the connection I/O type that is selected.

Select the output, input, or both output and input tag sets at the target and specify the corresponding input, output, or both input and output tag sets at the originator.

If there is no applicable tag set at the originator, you can create a new one by using the Edit Tag Sets Button andEdit Tag Button.

The following display will appear when you click the Show Detail Button.

The specified values for detailed parameters will be displayed. Change the values as required. Connection names are automatically created using the following rule.

default_N (where N is a 3-digitnumber (001, 002, etc.) starting from 1)

160

Setting Tag Data Links

Section 6-2

Note The following dialog box will be displayed if a target device that does not have I/O data is dropped.

Before dropping again, refer to the manual of the applicable device and create the I/O data (i.e., output tag sets) required to create a connection.

3.After you have set all of the connection, click the Regist Button to create the connection. When creating the connection has been completed, the input tag set and output tag set will be blank. Next, you can continue to create connections by selecting the connection I/O type and setting a tag set.

6-2-9Connecting the Network Configurator to the Network

This section explains how to connect the Network Configurator to the network.

Connecting through

Ethernet

Note The Windows firewall settings must be changed when making this connection for the first time in Windows XP, Vista, or Windows 7. For details on changing the firewall settings, refer toAppendix G Precautions for Using Windows XP, Vista, or Windows 7.

Connect to the EtherNet/IP Unit’s Ethernet port via the Ethernet network.

1,2,3... 1. Select Option - Select Interface - Ethernet I/F.

2.Select Network - Connect.

If there are multiple Ethernet interfaces on the computer, the Select Connect Network Port Dialog Box will be displayed. Select the interface that is to be connected, and press the OK Button.

The following dialog box will be displayed.

3. Click the OK Button. Select the network to be connected.

161

Setting Tag Data Links

Section 6-2

The Network Configurator will connect to the EtherNet/IP network. If the Network Configurator is connected online properly, On-line will be displayed in the status bar at the bottom of the window. The network connection icon will be displayed in blue in the Network Tab Page in which the Network Configurator is connected.

Network connection icon

The connecting network can be switched by selecting Network - Change

Connect Network.

Connecting through the CPU Unit’s Peripheral or RS-232CPort

Connect to the EtherNet/IP Unit’s Ethernet port via the CPU Unit’s peripheral port or RS-232Cport.

1,2,3... 1. Select Option - Select Interface - CS/CJ1 Serial PortEIP Unit I/F.

2. Select Network - Connect. The following dialog box will be displayed.

162

Setting Tag Data Links

Section 6-2

3.Input the EtherNet/IP Unit’s unit number in the Unit No. Field, select the connecting COM port number, and click theOK Button.

Usually, the Baud Rate is left at this setting. The following dialog box will be displayed.

4.After clicking TCP:2, click theOK Button. The Network Configurator will be connected to the EtherNet/IP network. If the Network Configurator is connected online properly,On-line will be displayed in the status bar at the bottom of the window.

Connecting through the CPU Unit’s USB or RS-232CPort (CJ2 CPU Units Only)

Connect to the EtherNet/IP Unit’s Ethernet port via the CPU Unit’s USB port or RS-232Cport.

1,2,3... 1. Select Option - Select Interface - CJ2 USB/Serial Portto set the communications interface.

163

Setting Tag Data Links

Section 6-2

2.Select Network - Connect. The Setup Interface Dialog Box will be displayed.

3.Set the port type to either USB or serial.

4.Set the port to use and then click the OK Button. (Leave the baud rate at the default setting.)

The following dialog box will be displayed.

5.Select the Backplane Icon and click theRefresh Button.

The CPU Unit, CPU Bus Units, and Special I/O Units connected in the PLC will be displayed as shown below.

6.Click the + icon to the left of the EtherNet/IP Unit or built-inEtherNet/IP port(CJ1W-EIP21(CJ2)orCJ2B-EIP21).The TCP ports on the EtherNet/IP Unit will be displayed as shown below.

164

Setting Tag Data Links

Section 6-2

Select the TCP port of the EtherNet/IP Unit.

7.Select the port for the EtherNet/IP Unit and then click the OK Button. The Network Configurator will be connected to the EtherNet/IP network. If the Network Configurator goes online normally,“On-line”will be displayed in the status bar at the bottom of the window.

Connecting to an EtherNet/IP Network via an Ethernet Unit

Note (1) Windows firewall settings must be changed when this connection is made for the first time using Windows XP (SP2 or higher), Vista, or Windows 7. Refer toAppendix G Precautions for Using Windows XP, Vista, or Windows 7: Using EtherNet/IP with Windows XP, Vista, or Windows 7 for information on how to make the changes.

(2)Use the CX-Integratorto correctly set the FINS routing tables for the CS/CJ-seriesCPU Unit that will be the relay node.

Network Configurator on

Windows computer

Ethernet

EtherNet/IP Unit

Ethernet Unit

CS/CJ-series

CPU Unit

EtherNet/IP

EtherNet/IP Unit or built-inEtherNet/IP port

CS/CJ-series

CJ2 CPU Unit

1,2,3... 1. Select Option - Select Interface - EthernetCS/CJ1ETN-EIPUnit I/F.

165

Setting Tag Data Links

Section 6-2

2.Select Network - Connect.

The following Setup Interface Dialog Box will be displayed.

3.Click the Setup Button in the Setup Interface Dialog Box. TheRegistration of the connection Dialog Box will be displayed. Enter the network information for the connection destination, and then click theAdd Button to register the settings.

The registration information details are as follows:

a.Registration name Enter any name.

b.Host (PC) information

Enter information for the computer that has the Network Configurator installed.

Network address

Same number as the network address of the Ethernet Unit of the PLC that will be the relay node.

Node address

Last value in the computer's IP address (e.g., 1 for 192.168.250.1)

c.Remote Information - EtherNet/IP Unit

Enter the information for the EtherNet/IP Unit of the PLC that will be the relay node.

Network address

Network address set in the routing tables

166

Setting Tag Data Links

Section 6-2

Node address

Last value in the IP address of the Unit above (e.g., 3 for 192.168.251.3)

Unit number of CPU Bus Unit Unit number of the Unit above

d.Remote Information - Ethernet Unit

Enter the information for the Ethernet Unit of the PLC that will be the relay node.

4.Once the settings have been registered, the Setup Interface Dialog Box will be displayed again. Check the registered information that has been entered, and then click the OK Button.

5.The following dialog box will be displayed. Select TCP:2, which represents the EtherNet/IP port, and then click theOK Button.

The Network Configurator will connect to the EtherNet/IP network, and “On-line”will be displayed in the status bar at the bottom of the window when connection has been properly made online.

Note A list of nodes on the EtherNet/IP network you are attempting to connect to will be displayed when theRefresh Button or the icon () at the left ofTCP:2

167

Setting Tag Data Links

Section 6-2

is clicked in the dialog box above. (Refer to the following figure.)

6-2-10Downloading Tag Data Link Parameters

To make tag data links, you must download tag data link parameters, such as tag set settings and connection settings, to all devices in the EtherNet/IP network. When the download operation is executed, the tag data link parameters will be transferred to the EtherNet/IP Units that require the settings.

The following procedure shows how to download the tag data link parameters. Refer to 6-2-9 Connecting the Network Configurator to the Network for information on how to connect the Network Configurator to the network.

Note • If the target node IP address is not set correctly, invalid device parameters may be set in the wrong PLC. Check the connected PLC before downloading parameters.

If incorrect tag data link parameters are set, it may cause equipment to operate unpredictably. Even when the correct tag data link parameters are set, make sure that there will be no effect on equipment before transferring the data.

When network symbols are used in tag settings, a connection error will result if the symbols are not also set in the CPU Unit. Before downloading the tag data link parameters, check to confirm that the network symbols have been set in the CPU Unit. On the Connection and Tag Status Tab Pages described in 14-1-1 The Network Configurator’s Device Monitor Function, check whether the network symbol, tag, and connection settings are correct.

When a communications error occurs, the output status depends on the specifications of the Unit being used. When a communications error occurs for a Unit that is used along with output devices, check the operating specifications and implement safety countermeasures.

The EtherNet/IP Unit is automatically restarted after the parameters have been downloaded. This restart is required to enable the tag set and connection information that have been set. Before downloading the parameters, check to confirm that restarting will not cause any problems with the equipment.

Do not disconnect the Ethernet cable or reset or turn OFF the power to the EtherNet/IP Unit while the parameters are being downloaded

For EtherNet/IP Units or built-inEtherNet/IP ports with revision 2 or later, the CPU Unit can download tag data link parameters in either RUN mode or MONITOR mode. (They can also be downloaded in PROGRAM mode.)

For EtherNet/IP Units with revision 1, tag data link parameters can be downloaded only when the CPU Unit is in PROGRAM mode.

Even for Units with revision 2 or later, all CPU Units must be in PROGRAM mode to download the parameters if any Units with revision 1 are included in the network.

168

Setting Tag Data Links

Section 6-2

1,2,3... 1. Connect the Network Configurator online.

2.There are two ways to download the parameters.

Downloading to All Devices in the Network

Select Network - Download. The following dialog box will be displayed.

Downloading Individually to Particular Devices

Select the icon of the EtherNet/IP Unit to which you want to download. To select multiple nodes, press and hold the Shift Key while selecting additional icons. (In the following example, 2 nodes are selected: 192.168.250.1 and 192.168.250.2.)

After selecting the icons, click the right mouse button over the icon to display the pop-upmenu, and selectParameter - Download.

The following dialog box will be displayed.

3.Click the Yes Button to download the tag data link parameters to the EtherNet/IP Unit.

The following dialog box will be displayed if any of the CPU Units is not in PROGRAM mode.

Display When All EtherNet/IP Units and Built-inEtherNet/IP Ports are Revision 2 or Higher

169

Setting Tag Data Links

Section 6-2

If the Download after changed to Program modeButton is clicked, all CPU Units will be changed to PROGRAM mode and the parameters will be downloaded. Confirm safety for all controlled equipment if the CPU Units are changed to PROGRAM mode. The operating mode can be returned to the previous setting after the parameters have been downloaded.

The Download with Current mode Button can be clicked to download load the parameters even when one or more CPU Units is in RUN or MONITOR mode.

• Display When Even One EtherNet/IP Unit Is Revision 1

When the Download after changed to Program modeButton is clicked, all CPU Units will be changed to PROGRAM mode and the parameters will be downloaded. Confirm safety for all controlled equipment if the CPU Units are changed to PROGRAM mode. The operating mode can be returned to the previous setting after the parameters have been downloaded.

During the download, the following progress monitor will be displayed to show the progress of the download.

170

Setting Tag Data Links

Section 6-2

If the operating mode of one or more CPU Units was changed to download the parameters, the CPU Units can be returned to the previous operating mode. If the No Button is clicked, the CPU Units will remain in PROGRAM mode.

4.The following dialog box will be displayed, indicating that the download was completed.

6-2-11Uploading Tag Data Link Parameters

Tag data link parameters (such as the tag set settings and connection settings) can be uploaded from EtherNet/IP Units in the EtherNet/IP network. The following procedure shows how to upload the parameters. For details on connecting to the network from the Network Configurator, refer to 6-2-9 Connecting the Network Configurator to the Network.

1,2,3... 1. Connect the Network Configurator to the network.

2.There are two ways to upload the parameters.

Uploading from All Devices in the Network

Select Network - Upload. The following dialog box will be displayed.

Clicking the Yes Button:

Parameters will be uploaded only from the devices registered in the Network Configuration Window. Parameters will not be uploaded from devices that are not registered in the Network Configuration Window.

Clicking the No Button:

If parameters are being uploaded from all devices in the network, the parameters will be newly uploaded from all devices. The current network configuration information will be lost.

If parameters are being uploaded from specified devices only, the upload operation will be cancelled and the upload will not be performed.

Clicking the Cancel Button:

The upload operation will be cancelled and the upload will not be performed.

Uploading Individually from Particular Devices

171

Setting Tag Data Links

Section 6-2

Select the icon of the EtherNet/IP Unit from which you want to upload. To select multiple nodes, press and hold the Shift Key while selecting additional icons. (In the following example, 2 nodes are selected: 192.168.250.1 and 192.168.250.2.)

After selecting the icons, click the right mouse button over the icon to display the pop-upmenu, and selectParameter - Upload.

The following confirmation dialog box will be displayed.

Click the Yes Button orNo Button.

During the upload, the following progress monitor will be displayed to show the progress of the upload.

3.The following dialog box will be displayed, indicating that the upload was completed.

6-2-12Verifying the Tag Data Links

Tag data link parameters (such as the tag set settings and connection settings) can be compared with the EtherNet/IP Units in the EtherNet/IP network. The following procedure shows how to compare the parameters. For details on connecting to the network from the Network Configurator, refer to 6-2-9 Connecting the Network Configurator to the Network.

172

Setting Tag Data Links

Section 6-2

Verifying the Network

Configuration

Compare the list of registered devices in the Network Configuration Window with the devices connected on the EtherNet/IP network, and check the IP addresses and device types. This function cannot be used to verify device parameters.

1,2,3... 1. Connect the Network Configurator to the network.

2.The following progress monitor will be displayed to show the progress as data is read from the network and compared.

3.The results of the comparison between the network configuration file and data from the network are displayed as follows.

Differences Not Found in the Comparison

• Differences Found in the Comparison

• Differences Found in the Device Type.

173

Setting Tag Data Links

Section 6-2

Verifying the Device

Parameters

Click the OK Button or the Close Button.

Use the following procedure to compare the device parameters for the devices selected in the Network Configuration Window with those of the devices connected on the EtherNet/IP network. The IP addresses, device types, and device parameters are compared.

1,2,3... 1. Connect the Network Configurator to the network.

2.Click the icon of the EtherNet/IP Unit that is to be verified. To select multiple nodes, hold down the Shift Key while clicking the icons. (In the following example, the 192.168.250.1 and 192.168.250.2 nodes are selected.)

With the icons selected, right-clickand selectParameter - Verify from thepop-upmenu.

3. The following dialog box will be displayed.

Click the Yes Button or theNo Button.

4.One of the following dialog boxes will be displayed.

Differences Not Found in the Comparison

• Differences Found in the Comparison

174