Size:
19.68 Mb
Download

Overview of Initial Setup Procedures

Section 3-1

9.Test communications.

Send a PING command to the EtherNet/IP Unit or built-inEtherNet/IP port. Refer to3-11 Communications Test.

Settings Required for Tag Data Link Service (Cyclic Communications)

1. Using the EtherNet/IP Datalink Tool in the Network Configurator to Set the Parameters

With this method, there is no flexibility in the settings, but you can easily set the data link parameters using only memory addresses, and the settings will

conform to Controller Link data link parameters. Refer to 3-9 Tag Data Link Parameters orSECTION 6 Tag Data Link Functions.

2. Using the Tag Data Link Setting Function in the Network Configurator to Set the Parameters

With this method, you can set the connections that define the tag data links for

each EtherNet/IP node. Tag data links can be set with a high degree of flexibility using both memory addresses and network variables. Refer to SECTION 6 Tag Data Link Functions for information on how to make these settings.

Settings Required for the Message Communications Service

Execute a CMND(490) instruction in the CS/CJ-seriesCPU Unit’s user program.

Refer to SECTION 9 Message Communications.

35

Switch Settings

Section 3-2

3-2Switch Settings

3-2-1CS-seriesEtherNet/IP Units

Setting the Unit Number

The unit number is used to identify individual CPU Bus Units when more than one CPU Bus Unit is mounted to the same PLC. Use a small screwdriver to make the setting, taking care not to damage the rotary switch. The unit number is factory-setto 0.

UNIT

No.

Setting range:

0 to F

Note (1) Turn OFF the power supply before setting the unit number.

(2)If the unit number is being set for the first time or changed, then I/O tables must be created for the PLC.

(3)With CS-seriesandCJ-seriesPLCs, words are automatically allocated in

the CIO Area and DM Area according to the unit numbers that are set. For details, refer to SECTION 4 Memory Allocations.

Setting the Node Address

When there are multiple EtherNet/IP Units or Ethernet Units connected to the Ethernet network for the FINS communications service, the EtherNet/IP Units are identified by node addresses. Use the node address switches (NODE NO.) to set the node address between 01 and FE hexadecimal (1 to 254 decimal). Do not set a number that has already been set for another node on the same network.

Relationship to IP Addresses

NODE

Setting range:

NO.

01 to FE (1 to 254 decimal)

× 161

× 160

The left switch sets the sixteens digit (most significant digit) and the right switch sets the ones digit (least significant digit). The node address is factoryset to 01.

Note Turn OFF the power supply before setting the node address.

When IP addresses are generated automatically (either dynamic or passive), the rightmost byte of the host ID of the IP address is set to the same value as the node address. (Refer to Section 5 Determining IP Addresses.) If the same node address value cannot be used, the IP address table method or the com-

bined method must be used for address conversion. (For details, refer to SECTION 5 Determining IP Addresses.)

If the FINS communications service is not being used on the Ethernet network, then it is all right for the same node address to be set on two or more EtherNet/IP Units. The setting, however, must be made within a range of 01 to FE. If a value outside of this range is set, the MS indicator will light red, the 7- segment display will indicate code H4 (node address setting error), and the EtherNet/IP Unit will stop operating.

36

Switch Settings

Section 3-2

3-2-2CJ-seriesEtherNet/IP Units and CJ2Built-inEtherNet/IP Port

Setting the Unit Number

The unit number is used to identify individual CPU Bus Units when more than one CPU Bus Unit is mounted to the same PLC. Use a small screwdriver to make the setting, taking care not to damage the rotary switch. The unit number is factory-setto 0.

UNIT

No.

Setting range:

0 to F

Note (1) Turn OFF the power supply before setting the unit number.

(2)If the unit number is being set for the first time or changed, then I/O tables must be created for the PLC.

(3)With CS-seriesandCJ-seriesPLCs, dedicated areas are automatically

allocated in the CIO Area and DM Area according to the unit numbers that are set. For details, refer to SECTION 4 Memory Allocations.

Setting the Node Address

With the FINS communications service, when there are multiple EtherNet/IP Units connected to the Ethernet network, the EtherNet/IP Units are identified by node addresses. Use the node address switches to set the node address between 01 and FE hexadecimal (1 to 254 decimal). Do not set a number that has already been set for another node on the same network.

Relationship to IP Addresses

 

NODE

 

 

Setting range:

 

No.

 

 

× 16 1

01 to FE (1 to 254 decimal)

× 16 0

 

 

The left switch sets the sixteens digit (most significant digit) and the right switch sets the ones digit (least significant digit). The node address is factoryset to 01.

Note Turn OFF the power supply before setting the node address.

When IP addresses are generated automatically (either dynamic or passive), the rightmost byte of the host ID of the IP address of the EtherNet/IP Unit or built-inEtherNet/IP port is set to the same value as the node address. (Refer toSection 5 Determining IP Addresses.) If the same node address value can-

not be used, the IP address table method or the combined method must be used for address conversion. (For details, refer to SECTION 5 Determining IP Addresses.)

If the FINS communications service is not being used on the Ethernet network, then it is all right for the same node address to be set on two or more EtherNet/IP Units or built-inEtherNet/IP ports. The setting, however, must be made within a range of 01 to FE. If a value outside of this range is set, the MS indicator will light red, the7-segmentdisplay will indicate code H4 (node address setting error), and the EtherNet/IP Unit orbuilt-inEtherNet/IP port will stop operating.

37

Mounting to a PLC

Section 3-3

3-3Mounting to a PLC

3-3-1Mounting to aCS-seriesPLC

EtherNet/IP Units can be mounted to any slot in a CS-seriesCPU Rack or aCS-seriesExpansion CPU Rack, but the number of slots to which they can be mounted depends on the Backplane. Up to four EtherNet/IP Units can be mounted to a single PLC. If it is mounted in combination with other CPU Bus Units (e.g., Controller Link Units), the maximum total number of CPU Bus Units that can be mounted is 8.

Note Tighten PLC Backplane mounting screws to a torque of 0.9 N m, and the Unit’s screws to a torque of 0.4 N m.

CS1W-BC023/BC033/BC053/BC083/BC103CPU Backplane

 

 

 

 

 

 

 

 

 

 

 

 

 

CPU

PS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CS-seriesCPU Rack with 2, 3, 5, 8, or 10 slots

Can be mounted in any slot.

2, 3, 5, 8, or 10 slots

(Expansion Backplane not possible with 2-slotCPU Backplane.)

CS1W-BI033/BI053/BI083/BI103CS-seriesExpansion Backplane

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CS-seriesExpansion Rack with

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PS

3, 5, 8, or 10 slots.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Can be mounted in any slot.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3, 5, 8, or 10 slots

Up to eight Units can be mounted to the slots shown in the diagrams on the left.

CS1W-BI033/BI053/BI083/BI103CS-seriesExpansion Backplane

PS

3, 5, 8, or 10 slots

CS-seriesExpansion Rack with 3, 5, 8, or 10 slots.

Can be mounted in any slot.

CPU: CPU Unit

PS: Power Supply Unit

Note TheCS1W-EIP21EtherNet/IP Unit’s maximum current consumption is 410 mA. Be sure that the total current consumption of all the Units connected to the same CPU Backplane or Expansion Backplane does not exceed the output capacity of the Power Supply Unit.

3-3-2Mounting to aCJ-seriesPLC

EtherNet/IP Units can be mounted in a CJ-seriesCPU Rack or aCJ-seriesExpansion CPU Rack. Connect the EtherNet/IP Unit in any of the positions shown below using the sliders on the top and bottom of the Unit. Up to seven EtherNet/IP Units can be mounted for aCJ2H-CPU@@-EIPCPU Unit (enabling up to eight EtherNet/IP ports if you include thebuilt-inEtherNet/IP port). Up to two EtherNet/IP Units can be mounted for aCJ2M-CPU3@CPU Unit.

If EtherNet/IP Units are mounted in combination with other CPU Bus Units (e.g., Controller Link Units), the maximum total number of CPU Bus Units that can be mounted is 16.

38

Mounting to a PLC

Section 3-3

CPU Rack

 

 

10 Units max.

 

 

 

 

 

 

 

P

 

C

 

I

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S

 

P

 

C

 

 

 

 

 

 

 

 

 

U

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Expansion Backplane

10 Units max.

P I

S I

End cover

End cover

Up to eight EtherNet/IP

Units can be mounted.

Expansion Backplane

10 Units max.

End cover

 

P I

S I

Expansion Backplane

10 Units max.

End cover

 

P I

S I

PS: Power Supply Unit

CPU: CPU Unit

IC: I/O Control Unit

II: I/O Interface Unit

Note TheCJ1W-EIP21EtherNet/IP Unit’s maximum current consumption is 410 mA. Be sure that the total current consumption of all the Units connected to the same CPU Backplane or Expansion Backplane does not exceed the output capacity of the Power Supply Unit.

3-3-3Mounting

Mount the EtherNet/IP Unit to the Backplane using the following procedure.

1,2,3... 1. Hook the claw on the top of the Unit onto the Backplane.

Claw

Backplane

2.Insert the Unit into Backplane connectors and securely tighten the screw at the bottom of the Unit. Tighten the screws to a torque of 0.4 N·m.

39

Mounting to a PLC

Section 3-3

3. When removing the Unit, first loosen the screw at the bottom of the Unit.

Fixing screws

Note When mounting the Unit, provide the clearance shown below to facilitate easy mounting or dismounting.

Duct

20 mm min.

Backplane

20 mm min.

Duct

Phillips screwdriver

3-3-4Handling Precautions

Always turn OFF the power supply to the PLC before mounting or dismounting a Unit or connecting or disconnecting cables.

Provide separate conduits or ducts for the I/O lines to prevent noise from high-tensionlines or power lines.

Leave the label attached to the Unit when wiring. Removing the label may result in malfunction if wire clippings or other foreign matter enters the Unit. Remove the label after the completion of wiring to ensure proper heat dissipation. Leaving the label attached may result in malfunction.

Remove the label after wiring.

NS COMM 100M 10M

 

 

 

UNIT

 

NODE

 

 

 

NO.

0

 

 

 

 

 

 

NO.

0

 

 

 

 

 

 

 

 

1

1

 

 

 

 

 

 

 

16

 

0

IP

 

 

 

SS

16

ADDRE

 

 

 

192.

168.

250.1

SUBNET

 

 

 

 

255.

 

MASK

255.

255.0

 

 

 

100BASE-

TX

 

1

 

 

 

 

 

 

0BASE-T

40

Network Installation

Section 3-4

3-4Network Installation

3-4-1Basic Installation Precautions

Take the greatest care when installing the Ethernet System, being sure to follow ISO 8802-3specifications. You must obtain a copy of these specifications and be sure you understand them before attempting to install an Ethernet System. Unless you are already experienced in installing communications systems, we strongly recommend that you employ a professional to install your system.

Do not install Ethernet equipment near sources of noise. If a noisy environment is unavoidable, take adequate measures against noise interference, such as installing network components in grounded metal cases or using optical cable in the system.

When installing an EtherNet/IP network that combines an information system with the control system, and the communications load may be heavy due to tag data links, we recommend configuring the network so that the load does not affect communications. For example, install the tag data links in a segment that is separate from the information network.

Note The maximum current consumption of theCS1W-EIP21andCJ1W-EIP21EtherNet/IP Units is 410 mA. Be sure that the total current consumption of all the Units connected to the same CPU Backplane or Expansion Backplane does not exceed the output capacity of the Power Supply Unit.

3-4-2Recommended Products

The following table shows the devices recommended for use with the Ether-

Net/IP Unit 2-3 Selecting the Network Devices.

3-4-3Precautions

Precautions on Laying Twisted-pairCable

Noise resistance may be reduced by ground loops, which can occur due to improper shield connections and grounding. Ground the shield at one location, as shown in the following diagram.

Do not connect the shield to the EtherNet/IP Unit’s connector.

If a cable connects two hubs, connect the shields at only one end.

Hub

Hub

 

Connect shield.

Connector Connector

Connector Connector Connector

GR

Do not connect shield.

GR

 

EIP

Power

 

Unit

Supply

 

 

Unit

STP

Connector

GR

 

 

STP

 

 

terminal

(Shield)

(Shield)

EIP

Power

Unit

Supply

 

Unit

Connector

STP GR terminal

(Shield)

41

Network Installation

Section 3-4

Press the cable connector in firmly until it locks into place at both the switching hub and the EtherNet/IP Unit.

Do not lay the twisted-paircable together withhigh-voltagelines.

Do not lay the twisted-paircable near devices that generate noise.

Do not lay the twisted-paircable in locations subject to high temperatures or high humidity.

Do not lay the twisted-paircable in locations subject to excessive dirt and dust or to oil mist or other contaminants.

Switching Hub Installation Environment Precautions

Do not ground the switching hub in the same location as a drive-systemcomponent such as an inverter.

Always use a dedicated power supply for the switching hub’s power supply. Do not use the same power supply used for other equipment, such as an I/O power supply, motor power supply, or control power supply.

Before installation, check the switching hub’s environment-resistancespecifications, and use a switching hub appropriate for the ambient conditions. Contact the switching hub manufacturer for details on switching hub’senvironment-resistancespecifications.

Switching Hub Connection Methods

Connect two hubs to each other as follows: Connect an MDI port to an MDI-Xport with a straight cable; connect two MDI ports with a cross cable; and connect twoMDI-Xports with a cross cable.

Note It is very difficult to distinguish cross cables and straight cables by appearance. Incorrect cables will cause communications to fail. We recommend using cascade connections with straight cables whenever possible.

MDI ports

 

Straight cable

 

MDI-Xport

Switching

 

Cross cable

 

(cross)

 

Hub

 

 

 

 

Switching

 

Switching

Switching

Hub

 

Hub

Hub

Some switching hubs can automatically distinguish between MDI and MDI-X.When this kind of switching hub is being used, straight cable can be used between switching hubs.

Note Adjust the link settings of the EtherNet/IP Unit orbuilt-inEtherNet/IP port to match the communications settings of the connected switching hub. If the settings do not match, the link will become unstable and prevent normal communications. The following table shows the allowed settings for each switching hub communications mode.

Switching hub setting

 

EtherNet/IP Unit setting

 

 

 

Auto-

10 Mbps (fixed)

100 Mbps (fixed)

 

 

negotiation

 

 

 

 

 

 

Full

Half

Full

Half

 

 

 

duplex

duplex

duplex

duplex

Auto-negotiation

Best

---

OK

---

OK

 

 

 

 

 

 

10 Mbps

Full duplex

---

OK

---

---

---

(fixed)

 

 

 

 

 

 

Half duplex

OK

---

OK

---

---

 

 

 

 

 

 

 

 

42

Network Installation

 

 

 

 

Section 3-4

 

 

 

 

 

 

 

 

 

Switching hub setting

 

EtherNet/IP Unit setting

 

 

 

 

Auto-

10 Mbps (fixed)

100 Mbps (fixed)

 

 

 

negotiation

 

 

 

 

 

 

 

Full

Half

Full

Half

 

 

 

 

duplex

duplex

duplex

duplex

 

100 Mbps

Full duplex

---

---

---

Best

---

 

(fixed)

 

 

 

 

 

 

 

Half duplex

OK

---

---

---

OK

 

 

 

 

 

 

 

 

 

 

Note Best = Recommended; OK = Allowed;

---= Not allowed.

 

 

3-4-4Using Contact Outputs (Common to All Units)

When an EtherNet/IP Unit or built-inEtherNet/IP port and Contact Output Unit are mounted in the same Rack or connected to the same PLC, communications errors may occur due to noise generated by the contact outputs. Use one or more of the following measures when installing Contact Output Units and EtherNet/IP Units on the same Rack.

Mounting Location

Mount (or connect) any Contact Output Units as far away from the EtherNet/IP

Unit or built-inEtherNet/IP port as possible.

Contact Output Unit

EtherNet/IP Unit

To switching hub

Contact outputs

Cable Location

Separate the transceiver cable or twisted-paircable connecting the EtherNet/ IP Unit as far from the wiring to the Contact Output Units as possible. The coaxial cable must also be placed as far away from the Contact Output Units and their wiring as possible.

Contact outputs

Contact Output Unit

EtherNet/IP Unit

 

To switching hub

43

Connecting to the Network

Section 3-5

3-5Connecting to the Network

3-5-1Ethernet Connectors

The following standards and specifications apply to the connectors for the

Ethernet twisted-paircable.

• Electrical specifications: Conforming to IEEE802.3 standards.

 

 

 

 

 

 

 

• Connector structure:

RJ45 8-pinModular Connector

 

 

 

 

 

 

 

 

 

(conforming to ISO 8877)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Connector pin

Signal name

Abbr.

Signal direction

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

Transmission data +

TD+

Output

 

 

 

 

 

 

 

2

Transmission data –

TD–

Output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

Reception data +

RD+

Input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

Not used.

 

---

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

Not used.

 

---

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

Reception data –

RD–

Input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

Not used.

 

---

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

Not used.

 

---

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hood

Frame ground

FG

---

 

 

 

 

 

 

 

 

 

 

 

 

3-5-2Connecting the Cable

!Caution Turn OFF the PLC’s power supply before connecting or disconnecting twistedpair cable.

!Caution Allow enough space for the bending radius of the twisted-paircable as shown in below.

35 mm

44

Connecting to the Network

Section 3-5

1,2,3... 1. Lay thetwisted-paircable.

2.Connect the cable to the switching hub. Be sure to press in the cable until it locks into place.

3.Connect the twisted-paircable to the connector on the EtherNet/IP Unit. Be sure to press the connectors (both the switching hub side and Ethernet side) until they lock into place.

Example: CS1W-EIP21

RJ45 Modular Connector

EtherNet/IP

45

Creating I/O Tables

Section 3-6

3-6Creating I/O Tables

3-6-1I/O Table Overview

I/O tables are used to identify Units mounted to the PLC, and to allocate I/O to them. With CS-seriesandCJ-seriesPLCs, whenever there is a change to the Unit configuration it is necessary to create I/O tables and register the mounted Units in the CPU Unit.

The I/O tables can be created in the following ways.

Using the CX-Programmeroffline.

Using the CX-Programmeronline to create the I/O table based on the Units mounted to the PLC.

Using the Programming Console to create the I/O table based on the Units mounted to the PLC.

Using the CPU Unit's automatic I/O allocation at startup. (This method is available for the CJ Series only.)

3-6-2Connecting Programming Devices to the PLC

To create the I/O tables, connect a Programming Device (such as a CX-Pro-grammer or Programming Console) to the PLC.

Applicable Programming Devices

The following Programming Devices can be used with CS/CJ-seriesPLCs.

Programming Console

Model number

Key Sheet (required)

Recommended cable (required)

 

 

 

C200H-PRO27-E

CS1W-KS001-E

CS1W-CN224(cable length: 2.0 m)

 

 

CS1W-CN624(cable length: 6.0 m)

 

 

 

CQM1-PRO01-E

 

CS1W-CN114(cable length: 0.1 m)

 

 

 

Note A Programming Console cannot be used with theCJ2H-CPU@@(-EIP)andCJ2M-CPU3@CPU Units. Use theCX-Programmer.

CX-Programmer

For information on how to connect and operate the CX-Programmer,refer to theCX-Programmer Operation Manual (Cat. No. W446).

Connecting a Programming Console

To connect a Programming Console, attach a CS/CJ-seriesKey Sheet and then connect the Console to the CPU Unit’s peripheral port. (It cannot be connected to theRS-232Cport.)

3-6-3Procedure for Creating I/O Tables

Programming Console

This section provides the procedure for creating the I/O tables using a Programming Console. For details on using the Programming Console, refer to the Programming Console’s operation manual.

Note (1) With the CJ Series, it is necessary to create I/O tables only when the user is allocating I/O manually. With the CS Series, it is always necessary to create I/O tables.

46

Creating I/O Tables

Section 3-6

(2)With the CJ2H-CPU@@-EIPandCJ2M-CPU3@CPU Units, thebuilt-inEtherNet/IP port is set in the I/O tables by default and cannot be changed. It is not necessary to register it in the I/O tables.

Use the following procedure to create the I/O tables.

Initial screen

CH

SHIFT *DM

000000 I/O TBL ?

CHG

000000 I/O TBL WRIT ????

WRITE

Password

000000CPU BU ST? 0:CLR 1:KEEP

or

(Save or clear the CPU Bus Unit System Setup.)

000000 I/O TBL WRIT OK

CX-Programmer(Version 8.0 or Higher)

This section describes how to register an EtherNet/IP Unit or built-inEtherNet/ IP port in the I/O tables using theCX-Programmer(version 8.0 or higher). Refer to theCX-Programmer Operation Manual (Cat. No. W446) for details on the operating procedures.

This section describes how to register the CJ1W-EIP21in the I/O tables by creating the I/O tables on a computer with theCX-Programmer.In this example, the computer is connected to the PLC using a serial cable. TheCJ1W-EIP21is connected to aCJ1H-CPU67CPU Unit.

1,2,3... 1. Start theCX-Programmer,and then selectPLC Auto Online Direct Connection from the menus.

47

Creating I/O Tables

Section 3-6

2.The Direct Online Dialog Box will be displayed. Select a serial connection, select the name of the applicable computer serial port, and then press the Connect Button.

3.If the connection process is successful, the system will be connected online. Here, check the operating mode of the PLC. If the operating mode is not PROGRAM mode, change the mode by selecting PLC Operating Mode Program from the menus.

4.Double-clickIO Table and Unit Setup Icon in the project workspace in theCX-Programmer.The PLC IO Table Window will be displayed. SelectOptions Create from the menus.

48

Creating I/O Tables

Section 3-6

5.The EtherNet/IP Unit will be displayed at the position it is mounted in the PLC.

Note If it is not displayed, selectOptions Transfer from PLC from the menus.

Note Creating I/O tables is not required if thebuilt-inEtherNet/IP port of a CJ2 CPU Unit is used. It is registered as abuilt-inport/Inner Board with a model number ofCJ2B-EIP21for the CJ2H and a model number ofCJ2M-EIP21for the CJ2M. You cannot delete abuilt-inport from the I/O tables.

49

Setting the Local IP Address

Section 3-7

3-7Setting the Local IP Address

This section describes the 3 ways to set the local I/O address of an EtherNet/

IP Unit or built-inEtherNet/IP port.

Method 1: Using the default IP address:

The default IP address is 192.168.250.Node_address.

(The node address is set with the rotary switches on the front of the EtherNet/IP Unit or, for the built-inEtherNet/IP port, on the front of the CPU Unit.)

This method can be used to make a temporary or preliminary connection to the Ethernet. In this case, leave the TCP/IP Configuration and the allocated DM area IP address settings at their default values (0.0.0.0).

Method 2: Setting an IP address in the CPU Unit’s allocated DM area:

If you want to set a particular local IP address and store that setting in the CPU Unit, set it in the EtherNet/IP Unit’s allocated DM area. The IP address can be set from the CX-Programmer,Programming Console, or ladder program.

Method 3: Setting the TCP/IP Configuration from the CX-Programmer:

If you want to set a particular local IP address and store that setting in the EtherNet/IP Unit, set the IP address from the CX-Pro-grammer.

When FINS communications are being used, it is necessary to show the cor-

respondence between the IP addresses and FINS node addresses. Refer to SECTION 5 Determining IP Addresses for an explanation of IP addresses as

well as the correspondence between FINS node addresses and IP addresses.

The three setting methods are described in the following paragraphs.

Method 1: Using the Default IP Address (192.168.250.Node_address)

When the EtherNet/IP Unit or built-inEtherNet/IP port is just mounted in the PLC and the I/O table is created, the EtherNet/IP Unit orbuilt-inEtherNet/IP port will operate with its default IP address. This default address is enabled when the local IP address in the allocated DM area and the TCP/IP Configuration are both set to their defaults (0.0.0.0).

The default IP address is 192.168.250.Node_address, whereNode_address is the node address set with the rotary switches on the front of the EtherNet/IP Unit. This address is also used as the FINS node address.

The following table shows the various settings in the Unit Setup when the IP address and TCP/IP Configuration are all set to their default values.

Setting

Operating status

 

 

IP address

192.168.250.Node_address

 

 

Subnet mask

255.255.255.0 (class C mask)

 

 

Default gateway

None (IP routing disabled)

 

 

Preferred DNS server

None

 

 

Alternate DNS server

None

 

 

Host name

None

 

 

Domain name

None

 

 

Baud rate

Auto-detect

 

 

50

Setting the Local IP Address

Section 3-7

Method 2: Setting the Address in the CPU Bus Unit's Allocated DM Area

With this method, an IP address is not set in the TCP/IP Configuration (left at its default setting), and an IP address is set in the allocated DM Area words (the IP Address Display/Setting Area in words m+98 and m+99).

The IP address can be written in the two IP Address Display/Setting Area words using the CX-Programmeror the Programming Console. To enable the new IP Address setting, the EtherNet/IP Unit orbuilt-inEtherNet/IP port must be restarted or the PLC’s power must be turned OFF and then ON again.

Beginning word m = D30000 + (100 x unit number)

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

m+98

 

(1)

 

 

(2)

 

 

 

(3)

 

 

 

 

(4)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

m+99

 

(5)

 

 

(6)

 

 

 

(7)

 

 

 

 

(8)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IP Address: (1)(2).(3)(4).(5)(6).(7)(8) (Hex)

The following table shows the various Unit Setup when only the IP Address Display/Setting Area is set, and the other TCP/IP Configuration settings are left at their default values.

Setting

Operating status

 

 

IP address

IP address set in words m+98 and m+99 (IP Address Dis-

 

play/Setting Area) of the DM Area words allocated to the

 

EtherNet/IP Unit as a CPU Bus Unit

 

 

Subnet mask

Determined by class of the IP address

 

 

Default gateway

None (IP routing disabled)

 

 

Preferred DNS server

None

 

 

Alternate DNS server

None

 

 

Host name

None

 

 

Domain name

None

 

 

Baud rate

Auto-detect

 

 

Method 3: Setting the TCP/IP Configuration from the Network

Configurator

This method can be used to set IP addresses from the CX-Programmer.

For details, refer to 3-8 TCP/IP and Link Settings.

If the IP address is set in the TCP/IP Tab Page, that IP address setting will be displayed in the IP Address Display/Setting Area (words m+98 and m+99) in the DM Area words allocated to the Unit/port.

51

TCP/IP and Link Settings

Section 3-8

3-8TCP/IP and Link Settings

This section describes the TCP/IP-relatedsettings, such as the local IP address and subnet mask for the EtherNet/IP Unit orbuilt-inEtherNet/IP port. Use theCX-Programmerto make these settings. The settings are stored innon-volatilememory in the Unit.

Note Unlike the Ethernet Units, the TCP/IP settings of the EtherNet/IP Unit andbuilt-inEtherNet/IP port are not stored in the CPU Unit’s CPU Bus Unit System Setup Area.

3-8-1Setting Procedure with theCX-Programmer

1,2,3... 1. When the EtherNet/IP Unit is registered in the I/O tables of theCX-Pro-

grammer, the EtherNet/IP Unit and built-inEtherNet/IP port will be displayed in the I/O tables. Refer to3-6 Creating I/O Tables for details.

2.Right-clickthe EtherNet/IP Unit orbuilt-inEtherNet/IP port in the I/O table and selectEdit - Unit Setup from the menus. The Edit Parameters Dialog Box will be displayed.

3.Make the necessary settings on the TCP/IP Tab Page of the Edit Parameters Dialog Box. (The IP address is set here.)

52

TCP/IP and Link Settings

Section 3-8

4.Place the CX-Programmeronline with the PLC and transfer the settings to the EtherNet/IP Unit orbuilt-inEtherNet/IP port.

5.After transferring the settings, a message will ask if you want to restart the EtherNet/IP Unit or built-inEtherNet/IP port. The Unit/port must be restarted to enable the settings.

6.Check the 7-segmentdisplay for the EtherNet/IP Unit orbuilt-inEtherNet/ IP port.

7.If the 7-segmentdisplay is tested again after it goes OFF, and finally displays the IP address, it indicates that the EtherNet/IP Unit has recognized the new TCP/IP Configuration settings (the IP address in this case).

Note (1) The EtherNet/IP Unit orbuilt-inEtherNet/IP port must restart in order to enable the parameter settings that are transferred to it. Verify that restarting the Unit/port will not cause any problems in the system before restarting it.

(2)If the target node address (IP address) is not set correctly, invalid device parameters may be set in the wrong PLC, so check the connected PLC before downloading parameters.

Settings on the TCP/IP Tab Page

Settings for the following items are provided on the TCP/IP Tab Page of the

Edit Parameters Dialog Box in the CX-Programmer.

IP address

Subnet mask

Default gateway

Broadcasting

Preferred DNS server

Alternate DNS server

Domain name

IP router table

53

TCP/IP and Link Settings

Section 3-8

IP Address

Sets the local IP address of the EtherNet/IP Unit or built-inEtherNet/IP port.

Set the local IP address on the TCP/IP Tab Page when not setting the IP address in the CPU Unit’s allocated DM Area or using the default IP address (default IP address = 192.168.250.Node_address).

When the IP address is set on the TCP/IP Tab Page, it will be stored as the IP address in the DM Area words allocated to the Unit/port as a CPU Bus Unit.

Subnet Mask

For the subnet mask, all bits corresponding to the bits in the IP address used as the network ID are set to 1, and the bits corresponding to the host number are set to 0. The EtherNet/IP Unit or built-inEtherNet/IP port supports CIDR (ClasslessInter-DomainRouting). The subnet mask can be set to 192.0.0.0 to 255.255.255.252. (CIDR is supported by unit version 2.0 or later.)

If no subnet mask is set, or if an illegal value is set, the following values will be used depending on the IP address class.

In normal applications, we recommend setting the subnet mask defined for the class.

Class

Subnet mask

 

 

Class A

255.0.0.0

 

 

Class B

255.255.0.0

 

 

Class C

255.255.255.0

 

 

With the default setting (0.0.0.0), a subnet mask corresponding to the IP address class is used.

The following table shows the various parameters in the Unit Setup when only the IP address and subnet mask are set and other settings are left at their default values.

Setting

Operating status

 

 

Default gateway

None (IP routing disabled)

 

 

Preferred DNS server

None

 

 

Alternate DNS server

None

 

 

Host name

None

 

 

Domain name

None

 

 

Broadcasting

4.3 BSD specifications

 

 

IP router table

None

 

 

Default Gateway

Sets the default gateway’s IP address.

This setting is not required when the default gateway is not being used.

Broadcasting

Sets the IP address specification method for broadcasting with FINS/UDP.

All 1’s (4.3BSD): Broadcasting is performed with the host ID set to all 1’s.

All 0’s (4.2BSD): Broadcasting is performed with the host ID set to all 0’s. Normally, use the default setting of all 1’s (4.3BSD).

Preferred DNS Server and Alternate DNS Server

When accessing another node from the EtherNet/IP Unit or built-inEtherNet/ IP port using the host name, the DNS server searches for the other node’s IP address from the other node’s host name to the DNS server. These settings register the IP addresses of the preferred and alternate DNS servers that will perform the search. At this time, the EtherNet/IP Unit is not equipped with any

54