Size:
19.68 Mb
Download

TCP/IP and Link Settings

Section 3-8

functions that require a DNS server, so these settings are not used. (The functionality required to use a DNS server is not provided on EtherNet/IP Units with unit version 1.0. The DNS server cannot be used with these Units.)

Domain Name

Sets the domain name of the domain to which the EtherNet/IP Unit or built-inEtherNet/IP port belongs. The EtherNet/IP Unit orbuilt-inEtherNet/IP port does not use a domain name in actual communications.

IP Router Table

Set the IP router table to route EtherNet/IP communications for specific nodes through an IP router other than the default gateway.

Settings on the Ethernet Tab Page

The following settings are provided on the Ethernet Tab Page of the Unit

Setup for the EtherNet/IP Unit or built-inEtherNet/IP port.

• Link settings (baud rate and half/full duplex)

Link Setting

Sets the communications baud rate.

 

 

Setting

Meaning

 

 

Auto (default)

The baud rate with the switching hub is detected automat-

 

 

 

ically. If possible, the Unit operates in 100Base-T(full

 

 

 

duplex).

 

 

 

10

Mbps, Half Duplex

Operates in 10Base-T,half duplex.

 

 

 

10

Mbps, Full Duplex

Operates in 10Base-T,full duplex.

 

 

 

100

Mbps, Half Duplex

Operates in 100Base-TX,half duplex.

 

 

 

100

Mbps, Full Duplex

Operates in 100Base-TX,full duplex.

 

 

 

 

Note Adjust the EtherNet/IP Unit’s link settings 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

---

---

 

 

 

 

 

 

 

 

 

 

 

100 Mbps

Full duplex

---

---

---

Best

---

 

(fixed)

 

 

 

 

 

 

 

Half duplex

OK

---

---

---

OK

 

 

 

 

 

 

 

 

 

 

Note Best = Recommended; OK = Allowed;

---= Not allowed.

 

 

3-8-2Making TCP/IP Settings with the Network Configurator

Use the Network Configurator to change IP address settings for any device other than a CS/CJ-seriesEtherNet/IP Unit orbuilt-inport. You can also use the Network Configurator to change IP address settings for aCS/CJ-seriesEtherNet/IP Unit orbuilt-inport.

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

Refer to 6-2-9 Connecting the Network Configurator to the Network for details on connecting the Network Configurator to the EtherNet/IP Unit.

55

TCP/IP and Link Settings

Section 3-8

2.Select Tools - Setup TCP/IP Configuration to display the following Setup TCP/IP Configuration Dialog Box, and set the TCP/IP Configuration for the target device. In the following example, the settings are all at their default values.

3.Enter the IP address to set and press the Get from the Device Button. The present setting will be obtained. Change the IP address in theNew Configuration Box if required.

4.Press the Set to the Device Button. The IP address will be transferred to the device. The applicable device is the device specified in theTarget IP Address Box. The device must be reset to enable the transferred setting. If the device is not reset when the new IP address is transferred, click theReset the Device Button.

When the EtherNet/IP Unit is reset, the IP address will be displayed once in flowing text on the 7-segmentdisplay on the front of the Unit.

Note (1) The transfer function for IP address settings is defined by ODVA specifications. Target devices that do not support these specifications cannot be set. When setting the IP address of the target device with the Network

56

Tag Data Link Parameters

Section 3-9

Configurator, connect the devices one at a time, and download the TCP/ IP Configuration’s IP address parameters. If TCP/IP parameters are set for the EtherNet/IP Unit or built-inEtherNet/IP port from the Network Configurator, the EtherNet/IP Unit may automatically be reset and restarted. Before setting the TCP/IP parameters, make sure that no system problems will occur when the Unit is restarted. If the Unit does not restart automatically, click theReset the Device Button.

(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.

TCP/IP Parameters

The following TCP/IP parameters can be set from the Network Configurator.

IP address

Subnet mask

Default gateway

Preferred DNS server

Alternate DNS server

Domain name

Link parameters (baud rate and full/half duplex)

3-9Tag Data Link Parameters

Set the following parameters when using tag data links with an EtherNet/IP Unit or built-inEtherNet/IP port. The parameter settings are saved in flash memory in the EtherNet/IP Unit or CPU Unit. (See note.)

Note The CPU Bus Unit Setup Area is not used for tag data link settings for an EtherNet/IP Unit orbuilt-inEtherNet/IP port. This point is different from the operation of Ethernet Units.

Refer to SECTION 6 Tag Data Link Functions for details.

3-9-1Network Configurator Setting Procedure

The methods for setting tag data links using the Network Configurator can be roughly divided into the following two.

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.

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 comprise 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 details on how to perform these settings.

This section presents a setting example using the EtherNet/IP Datalink Tool.

Using the EtherNet/IP Datalink Tool

The method that is described here is used to set memory addresses in tables to specify data links between EtherNet/IP Units or built-inEtherNet/IP ports onCS/CJ-seriesPLCs.

57

Tag Data Link Parameters

Section 3-9

The following method can be used to easily set the data links shown in the following figure using a wizard in the EtherNet/IP Datalink Tool.

Node #1: CJ1H-CPU67H

Node #2: CJ1H-CPU67H

Node #3: CJ1H-CPU67H

(IP address: 192.168.250.1)

(IP address: 192.168.250.2)

(IP address: 192.168.250.3)

Area 1

 

EtherNet/IP

 

 

 

 

 

 

W0

#1

W0

W0

#1

50 words

#1

 

 

 

 

 

W50

#2

#2

 

#2

50 words

 

W100

#3

#3

 

#3

50 words

 

 

 

 

Area 2

 

D50

D50

 

D50

#1

#1

100 words

#1

 

D150

#2

#2

 

#2

100 words

 

D250

#3

#3

 

#3

100 words

 

 

 

 

 

1,2,3... 1. Start the Network Configurator, select the applicable EtherNet/IP Unit in the Tree View on the left, and then paste it into the Device Configuration Pane on the right.

Note If an EtherNet/IP system has already been installed, you can create a similar device configuration by connecting to the EtherNet/IP network and selecting

Network Uploadfrom the menus.

Refer to 6-2-9 Connecting the Network Configurator to the Network for information on connecting.

2.Select Network EtherNet/IP Datalink Tool from the menus to start the EtherNet/IP Datalink Tool.

58

Tag Data Link Parameters

Section 3-9

3.Select Datalink Wizard from the menus in the Datalink Tool when it has started.

4.In the Datalink Wizard Dialog Box, enter 50 words starting from memory address W000 for area 1 and 100 words starting from D00050 for area 2, and then press the OK Button.

5.The data link settings will be automatically created in the window of the EtherNet/IP Datalink Tool. Select File Save to end. The settings will be saved in the Network Configurator.

59

Tag Data Link Parameters

Section 3-9

6.In the Device Configuration Window of the Network Configurator, a mark will be added to each EtherNet/IP Unit to show that data links have been set.

7.Connect the Network Configurator to the EtherNet/IP network and select Network Download from the menus. The data link settings will be downloaded to the EtherNet/IP Units, and the data links will operate.

60

Other Parameters

Section 3-10

3-10Other Parameters

In addition to the tag data link parameters, the EtherNet/IP Unit and built-inEtherNet/IP port also have the following communications and operation parameters.

FINS/UDP

FINS/TCP

FTP

Auto Adjust Time

Status Area

SNMP

SNMP Trap

These parameters are set as Unit Setup from the CX-Programmer.The parameter settings are saved in flash memory in the EtherNet/IP Unit or CPU Unit. (See note.)

Note The CPU Bus Unit Setup Area is not used for tag data link settings for an EtherNet/IP Unit orbuilt-inEtherNet/IP port. This point is different from the operation of Ethernet Units.

Using FINS/UDP

Tab Page in Edit

Setting

 

Function

Parameters Dialog Box

 

 

 

 

 

 

FINS/UDP

FINS/UDP Port

Specifies the local UDP port number to use in the FINS communi-

 

 

cations service. The UDP uses the UDP port number to distinguish

 

 

the application layer (FINS communications service in this case).

 

 

Default value (9,600)

 

 

User-setvalue (1 to 65,535)

 

 

 

 

Conversion

Selects one of the following methods to convert from the FINS

 

 

node address to an IP address (FINS/UDP only).

 

 

• Automatic generation (dynamic setting)

 

 

• Automatic generation (static setting)

 

 

IP address table

 

 

Combined method

 

 

 

 

IP Address Table

Sets the IP address table that defines the relationship between

 

 

FINS node addresses and IP addresses.

 

 

This table is effective only when FINS/UDP is being used and the

 

 

IP address conversion method is set to the IP address table.

 

 

 

 

Dynamic change the tar-

Selects dynamic change of other FINS/UDP nodes’ IP addresses.

 

get IP addresses

To disable dynamic changes, deselect this option by removing the

 

 

check mark.

 

 

 

 

When necessary, set the routing tables using the CX-Integrator.

61

Other Parameters

 

Section 3-10

Using FINS/TCP

 

 

 

 

 

Tab Page in Edit

Setting

Function

Parameters Dialog Box

 

 

FINS/TCP

FINS/TCP Port

Specifies the local TCP port number to use in the FINS communi-

 

 

cations service. The TCP uses the TCP port number to distinguish

 

 

the application layer (FINS communications service in this case).

 

 

• Default value (9,600)

 

 

User-setvalue (1 to 65,535)

 

 

 

 

FINS/TCP Connection

This is the network API used when TCP is used for the FINS com-

 

Setup

munications service. Up to 16 APIs can be used at a time, and they

 

 

are identified by connection numbers 1 to 16.

 

 

The EtherNet/IP Unit or built-inEtherNet/IP port can thus simulta-

 

 

neously execute the FINS communications service by TCP with up

 

 

to 16 remote nodes.

 

 

 

 

Protection Setting

Select this check box to refuse connection requests from any IP

 

 

address not set as the target IP address when the server/client

 

 

setting is set to a server and the target IP address is set to any

 

 

value other than 0.0.0.0.

 

 

This check box can be selected to prevent inappropriate opera-

 

 

tions on the PLC for FINS commands from specific nodes.

 

 

 

 

When necessary, set the routing tables using the CX-Integrator.

Using FTP

 

 

 

 

 

Tab Page in Edit

Setting

Function

Parameters Dialog Box

 

 

 

 

 

FTP

Not Use FTP or

Specifies whether to use FTP. FTP connections from external

 

Use FTP

devices will not be possible if Not Use FTP is specified.

 

 

 

 

 

 

Login

Sets the login name for FTP connections to the EtherNet/IP Unit

 

 

or built-inEtherNet/IP port from external devices

 

 

 

 

Password

Sets the password for FTP connections to the EtherNet/IP Unit or

 

 

built-inEtherNet/IP port from external devices.

 

 

 

 

Port No.

Sets the FTP port number of the EtherNet/IP Unit or built-in

 

 

EtherNet/IP port.

 

 

It is normally not necessary to change this setting.

 

 

Two ports are used with the FTP: a control port and a data transfer

 

 

port. Only the control port can be set. The data transfer port num-

 

 

ber will be one larger than the control port number.

62

Other Parameters

 

 

Section 3-10

Using the Automatic Time Adjustment

 

 

 

 

 

Tab Page in Edit

Setting

 

Function

Parameters Dialog Box

 

 

 

Auto Adjust Time

Not get the time informa-

 

Specifies whether to set the clock in the CPU Unit to the time on

 

tion from the SNTP

 

the SNTP server.

 

server or

 

The time can be set only in CPU Units with an EtherNet/IP Unit or

 

 

 

 

Get the time information

 

a built-inEtherNet/IP port.

 

from the SNTP server

 

 

 

 

 

 

 

Auto Adjust time

 

Sets the time to access the SNTP server to automatically adjust

 

 

 

the CPU Unit clock.

 

 

 

When the specified time arrives, the SNTP server will be accessed

 

 

 

and the clock in the CPU Unit will be set to the time on the SNTP

 

 

 

server.

 

 

 

 

 

Server Specification Type

 

Specifies whether to use an IP address or a domain name (i.e.,

 

 

 

host name) to specify the SNTP server to use for automatic time

 

 

 

adjustment.

 

 

 

 

 

IP Address

 

Sets the IP address of the SNTP server to use for automatic time

 

 

 

adjustment.

 

 

 

This IP address is valid only when the Server Specification Type is

 

 

 

set to an IP address.

 

 

 

 

 

Host Name

 

Sets the host name of the SNTP server to use for automatic time

 

 

 

adjustment.

 

 

 

This IP address is valid only when the Server Specification Type is

 

 

 

set to a host name.

 

 

 

 

 

Port No.

 

Sets the port number to use to connect to the SNTP server for

 

 

 

automatic time adjustment. It is normally not necessary to change

 

 

 

this setting.

 

 

 

 

 

Retry Timer

 

Sets the time to wait before retrying the connection when connect-

 

 

 

ing to the SNTP server fails.

 

 

 

It is normally not necessary to change this setting.

 

 

 

 

 

Adjust Time

 

Sets the time to offset the clock in the CPU Unit when setting the

 

 

 

clock in the CPU Unit to the time obtained from the SNTP server.

 

 

 

To use the time from the SNTP server as is, enter 0 for the Adjust

 

 

 

Time.

 

 

 

 

Using the Status Area

 

 

 

 

Tab Page in Edit

Setting

 

Function

Parameters Dialog Box

 

 

 

 

 

 

 

Status Area

Layout Type

 

Specifies whether to use the default setting or a custom setting for

 

 

 

the words allocated to the status area.

 

 

 

 

 

Allocation Area

 

Sets the first word in the status area when the Layout Type is set

 

 

 

for a customer setting.

 

 

 

With CS1/CJ1 CPU Units, only an I/O memory address can be set.

 

 

 

With CJ2 or NE1S CPU Units, either an I/O memory address or a

 

 

 

symbol defined in the CPU Unit can be set.

 

 

 

 

63

Other Parameters

 

Section 3-10

Using SNMP

 

 

 

 

 

Tab Page in Edit

Setting

Function

Parameters Dialog Box

 

 

SNMP

Not use SNMP service or

Specifies whether to use the SNMP.

 

Use SNMP service

If not using the SNMP service is specified, an SNMP manager will

 

 

not be able to connected from an external device.

 

 

 

 

SNMP Port

Sets the port number to use when connecting from an SNMP man-

 

 

ager.

 

 

It is normally not necessary to change this setting.

 

 

 

 

SNMP Contact Informa-

Specifies the contact information as text.

 

tion

This information can be read from the SNMP manager.

 

 

 

 

 

 

SNMP Location Informa-

Specifies the location information as text.

 

tion

This information can be read from the SNMP manager.

 

 

 

 

 

 

Authentication Check 1/2

Specifies the SNMP managers that can access the PLC.

 

 

To restrict access to only specific SNMP managers, specify the

 

 

SNMP managers using IP addresses or host names. Community

 

 

names can also be specified (e.g., public).

 

 

Ether one or two settings can be made.

 

 

 

Using SNMP Trap

 

 

 

 

 

Tab Page in Edit

Setting

Function

Parameters Dialog Box

 

 

 

 

 

SNMP Trap

Not use SNMP Trap ser-

Specifies whether to use the SNMP trap.

 

vice or

If not using the SNMP trap service is specified, SNMP traps cannot

 

Use SNMP Trap service

 

be sent to the SNMP manager.

 

 

 

 

SNMP Trap Port

Sets the port number to use to connect to the SNMP manager.

 

 

It is normally not necessary to change this setting.

 

 

 

 

Trap 1/2

Sets the SNMP manager destinations for SNMP traps.

 

 

The SNMP managers can be specified using IP addresses or host

 

 

names. Community names can also be specified (e.g., public).

 

 

Either one or two trap destinations can be set.

 

 

 

64

Communications Test

Section 3-11

3-11Communications Test

If the basic settings (in particular the IP address and subnet mask) have been made correctly for the EtherNet/IP Unit or built-inEtherNet/IP port, then it should be possible to communicate with nodes on the EtherNet/IP network. This section describes how to use the PING command to test communications with the EtherNet/IP Unit orbuilt-inEtherNet/IP port.

3-11-1PING Command

The PING command sends an echo request packet to a remote node and receives an echo response packet to confirm that the remote node is communicating correctly. The PING command uses the ICMP echo request and responses. The echo response packet is automatically returned in the ICMP. The PING command is normally used to check the connections of remote nodes when configuring a network. The EtherNet/IP Unit or built-inEtherNet/ IP port supports both the ICMP echo request and reply functions.

If the remote node returns a normal response to the PING command, then the nodes are physically connected correctly and Ethernet node settings are correct.

EtherNet/IP Unit

Remote Node

 

(host computer or EtherNet/IP Unit)

TCP

UDP

ICMP

IP

 

Ethernet

Echo request

 

Echo response

 

3-11-2EtherNet/IP Unit orBuilt-inEtherNet/IP Port Operation

The EtherNet/IP Unit or built-inEtherNet/IP port automatically returns the echo response packet in response to an echo request packet sent by another node (host computer, or other EtherNet/IP Unit orbuilt-inEtherNet/IP port). An echo request packet can be sent to another node by issuing the FINS command to execute the PING command from the PLC.

3-11-3Host Computer Operation

The PING command can be executed from the host computer to send an echo request packet to an EtherNet/IP Unit or built-inEtherNet/IP port. The following example shows how to use the PING command in the host computer.

Command Method

Input the following command at the host computer’s prompt ($):

$ ping IP_address(host_name)

The destination is specified by its IP address or host name. If the host name is used, the host name must be defined in the /etc/hosts file.

Note The PING command is not supported by some host computers.

65

Communications Test

Section 3-11

Application Example

In this example, a PING command is sent to the node at IP address 130.25.36.8. The “$” in the example represents the host computer prompt.

Normal Execution

$ ping

130.25.36.8

 

 

← Executes the PING command.

PING

130.25.36.8: 56

data bytes

 

 

64

bytes

from

130.25.36.8:

icmp_seq=0.

time=0. ms

64

bytes

from

130.25.36.8:

icmp_seq=0.

time=0. ms

 

 

 

:

:

 

:

:

:

64

bytes

from

130.25.36.8:

icmp_seq=0.

time=0. ms

 

 

 

 

 

 

 

← Press the Ctrl+C Keys to cancel execution.

----130.25.36.8

PING

Statistics ----

 

9 packets

transmitted,

9 packets

received,

0% packets loss

round-trip(ms)

min/avg/max

= 0/1/16

 

$

 

 

 

 

 

 

 

 

Error Occurred

$ png

130.25.36.8

← Executes the PING command.

PING

130.25.36.8: 56

data bytes

 

 

← Press the Ctrl+C Keys to cancel execution.

----130.25.36.8 PING

Statistics ----

9 packets transmitted,

9 packets received, 0% packets loss

$

 

 

Refer to the OS command reference manual for your computer for details on using the PING command.

66

SECTION 4

Memory Allocations

This section describes the words allocated in the CIO Area and the DM Area for EtherNet/IP Units or built-inEtherNet/IP ports.

4-1 Overview of Memory Allocated to the EtherNet/IP Unit . . . . . . . . . . . . . . . .

68

4-2

CIO Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

70

 

4-2-1 Overview of the Allocated CIO Area Words . . . . . . . . . . . . . . . . . .

70

 

4-2-2 Details of the Allocated CIO Area Words . . . . . . . . . . . . . . . . . . . .

71

4-3

DM Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

83

 

4-3-1 Overview of the Allocated DM Area Words . . . . . . . . . . . . . . . . . .

83

 

4-3-2 Details of the Allocated DM Area Words. . . . . . . . . . . . . . . . . . . . .

83

4-4

User Settings Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

85

 

4-4-1

Overview of the User Settings Area . . . . . . . . . . . . . . . . . . . . . . . . .

85

 

4-4-2

User Settings Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

85

4-5

Auxiliary Area Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

88

 

4-5-1

Read-only Bits/Words. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

88

 

4-5-2

Read/Write Bits (User Settings) . . . . . . . . . . . . . . . . . . . . . . . . . . . .

89

67

Overview of Memory Allocated to the EtherNet/IP Unit

Section 4-1

4-1Overview of Memory Allocated to the EtherNet/IP Unit

The following CPU Unit words are allocated to the EtherNet/IP Unit or built-in

EtherNet/IP port.

CPU Unit’s allocated CIO Area words

Contains software switch and status information.

CPU Unit’s allocated DM Area words Contains the IP Address Display/Setting Area

CPU Unit’s user settings area

Contains status information. (This area can be used only when the allocated CIO Area words are set to user settings.)

Note The EtherNet/IP Unit orbuilt-inEtherNet/IP port has the following two data areas in itsnon-volatilememory. (Unlike the Ethernet Units, settings are not stored in the CPU Unit’s CPU Bus Unit System Setup Area.)

Unit Setup: Settings such as the IP address and FINS/UDP settings. The Unit Setup is set from the CX-Programmer.

Device parameter settings: Settings such as the tag data link setting parameters. The device parameter settings are made from the Network Configurator.

68

Overview of Memory Allocated to the EtherNet/IP Unit

 

 

Section 4-1

 

 

CPU Unit

 

 

 

 

EtherNet/IP Unit

 

 

 

 

 

 

 

 

 

 

 

● Allocated CIO Area words

 

 

 

 

 

 

 

 

(Allocated to the Unit as a CPU Bus Unit.)

 

 

 

 

Local memory

 

CIO 1500

 

 

 

Flags and control bits

 

 

 

 

 

 

 

 

 

 

Unit number 0

CIO 1501

 

25 words

 

 

 

 

 

25 words

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CIO 1524

 

 

 

Target node PLC's operating

 

 

 

 

 

 

 

and error information, Unit

 

 

 

 

CIO 1525

 

 

 

status, communications

 

 

 

Unit number 1

 

 

 

 

status, registered/normal

 

 

 

 

 

25 words

 

target node, and FINS/TCP

 

 

 

 

CIO 1549

 

 

 

connection status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unit number 15

CIO 1875

 

25 words

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CIO 1899

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

● User Settings Area

 

 

 

 

Local memory

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Set in Network Configurator. →

 

64 words

 

 

 

 

 

64 words

 

 

 

 

 

 

 

 

 

 

 

 

Target node PLC's operating

 

 

 

 

 

 

and error information, and

 

 

 

 

 

 

 

 

registered/normal target

 

 

 

 

 

 

 

 

node

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Allocated DM Area words

(Allocated to the Unit as a CPU Bus Unit.)

Local memory

D30000

Unit number 0

100 words

100 words

D30098

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D30099

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D30100

 

 

 

 

IP Address Display/Setting Area

 

 

 

 

Unit number 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

100 words

 

 

 

 

 

 

 

 

 

 

 

 

 

Non-volatilememory in the EtherNet/IP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unit settings

 

 

 

D30199

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Settings such as the IP address of the

 

D31500

 

 

 

 

 

 

 

 

 

 

 

 

EtherNet/IP Unit and FINS/UDP settings.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Refer to 3-8TCP/IP and Link Settings

 

Unit number 15

 

100 words

 

 

 

 

 

and 3-10Other Parametersfor details.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D31599

 

 

 

 

 

 

 

 

 

 

 

 

Device parameter settings (tag data link

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

settings)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Refer to Section 6 Tag Data Linksfor

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

details.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Network Configurator

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

69

CIO Area Allocations

Section 4-2

4-2CIO Area Allocations

4-2-1Overview of the Allocated CIO Area Words

The various kinds of data are stored in the allocated CIO Area words, which are identified by the offset from the beginning word (n) allocated to each Unit.

There are two patterns for the layout of the allocated CIO Area words: the default settings and user settings. The layout can be selected in the Status Area settings in the Edit Parameters Dialog Box from the CX-Programmer.

To set a customer areas, select User defined for the Layout Type on the Status Area Tab Page.

The beginning word n is calculated by the following equation:

Beginning word n = CIO 1500 + (25 × unit number)

Default Settings

Offset

 

 

Bit

 

 

 

 

 

15

8 7

0

Data direction

0

n

Unit control bits

 

CPU Unit → EtherNet/IP Unit

 

 

 

 

 

EtherNet/IP Unit → CPU Unit

1

n+1

(Reserved)

 

 

 

 

 

 

EtherNet/IP Unit → CPU Unit

2

n+2

Target Node PLC Operating Information

 

3

n+3

(4 words only)

 

 

4n+4

5n+5

6

n+6

Target Node PLC Error Information

EtherNet/IP Unit → CPU Unit

7

n+7

(4 words only)

 

8n+8

9n+9

10

n+10

Unit status 1

EtherNet/IP Unit → CPU Unit

11

n+11

Unit status 2

 

 

 

 

EtherNet/IP Unit → CPU Unit

12

n+12

Communications status 1

13

n+13

Communications status 2

 

14

n+14

Communications status 3

 

 

 

 

EtherNet/IP Unit → CPU Unit

15

n+15

(Reserved)

 

 

 

EtherNet/IP Unit → CPU Unit

16

n+16

Registered Target Node

17

n+17

(4 words only)

 

18n+18

19n+19

20

n+20

Normal Target Node

EtherNet/IP Unit → CPU Unit

 

 

 

 

21

n+21

(4 words only)

 

22

n+22

 

 

23

n+23

 

 

24

 

 

EtherNet/IP Unit → CPU Unit

n+24

FINS/TCP Connection Status

Note The reserved words are regularly refreshed with all zeroes.

70

 

CIO Area Allocations

 

 

Section 4-2

User Settings

 

 

 

 

 

Offset

 

 

 

 

 

 

Bit

 

 

 

 

 

 

15

8 7

0

Data direction

0

n

 

Unit control bits

 

CPU Unit → EtherNet/IP Unit

1

n+1

(Reserved)

 

EtherNet/IP Unit → CPU Unit

2n+2

3n+3

4n+4

5n+5

6n+6

7n+7

8n+8

9n+9

10

n+10

Unit status 1

EtherNet/IP Unit → CPU Unit

11

n+11

Unit status 2

 

 

 

 

EtherNet/IP Unit → CPU Unit

12

n+12

Communications status 1

13

n+13

Communications status 2

 

14

n+14

Communications status 3

 

 

 

 

EtherNet/IP Unit → CPU Unit

15

n+15

(Reserved)

16

n+16

 

 

17

n+17

 

 

18

n+18

 

 

19

n+19

 

 

20

n+20

 

 

21

n+21

 

 

22

n+22

 

 

23

n+23

 

 

24

 

 

EtherNet/IP Unit → CPU Unit

n+24

FINS/TCP Connection Status

Note The reserved words are regularly refreshed with all zeroes.

The functions of the allocated CIO Area words are described in the following section.

4-2-2Details of the Allocated CIO Area Words

Unit Control Bits (CPU Unit to EtherNet/IP Unit) (n)

15

14

13

12

11

10

9

8

 

7

 

6

 

5

4

3

 

2

1

 

0

 

 

n

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag Data Link Start Bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag Data Link Stop Bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Adjust Clock Bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

Switch

Status

Manipulated

Unit operation

 

 

 

by

 

0 to 1

(Not used.)

---

---

---

 

 

 

 

 

2

Tag Data Link Start

ON

User

The tag data link starts when this bit

 

Bit

 

 

is switched from OFF to ON.

 

 

 

 

 

 

 

OFF

Unit

Turned OFF by Unit after the tag

 

 

 

 

data link starts operating.

 

 

 

 

 

71

CIO Area Allocations

 

 

 

Section 4-2

 

 

 

 

 

 

 

Bit

Switch

Status

Manipulated

Unit operation

 

 

 

 

by

 

 

3

(Not used.)

---

---

---

 

 

 

 

 

 

 

4

Tag Data Link Stop

ON

User

The tag data link stops when this bit

 

 

Bit

 

 

is switched from OFF to ON.

 

 

 

 

 

 

 

 

 

OFF

Unit

Turned OFF by Unit after the tag

 

 

 

 

 

data link stops operating.

 

 

 

 

 

 

 

5

Adjust Clock Bit

ON

User

The clock time is automatically

 

 

 

 

 

adjusted when this bit is switched

 

 

 

 

 

from OFF to ON.

 

 

 

 

 

 

 

 

 

OFF

Unit

Turned OFF by Unit after the clock

 

 

 

 

 

time has been adjusted.

 

 

 

 

 

 

 

6 to 15

(Not used.)

---

---

---

 

 

 

 

 

 

Tag Data Link Start Bit (Bit 2)

Tag Data Link Stop Bit (Bit 4)

Adjust Clock Bit (Bit 5)

Target Node PLC Operating Information (EtherNet/IP Unit to CPU Unit) (n + 2 to n + 5)

Start the tag data links by switching this bit from OFF to ON. If the tag data links are already operating, the signal will be ignored. The tag data link starts operating automatically after the tag data link parameter settings are downloaded from the Network Configurator, the CPU Unit’s power is turned ON, or the Unit is restarted.

If the tag data links have been stopped by turning the Tag Data Link Stop Bit (n bit 04) from OFF to ON, the tag data links can be restarted by turning this Tag Data Link Start Bit (n bit 02) from OFF to ON.

Once the tag data links start, the EtherNet/IP Unit automatically turns OFF the Tag Data Link Start Bit. Do not force this bit ON or OFF until it is automatically turned OFF by the Unit.

Stop the tag data links by switching this bit from OFF to ON. Once the tag data links have been stopped, they will remain stopped until the Unit is restarted or the Tag Data Link Start Bit is turned ON. (The tag data links will also start operating automatically when the tag data link parameter settings are downloaded from the Network Configurator.)

If the tag data links are already stopped, the signal will be ignored.

Message communications can be performed while the tag data links are stopped.

Once the tag data links have stopped, the EtherNet/IP Unit automatically turns OFF the Tag Data Link Stop Bit. Do not force this bit ON or OFF until it is automatically turned OFF by the Unit.

Automatically adjust the time on the clock by switching this bit from OFF to ON. The SNTP server used to adjust the time is set in the Unit Setup.

Once the clock time has been adjusted, the EtherNet/IP Unit automatically turns OFF the Adjust Clock Bit. Do not force this bit ON or OFF until it is automatically turned OFF by the Unit.

These words show the operating status of the target node PLCs that are connected with the EtherNet/IP Unit as the originator. This status information is enabled when the PLC status is included in the communications data in both the originator and target node.

These words show the status of nodes 0 to 63 only. If it is necessary to show the status of nodes higher than node 63, select “user settings” as the layout pattern. For details, refer to 4-4 User Settings Area.

The flags are valid only when the corresponding Normal Target Node Flag is ON. If the corresponding Normal Target Node Flag is OFF, the Target Node PLC Operating Flag indicates the previous operating status.

72

CIO Area Allocations

Section 4-2

Target Node PLC Error Information (EtherNet/IP Unit to CPU Unit) (n + 6 to n + 9)

Unit Status 1 (EtherNet/IP Unit to CPU Unit) (n + 10)

n+10

 

15

14

13

12

11

10

9

8

7

 

6

5

4

 

3

2

1

0

 

n+2

15

14

13

12

11

10

9

8

7

 

6

5

 

4

 

3

2

1

0

 

n+3

31

30

29

28

27

26

25

24

23

 

22

21

 

20

 

19

18

17

16

 

n+4

47

46

45

44

43

42

41

40

39

 

38

37

 

36

 

35

34

33

32

 

n+5

63

62

61

60

59

58

57

56

55

 

54

53

 

52

 

51

50

49

48

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

Name

 

 

 

Status

 

Manipulated

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---

Target Node PLC Operat-

ON

 

 

Unit

 

 

 

 

The corresponding PLC

 

ing Flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

is operating. (The pro-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

gram is being executed.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

 

The PLC is not operating.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

These words show the error status (logical OR of fatal and non-fatalerrors) of the target node PLCs that are connected with the EtherNet/IP Unit as the originator. This status information is enabled when the PLC status is included in the communications data in both the originator and target node.

These words show the error status of nodes 0 to 63 only. If it is necessary to show the error status of nodes higher than node 63, select “user settings” as the layout pattern. For details, refer to 4-4 User Settings Area.

The flags are valid only when the corresponding Normal Target Node Flag is ON. If the corresponding Normal Target Node Flag is OFF, the Target Node PLC Error Flag indicates the previous error status.

 

15

14

13

12

11

10

9

8

7

 

6

 

5

 

4

3

2

1

0

 

n+6

 

15

14

13

 

12

11

10

9

8

7

 

6

 

5

 

 

4

3

2

1

0

 

n+7

 

31

30

29

 

28

27

26

25

24

23

 

22

 

21

 

20

19

18

17

16

 

n+8

 

47

46

45

 

44

43

42

41

40

39

 

38

 

37

 

36

35

34

33

32

 

n+9

 

63

62

61

 

60

59

58

57

56

55

 

54

 

53

 

52

51

50

49

48

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

Name

 

 

 

Status

 

 

 

Manipulated

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---

 

Target Node PLC Error

 

ON

 

 

 

 

Unit

 

 

 

 

A fatal or non-fatalerror

 

 

Flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

occurred in the corre-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

sponding PLC.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

 

Unit

 

 

 

 

No error occurred in the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PLC.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unit Error Occurred

Network Error Occurred

Unit Memory Error

Communications Controller Error

IP Address Duplication Error

Link OFF Error

Status Area Layout Setting Error

73

CIO Area Allocations

 

 

 

Section 4-2

 

 

 

 

 

 

 

Bit

Name

Status

Manipulated

Unit operation

 

 

 

 

by

 

 

0

Unit Error Occurred

ON

Unit

Indicates that an error

 

 

 

 

 

occurred that is related to

 

 

 

 

 

EtherNet/IP Unit operation.

 

 

 

 

 

This flag is turned ON when

 

 

 

 

 

any bit in Unit Status 1 is

 

 

 

 

 

ON. (Bits 1 to 15 are logi-

 

 

 

 

 

cally ORed.)

 

 

 

 

 

 

 

 

 

OFF

Unit

Indicates that a Unit error

 

 

 

 

 

did not occur. This flag is

 

 

 

 

 

turned OFF when the error

 

 

 

 

 

is cleared.

 

 

 

 

 

 

 

1

Network Error

ON

Unit

One or more network-

 

 

Occurred

 

 

related errors occurred.

 

 

 

 

 

(The bits in Communica-

 

 

 

 

 

tions Status 1 and 3 are log-

 

 

 

 

 

ically ORed.)

 

 

 

 

 

 

 

 

 

OFF

Unit

Indicates that a network

 

 

 

 

 

error did not occur. This flag

 

 

 

 

 

is turned OFF when the

 

 

 

 

 

error is cleared.

 

 

 

 

 

 

 

2 to 3

(Not used)

---

---

---

 

 

 

 

 

 

 

4

Unit Memory Error

ON

Unit

Indicates that an error

 

 

 

 

 

occurred in accessing the

 

 

 

 

 

Unit’s internal non-volatile

 

 

 

 

 

memory (device error).

 

 

 

 

 

 

 

 

 

OFF

Unit

Indicates that a non-volatile

 

 

 

 

 

memory error did not occur.

 

 

 

 

 

This flag is not cleared even

 

 

 

 

 

if it occurs one time. (Flag

 

 

 

 

 

remains ON.)

 

 

 

 

 

 

 

5

Communications

ON

Unit

Indicates that an error

 

 

Controller Error

 

 

occurred in the communica-

 

 

 

 

 

tions controller.

 

 

 

 

 

 

 

 

 

OFF

Unit

Indicates that a communica-

 

 

 

 

 

tions controller error did not

 

 

 

 

 

occur. This flag remains ON

 

 

 

 

 

until the power supply is

 

 

 

 

 

turned OFF and ON again.

 

 

 

 

 

 

 

6

IP Address Duplica-

ON

Unit

An ARP was sent with the

 

 

tion Error

 

 

specified IP address, indi-

 

 

 

 

 

cating that an IP address

 

 

 

 

 

duplication was detected.

 

 

 

 

 

An address duplication is

 

 

 

 

 

detected if there is an ARP

 

 

 

 

 

response. This flag remains

 

 

 

 

 

ON until the power supply is

 

 

 

 

 

turned OFF and ON again.

 

 

 

 

 

(The Ethernet interface will

 

 

 

 

 

stop.)

 

 

 

 

 

 

 

 

 

OFF

Unit

There was no ARP

 

 

 

 

 

response.

 

 

 

 

 

 

 

7 to 8

(Not used)

---

---

---

 

 

 

 

 

 

 

9

Link OFF Error

ON

Unit

There was an error estab-

 

 

 

 

 

lishing a link with the switch-

 

 

 

 

 

ing hub.

 

 

 

 

 

 

 

 

 

OFF

Unit

A link was established nor-

 

 

 

 

 

mally with the switching hub.

 

 

 

 

 

 

74