Size:
19.68 Mb
Download

CIO Area Allocations

Section 4-2

Unit Status 2 (EtherNet/IP Unit to CPU Unit) (n + 11)

 

 

Bit

 

 

 

 

 

 

 

Name

 

 

 

 

 

 

 

Status

 

 

Manipulated

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10 to

 

(Not used)

 

 

 

 

 

 

 

 

 

 

---

 

 

 

 

 

 

---

 

 

 

 

 

 

 

---

 

13

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14

 

 

Status Area Layout

 

 

ON

 

 

 

 

Unit

 

 

 

 

 

Indicates that there was an

 

 

 

 

 

Setting Error

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

error in the allocated CIO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Area’s layout settings. When

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

this error occurs, the allo-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cated CIO Area layout is set

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

to the default pattern.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In the following cases, how-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ever, the allocated CIO Area

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

layout is set to the user-set

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pattern. In this case, the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

user-setarea will not be

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

refreshed.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• A non-existentarea has

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

been specified.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

 

 

 

Unit

 

 

 

 

 

There was not an error in

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the layout settings.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

(Not used)

 

 

 

 

 

 

 

 

 

 

---

 

 

 

 

 

 

---

 

 

 

 

 

 

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

14

13

12

11

 

10

 

9

 

8

 

7

6

 

 

 

5

 

4

 

 

3

 

2

1

 

0

 

 

n+11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Online

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag Data Link Operating

 

 

 

 

 

 

 

 

 

 

 

 

 

User Settings Area Enabled

 

 

 

 

 

 

Operating IP Address Change

 

 

 

 

 

 

 

 

 

 

 

 

 

Multiple Switches ON Error

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Error Log Stored

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

 

 

 

Name

 

 

 

 

 

 

Status

 

 

Manipulated

 

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

0

 

 

 

Online

 

 

 

 

 

 

 

 

 

 

ON

 

 

Unit

 

 

 

 

 

 

Indicates that the Unit is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

online. (The EtherNet/IP Unit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

can perform communications

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

processing.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

 

Unit

 

 

 

 

 

 

Indicates that the Unit is not

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

online. This bit is turned OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

in the following cases.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• IP Address Duplication Error

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• Ethernet Communications

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Controller Error (hardware

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

error)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• BOOTP Server Error

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

75

CIO Area Allocations

 

 

 

Section 4-2

 

 

 

 

 

 

 

Bit

Name

Status

Manipulated

Unit operation

 

 

 

 

by

 

 

1

Tag Data Link

ON

Unit

Indicates that the tag data link

 

 

Operating

 

 

is operating. Turned OFF

 

 

 

 

 

when communications stop in

 

 

 

 

 

the following cases.

 

 

 

 

 

• Hardware error

 

 

 

 

 

• IP Address Duplication Error

 

 

 

 

 

• BOOTP Server Error

 

 

 

 

 

• Basic Ethernet Settings

 

 

 

 

 

Error

 

 

 

 

 

• Memory Error (MAC

 

 

 

 

 

Address Error)

 

 

 

 

 

 

 

 

 

OFF

Unit

Indicates that the tag data link

 

 

 

 

 

is stopped. Turned ON in the

 

 

 

 

 

following cases.

 

 

 

 

 

• The Unit is set as the origi-

 

 

 

 

 

nator and the power supply

 

 

 

 

 

was turned ON or the Unit

 

 

 

 

 

was restarted.

 

 

 

 

 

• The Unit is set as the origi-

 

 

 

 

 

nator and the Tag Data Link

 

 

 

 

 

Start Bit was turned ON.

 

 

 

 

 

 

 

2

Operating IP

ON

Unit

ON if the node address set-

 

 

Address Change

 

 

ting is different from the set-

 

 

 

 

 

ting when the power was

 

 

 

 

 

turned ON.

 

 

 

 

 

 

 

 

 

OFF

Unit

OFF if the node address set-

 

 

 

 

 

ting is the same as the setting

 

 

 

 

 

when the power was turned

 

 

 

 

 

ON.

 

 

 

 

 

 

 

3 to 10

(Not used)

---

---

---

 

 

 

 

 

 

 

11

User Setting Area

ON

Unit

Indicates that the user set-

 

 

Enabled

 

 

tings area data is enabled.

 

 

 

 

 

ON when “user settings” have

 

 

 

 

 

been specified as the layout of

 

 

 

 

 

the allocated CIO Area, and

 

 

 

 

 

refreshing of the user settings

 

 

 

 

 

area has started.

 

 

 

 

 

 

 

 

 

OFF

Unit

Indicates that the user set-

 

 

 

 

 

tings area data is invalid.

 

 

 

 

 

The bit is turned OFF in the

 

 

 

 

 

following cases, because

 

 

 

 

 

communications stop.

 

 

 

 

 

• The allocated CIO Area lay-

 

 

 

 

 

out is set to default settings.

 

 

 

 

 

• The allocated CIO Area lay-

 

 

 

 

 

out is set to user settings,

 

 

 

 

 

but one of the following prob-

 

 

 

 

 

lems occurred.

 

 

 

 

 

• A Layout Setting Error

 

 

 

 

 

occurred.

 

 

 

 

 

 

 

12 to

(Not used)

---

---

---

 

13

 

 

 

 

 

 

 

 

 

 

 

14

Multiple Switches

ON

Unit

ON when two or more control

 

 

ON Error

 

 

bits are ON simultaneously.

 

 

 

 

 

(Unused bits are ignored.)

 

 

 

 

 

 

 

 

 

OFF

Unit

Turned OFF when the next

 

 

 

 

 

control bit operation starts.

 

 

 

 

 

 

76

CIO Area Allocations

Section 4-2

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

Bit

Name

Status

Manipulated

Unit operation

 

 

 

by

 

 

 

 

 

 

15

Error Log Stored

ON

Unit

Indicates that an error record

 

 

 

 

is registered in the error log.

 

 

 

 

 

 

 

OFF

Unit

Indicates that no error records

 

 

 

 

are registered in the error log.

 

 

 

 

Also turned OFF when an

 

 

 

 

error log clear request is

 

 

 

 

received.

 

 

 

 

 

Word n+12 contains status flags related to the tag data links, as shown in the following diagram.

15

14

 

13

12

11

10

 

9

 

8

 

7

 

6

 

5

 

4

3

 

 

2

 

1

 

0

 

 

 

n+12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Verification Error

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag Data Link Error

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Invalid Communications Parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag Refresh Error

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag Database Error

 

 

 

 

 

 

All Tag Data Links Operating

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag Data Links Operating

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

 

 

 

 

 

Name

 

 

 

 

 

 

Status

 

Manipulated

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

Verification Error

 

 

 

ON

 

 

 

Unit

 

 

 

 

 

 

 

Indicates that the information

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

registered for a target node in

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the tag data link parameters is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

different from the actual node

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

information.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Main causes:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• The specified target does not

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

exist.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• The variable name does not

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

match.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• The connection size is differ-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ent.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• Connection resources are

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

insufficient.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

 

 

 

 

Indicates that a verification

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

error has not occurred. Also

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

turned OFF when a verifica-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tion error is cleared.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

(Not used)

 

 

 

 

 

 

 

 

---

 

 

 

 

---

 

 

 

 

 

 

 

 

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

Tag Data Link Error

ON

 

 

 

Unit

 

 

 

 

 

 

 

Indicates that there were two

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

or more errors in a connection

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

as an originator.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This status does not indicate

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the following errors.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• Connection as a target

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• Connection timeout due to a

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Link OFF Error with the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

switching hub

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

 

 

 

 

Indicates that the errors listed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

above did not occur.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

(Not used)

 

 

 

 

 

 

 

 

---

 

 

 

 

---

 

 

 

 

 

 

 

 

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

77

CIO Area Allocations

 

 

 

Section 4-2

 

 

 

 

 

 

 

Bit

Name

Status

Manipulated

Unit operation

 

 

 

 

by

 

 

4

Invalid Communi-

ON

Unit

ON when there was an error

 

 

cations Parameter

 

 

in the validation check of tag

 

 

 

 

 

data link parameters stored in

 

 

 

 

 

the Unit’s non-volatilemem-

 

 

 

 

 

ory, and a checksum error

 

 

 

 

 

occurred. (Includes parame-

 

 

 

 

 

ters related to basic Ethernet

 

 

 

 

 

settings.)

 

 

 

 

 

The tag data links will stop.

 

 

 

 

 

 

 

 

 

OFF

Unit

OFF when the validation

 

 

 

 

 

check of parameters in non-

 

 

 

 

 

volatile memory was normal.

 

 

 

 

 

 

 

5

Tag Refresh Error

ON

Unit

ON when a specified data

 

 

 

 

 

area or address range is not

 

 

 

 

 

supported in tag data links.

 

 

 

 

 

 

 

 

 

OFF

Unit

OFF when the specified data

 

 

 

 

 

areas and addresses are sup-

 

 

 

 

 

ported in tag data links.

 

 

 

 

 

 

 

6

Tag Database

ON

Unit

ON if a tag database error

 

 

Error

 

 

occurs in the CPU Unit when

 

 

 

 

 

a symbol name is used incor-

 

 

 

 

 

rectly in a setting for the Eth-

 

 

 

 

 

erNet/IP Unit or built-in

 

 

 

 

 

EtherNet/IP port (tag data

 

 

 

 

 

link, status area allocations

 

 

 

 

 

setting, etc.). (CJ2H-CPU6@-

 

 

 

 

 

EIP or CJ2M-CPU3@only)

 

 

 

OFF

Unit

OFF when a symbol name is

 

 

 

 

 

not used in a setting for the

 

 

 

 

 

EtherNet/IP Unit or built-in

 

 

 

 

 

EtherNet/IP port, when a tag

 

 

 

 

 

database error has not

 

 

 

 

 

occurred, or when a previous

 

 

 

 

 

error has been cleared.

 

 

 

 

 

 

 

7 to 13

(Not used)

---

---

---

 

 

 

 

 

 

 

14

All Tag Data Links

ON

Unit

Indicates that tag data links

 

 

Operating

 

 

are communicating in all con-

 

 

 

 

 

nections as the originator.

 

 

 

 

 

 

 

 

 

OFF

Unit

Indicates that a tag data link

 

 

 

 

 

failed in on or more connec-

 

 

 

 

 

tions as the originator.

 

 

 

 

 

(OFF even if some tag data

 

 

 

 

 

links are communicating.)

 

 

 

 

 

 

 

15

Tag Data Links

ON

Unit

Indicates that tag data links

 

 

Operating

 

 

are communicating in one or

 

 

 

 

 

more connections as the origi-

 

 

 

 

 

nator.

 

 

 

 

 

 

 

 

 

OFF

Unit

Indicates that not even one

 

 

 

 

 

tag data link is communicating

 

 

 

 

 

in connections as the origina-

 

 

 

 

 

tor.

 

 

 

 

 

(OFF even if the Unit is com-

 

 

 

 

 

municating as a target.)

78

CIO Area Allocations

Section 4-2

Communications Status 2 (EtherNet/IP Unit to CPU Unit) (n + 13)

Communications Status 3 (EtherNet/IP Unit to CPU Unit) (n + 14)

Word n+13 contains status flags related to the Ethernet, as shown in the following diagram.

15

14

13

12

 

11

 

10

9

 

8

 

7

 

 

6

5

 

4

 

 

3

 

2

 

1

 

0

 

n+13

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Link Status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FTP Status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

Name

 

 

 

 

 

Status

 

Manipulated

 

 

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

FTP Status

 

 

 

 

 

ON

 

 

 

 

Unit

 

 

 

 

 

 

 

 

 

ON when the FTP server is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

operating (i.e., when there is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

an FTP client connection).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

 

 

 

 

 

 

OFF when the FTP is on

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

standby (i.e., waiting for a cli-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ent connection).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 to 13

 

(Not used)

 

 

 

 

 

 

 

 

---

 

 

 

 

 

---

 

 

 

 

 

 

 

 

 

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14

 

 

 

 

Link Status

 

 

 

 

 

 

 

 

ON

 

 

 

 

Unit

 

 

 

 

 

 

 

 

 

ON when a link is established

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

with the switching hub.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

 

 

 

 

 

 

OFF when the link with the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

switching hub is stopped.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

(Not used)

 

 

 

 

 

 

 

 

---

 

 

 

 

 

---

 

 

 

 

 

 

 

 

 

 

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Word n+14 contains status flags related to the Ethernet errors, as shown in the following diagram.

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

n+14

Basic Ethernet Settings Error IP Address Table Error

IP Router Table Error

 

 

 

 

 

Routing Table Error

 

 

 

Ethernet Expansion Settings Error

 

 

 

BOOTP Server Error

 

 

 

Address Mismatch

 

 

 

 

 

 

Non-volatileMemory Error

 

 

 

 

 

 

 

 

 

 

Bit

Name

Status

Manipulated

Unit operation

 

 

 

 

by

 

 

0 to 1

(Not used)

---

---

---

 

 

 

 

 

 

 

 

2

Basic Ethernet

ON

Unit

One of the following parame-

 

Settings Error

 

 

 

ters is invalid.

 

 

 

 

 

• TCP/IP Configurationset-

 

 

 

 

 

tings

 

 

 

 

 

(IP address, subnet mask, or

 

 

 

 

 

Link settings)

 

 

 

 

 

 

 

 

 

OFF

Unit

OFF when the parameters

 

 

 

 

 

above are valid.

 

 

 

 

 

 

 

3

IP Address Table

ON

Unit

ON when the IP address table

 

Error

 

 

 

information is incorrect.

 

 

 

 

 

 

 

 

 

OFF

Unit

OFF when the IP address

 

 

 

 

 

table information is correct.

79

CIO Area Allocations

Section 4-2

Registered Target Node Table (EtherNet/IP Unit to CPU Unit) (n + 16 to n + 19)

Bit

Name

Status

Manipulated

Unit operation

 

 

 

by

 

 

 

 

 

 

4

IP Router Table

ON

Unit

ON when the IP router table

 

Error

 

 

information is incorrect.

 

 

 

 

 

 

 

OFF

Unit

OFF when the IP router table

 

 

 

 

information is correct.

 

 

 

 

 

5

(Not used)

---

---

---

 

 

 

 

 

6

Routing Table Error

ON

Unit

ON when the routing table

 

 

 

 

information is incorrect.

 

 

 

 

 

 

 

OFF

Unit

OFF when the routing table

 

 

 

 

information is correct.

 

 

 

 

 

7 to 8

(Not used)

---

---

---

 

 

 

 

 

9

Ethernet Expan-

ON

Unit

One of the following parame-

 

sion Settings Error

 

 

ters is invalid.

 

 

 

 

• FINS settings

 

 

 

 

 

 

 

OFF

Unit

OFF when the parameters

 

 

 

 

above are valid.

 

 

 

 

 

10

BOOTP Server

ON

Unit

One of the following errors

 

Error

 

 

occurred when using the

 

 

 

 

BOOTP server.

 

 

 

 

• The IP address received

 

 

 

 

from the BOOTP server is

 

 

 

 

incorrect.

 

 

 

 

• A communications timeout

 

 

 

 

occurred with the server.

 

 

 

 

 

 

 

OFF

Unit

OFF when the errors listed

 

 

 

 

above did not occur.

 

 

 

 

 

11 to

(Not used)

---

---

---

13

 

 

 

 

 

 

 

 

 

14

Address Mismatch

ON

Unit

ON when the target IP

 

 

 

 

address conversion method is

 

 

 

 

set to Automatic generation,

 

 

 

 

but the local IP address’ host

 

 

 

 

ID does not match the FINS

 

 

 

 

node address.

 

 

 

 

 

 

 

OFF

Unit

OFF when the values match.

 

 

 

 

 

15

Non-volatileMem-

ON

Unit

ON when an error occurred in

 

ory Error

 

 

the Unit’s internal non-volatile

 

 

 

 

memory.

 

 

 

 

 

 

 

OFF

Unit

OFF when the Unit’s internal

 

 

 

 

non-volatilememory is oper-

 

 

 

 

ating normally.

Words n+16 to n+19 show the registration status of the target nodes that are connected with the EtherNet/IP Unit as the originator.

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.

80

CIO Area Allocations

Section 4-2

Normal Target Node Table (EtherNet/IP Unit to CPU Unit) (n+20 to n+23)

FINS/TCP Connection Status

(EtherNet/IP Unit to CPU Unit) (n+24)

 

15

14

13

12

11

 

10

 

9

8

7

6

 

5

4

3

 

2

 

1

0

 

n+16

15

14

13

12

11

 

10

 

9

8

7

6

 

5

 

4

3

 

2

 

 

1

0

 

n+17

31

30

29

28

27

 

26

 

25

24

23

22

 

21

 

20

19

 

18

 

17

16

 

n+18

47

46

45

44

43

 

42

 

41

40

39

38

 

37

 

36

35

 

34

 

33

32

 

n+19

63

62

61

60

59

 

58

 

57

56

55

54

 

53

 

52

51

 

50

 

49

48

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

Name

 

 

 

 

Status

Manipulated

 

 

 

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

---

Registered Target

 

 

ON

 

Unit

 

 

 

 

 

 

 

Indicates that the node’s tag

 

Node Flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

data link is registered.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

 

 

 

 

Indicates that the node’s tag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

data link is not registered.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Words n+20 to n+23 show the connection status of the target nodes that are connected with the EtherNet/IP Unit as the originator. With revision 2 or higher, the flag turns ON after all data for multiple connections for individual target devices is refreshed in the CPU Unit. With revision 1, each flag immediately turns ON when all connections are established.

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.

 

15

14

13

12

11

10

 

9

8

7

6

 

5

4

3

 

2

 

1

 

0

 

n+20

15

14

13

12

11

10

 

9

8

7

6

 

5

 

4

3

 

2

 

 

1

 

0

 

n+21

31

30

29

28

27

26

 

25

24

23

22

 

21

 

20

19

 

18

 

17

 

16

 

n+22

47

46

45

44

43

42

 

41

40

39

38

 

37

 

36

35

 

34

 

33

 

32

 

n+23

63

62

61

60

59

58

 

57

56

55

54

 

53

 

52

51

 

50

 

49

 

48

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

Name

 

 

 

Status

Manipulated

 

 

 

 

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---

Normal Target Node

ON

 

Unit

 

 

 

 

 

 

 

Revision 1: Flags immediately

 

Flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

turn ON when all connections

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

are established.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Revision 2 or higher: Flags turn

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON after all data for multiple

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

connections for the target

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

device is refreshed in the CPU

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unit.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

 

 

 

 

Indicates that the connection is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

not established

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Word n+24 shows the status of FINS/TCP connections. For details, refer to

SECTION 8 FINS Communications.

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

n+24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

Name

Status

Manipulated

Unit operation

 

 

 

by

 

 

 

 

 

 

0

FINS/TCP Connec-

ON

Unit

Turned ON by the Unit when a

 

tion 1

 

 

connection is established.

 

 

 

 

 

 

 

OFF

Unit

Turned OFF by the Unit when

 

 

 

 

the connection is terminated.

 

 

 

 

 

1

FINS/TCP Connec-

ON

Unit

Turned ON by the Unit when a

 

tion 2

 

 

connection is established.

 

 

 

 

 

 

 

OFF

Unit

Turned OFF by the Unit when

 

 

 

 

the connection is terminated.

 

 

 

 

 

:

:

:

:

:

 

 

 

 

 

81

CIO Area Allocations

 

 

 

Section 4-2

 

 

 

 

 

 

 

Bit

Name

Status

Manipulated

Unit operation

 

 

 

 

by

 

 

14

FINS/TCP Connec-

ON

Unit

Turned ON by the Unit when a

 

 

tion 15

 

 

connection is established.

 

 

 

 

 

 

 

 

 

OFF

Unit

Turned OFF by the Unit when

 

 

 

 

 

the connection is terminated.

 

 

 

 

 

 

 

15

FINS/TCP Connec-

ON

Unit

Turned ON by the Unit when a

 

 

tion 16

 

 

connection is established.

 

 

 

 

 

 

 

 

 

OFF

Unit

Turned OFF by the Unit when

 

 

 

 

 

the connection is terminated.

 

 

 

 

 

 

82

DM Area Allocations

Section 4-3

4-3DM Area Allocations

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

The various kinds of data are stored in the offset positions shown in the following diagram, from the beginning word in the area for each Unit.

The beginning word m is calculated by the following equation:

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

Offset

Bit

 

 

15

08

07

m

(Not used) m+97

m+98

IP Address Display/Setting Area

m+99

00 Data direction

Ethernet Unit to CPU Unit or CPU Unit to Ethernet Unit

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

IP Address Display/Setting Area (m+98 and m+99)

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)

 

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

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

If the local IP address is set to a value other than 0.0.0.0 in the TCP/IP Configuration, this area (words m+98 and m+99) will act as an IP Address Display Area and the local IP address set in the TCP/IP Configuration will be read and stored here when the power is turned ON or the Unit restarted.

If the local IP address in the TCP/IP Configuration is set to 0.0.0.0, this value is read by the EtherNet/IP Unit when the power is turned ON or the Unit restarted and is used as the local IP address.

If the local IP address in these words and the TCP/IP Configuration are both set to 0.0.0.0, the default IP address (192.168.250.Node_address) will be used. For details on the IP address settings, refer to SECTION 5 Determining IP Addresses.

Application

Setting device

Setting area

Remarks

Simple operation (i.e., The TCP/IP

Programming Con-

Allocated words in

• The setting in the allocated DM Area

Configuration is left at its default

sole (CX-Program-

the DM Area

words is enabled only when the IP

settings. Only the IP address is

mer can also be

 

address is set to 0.0.0.0 in the TCP/IP

set.)

used.)

 

Configuration.

 

 

 

• If the IP address is set to a value other

 

 

 

than 00.00.00.00 in the TCP/IP Con-

 

 

 

figuration, this value is stored in the

 

 

 

allocated words in the DM Area.

Operation with the desired IP

CX-Programmer

Setup TCP/IP Con-

The IP address set in the Setup TCP/IP

address set in the TCP/IP Configu-

(Unit Setup)

figuration Dialog Box

Configuration Dialog Box is stored in

ration.

 

 

the allocated DM Area words.

Note (1) If an IP address other than 00.00.00.00 is set as the local IP address in the TCP/IP Configuration, the IP Address Display/Setting Area words (m+98 and m+99) will be overwritten with the TCP/IP Configuration’s IP

83

DM Area Allocations

Section 4-3

address, even if a non-zeroIP address was set in the IP Address Display/ Setting Area words beforehand.

(2)It is not possible to set the following IP addresses. If any of these values are set, the ERH indicator will flash.

IP addresses where all network number bits are 0 or 1.

IP addresses where all host number bits are 0 or 1.

IP addresses where all subnet number bits are 1.

IP addresses that start with 127 (7F hexadecimal, e.g., 127.35.21.16).

84

User Settings Area

Section 4-4

4-4User Settings Area

4-4-1Overview of the User Settings Area

When the layout of the allocated CIO Area words is set to user settings, the user settings area can be used in addition to the allocated CIO Area words and allocated DM Area words.

The beginning word of the user settings area can be set in the Status Area

Tab Page in the Edit Parameters Dialog Box of the CX-Programmer.

4-4-2User Settings Area

The user can allocate any available area to contain the registered target node information, normal target node information, target node PLC operating information, and target node PLC error information.

Offset

 

 

Bit

 

00 Data direction

15

08 07

+0

 

Registered target node

EtherNet/IP Unit → CPU Unit

 

(16 words)

+15

 

 

 

+16

Normal target node

EtherNet/IP Unit → CPU Unit

 

 

(16 words)

+31

 

 

 

+32

Target node PLC's operating information

EtherNet/IP Unit → CPU Unit

 

 

(16 words)

+47

 

 

 

+48

Target node PLC's error information

EtherNet/IP Unit → CPU Unit

 

 

(16 words)

+63

 

 

 

Registered Target Node Table (EtherNet/IP Unit to CPU Unit)

These flags indicate the registration status of the target nodes, and are valid only when the EtherNet/IP Unit is the originator of the connection. For details on the default settings, refer to 4-2-2 Details of the Allocated CIO Area Words.

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

+0

15

14

13

 

12

 

11

 

10

9

 

8

7

6

5

4

3

2

1

 

0

 

+1

31

30

29

 

28

 

27

 

26

25

 

24

23

22

21

20

19

18

17

 

16

 

+2

47

46

45

 

44

 

43

 

42

41

 

40

39

38

37

36

35

34

33

 

32

 

+3

63

62

61

 

60

 

59

 

58

57

 

56

55

54

53

52

51

50

49

 

48

 

+4

79

78

77

 

76

 

75

 

74

73

 

72

71

70

69

68

67

66

65

 

64

 

+5

95

94

93

 

92

 

91

 

90

89

 

88

87

86

85

84

83

82

81

 

80

 

+6

111

110

109

 

108

 

107

 

106

105

 

104

103

102

101

100

99

98

97

 

96

 

+7

127

126

125

 

124

 

123

 

122

121

 

120

119

118

117

116

115

114

113

 

112

 

+8

143

142

141

 

140

 

139

 

138

137

 

136

135

134

133

132

131

130

129

 

128

 

+9

159

158

157

 

156

 

155

 

154

153

 

152

151

150

149

148

147

146

145

 

144

 

+10

175

174

173

 

172

 

171

 

170

169

 

168

167

166

165

164

163

162

161

 

160

 

+11

191

190

189

 

188

 

187

 

186

185

 

184

183

182

181

180

179

178

177

 

176

 

+12

207

206

205

 

204

 

203

 

202

201

 

200

199

198

197

196

195

194

193

 

192

 

+13

223

222

221

 

220

 

219

 

218

217

 

216

215

214

213

212

211

210

209

 

208

 

+14

239

238

237

 

236

 

235

 

234

233

 

232

231

230

229

228

227

226

225

 

224

 

+15

255

254

253

 

252

 

251

 

250

249

 

248

247

246

245

244

243

242

241

 

240

 

Bit

 

Name

 

 

 

 

Status

 

Manipulated

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

---

Registered Target

 

ON

 

Unit

 

 

Indicates that the node’s tag

 

Node Flags

 

 

 

 

 

 

 

 

 

 

data link is registered.

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

Indicates that the node’s tag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

data link is not registered.

85

User Settings Area

Section 4-4

Normal Target Node Table (EtherNet/IP Unit to CPU Unit)

Target Node PLC Operating Information (EtherNet/IP Unit to CPU Unit)

These flags indicate the connection status of the target nodes. With revision 2 or higher, the flag turns ON after all data for multiple connections for individual target devices is refreshed in the CPU Unit. With revision 1, each flag immediately turns ON when all connections are established.

 

15

14

13

 

12

11

10

9

8

7

6

5

4

3

2

1

0

 

+16

15

14

13

 

12

11

 

10

9

 

8

7

6

5

4

3

2

1

0

 

+17

31

30

29

 

28

27

 

26

25

 

24

23

22

21

20

19

18

17

16

 

+18

47

46

45

 

44

43

 

42

41

 

40

39

38

37

36

35

34

33

32

 

+19

63

62

61

 

60

59

 

58

57

 

56

55

54

53

52

51

50

49

48

 

+20

79

78

77

 

76

75

 

74

73

 

72

71

70

69

68

67

66

65

64

 

+21

95

94

93

 

92

91

 

90

89

 

88

87

86

85

84

83

82

81

80

 

+22

111

110

109

 

108

107

 

106

105

 

104

103

102

101

100

99

98

97

96

 

+23

127

126

125

 

124

123

 

122

121

 

120

119

118

117

116

115

114

113

112

 

+24

143

142

141

 

140

139

 

138

137

 

136

135

134

133

132

131

130

129

128

 

+25

159

158

157

 

156

155

 

154

153

 

152

151

150

149

148

147

146

145

144

 

+26

175

174

173

 

172

171

 

170

169

 

168

167

166

165

164

163

162

161

160

 

+27

191

190

189

 

188

187

 

186

185

 

184

183

182

181

180

179

178

177

176

 

+28

207

206

205

 

204

203

 

202

201

 

200

199

198

197

196

195

194

193

192

 

+29

223

222

221

 

220

219

 

218

217

 

216

215

214

213

212

211

210

209

208

 

+30

239

238

237

 

236

235

 

234

233

 

232

231

230

229

228

227

226

225

224

 

+31

255

254

253

 

252

251

 

250

249

 

248

247

246

245

244

243

242

241

240

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Name

 

 

 

Status

 

Manipulated

 

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---

Normal Target Node

ON

 

Unit

 

 

 

Revision 1: Flags immediately

 

Flags

 

 

 

 

 

 

 

 

 

 

 

 

turn ON when all connections

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

are established.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Revision 2 or higher: Flags turn

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON after all data for multiple

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

connections for the target

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

device is refreshed in the CPU

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unit.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

Indicates that all connections

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

are not established

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

These flags indicate the operating status of the target node PLCs, and are valid only when the EtherNet/IP Unit is the originator. 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.

For details on the default settings, refer to 4-2-2 Details of the Allocated CIO Area Words.

86

User Settings Area

Section 4-4

Target Node PLC Error Information (EtherNet/IP Unit to CPU Unit)

 

15

14

13

12

11

10

9

 

8

7

6

 

5

4

3

2

1

0

 

+32

15

14

13

12

11

 

10

9

 

 

8

7

6

 

5

4

3

2

1

0

 

+33

31

30

29

28

27

 

26

25

 

24

23

22

 

21

20

19

18

17

16

 

+34

47

46

45

44

43

 

42

41

 

40

39

38

 

37

36

35

34

33

32

 

+35

63

62

61

60

59

 

58

57

 

56

55

54

 

53

52

51

50

49

48

 

+36

79

78

77

76

75

 

74

73

 

72

71

70

 

69

68

67

66

65

64

 

+37

95

94

93

92

91

 

90

89

 

88

87

86

 

85

84

83

82

81

80

 

+38

111

110

109

108

107

 

106

105

 

104

103

102

 

101

100

99

98

97

96

 

+39

127

126

125

124

123

 

122

121

 

120

119

118

 

117

116

115

114

113

112

 

+40

143

142

141

140

139

 

138

137

 

136

135

134

 

133

132

131

130

129

128

 

+41

159

158

157

156

155

 

154

153

 

152

151

150

 

149

148

147

146

145

144

 

+42

175

174

173

172

171

 

170

169

 

168

167

166

 

165

164

163

162

161

160

 

+43

191

190

189

188

187

 

186

185

 

184

183

182

 

181

180

179

178

177

176

 

+44

207

206

205

204

203

 

202

201

 

200

199

198

 

197

196

195

194

193

192

 

+45

223

222

221

220

219

 

218

217

 

216

215

214

 

213

212

211

210

209

208

 

+46

239

238

237

236

235

 

234

233

 

232

231

230

 

229

228

227

226

225

224

 

+47

255

254

253

252

251

 

250

249

 

248

247

246

 

245

244

243

242

241

240

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Name

 

 

 

Status

 

Manipulated

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

---

Target Node PLC

 

ON

 

Unit

 

 

 

The corresponding PLC is oper-

 

Operating Flags

 

 

 

 

 

 

 

 

 

 

 

ating. (The program is being exe-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cuted.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

The PLC is not operating.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

These flags indicate the error status (logical OR of fatal and non-fatalerrors) of the target node PLCs, and are valid only when the EtherNet/IP Unit is the originator. 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.

For details on the default settings, refer to 4-2-2 Details of the Allocated CIO Area Words.

 

15

14

13

12

11

10

9

 

8

7

6

 

5

4

3

2

1

0

 

+48

15

14

13

12

11

 

10

9

 

 

8

7

6

 

5

4

3

2

1

0

 

+49

31

30

29

28

27

 

26

25

 

24

23

22

 

21

20

19

18

17

16

 

+50

47

46

45

44

43

 

42

41

 

40

39

38

 

37

36

35

34

33

32

 

+51

63

62

61

60

59

 

58

57

 

56

55

54

 

53

52

51

50

49

48

 

+52

79

78

77

76

75

 

74

73

 

72

71

70

 

69

68

67

66

65

64

 

+53

95

94

93

92

91

 

90

89

 

88

87

86

 

85

84

83

82

81

80

 

+54

111

110

109

108

107

 

106

105

 

104

103

102

 

101

100

99

98

97

96

 

+55

127

126

125

124

123

 

122

121

 

120

119

118

 

117

116

115

114

113

112

 

+56

143

142

141

140

139

 

138

137

 

136

135

134

 

133

132

131

130

129

128

 

+57

159

158

157

156

155

 

154

153

 

152

151

150

 

149

148

147

146

145

144

 

+58

175

174

173

172

171

 

170

169

 

168

167

166

 

165

164

163

162

161

160

 

+59

191

190

189

188

187

 

186

185

 

184

183

182

 

181

180

179

178

177

176

 

+60

207

206

205

204

203

 

202

201

 

200

199

198

 

197

196

195

194

193

192

 

+61

223

222

221

220

219

 

218

217

 

216

215

214

 

213

212

211

210

209

208

 

+62

239

238

237

236

235

 

234

233

 

232

231

230

 

229

228

227

226

225

224

 

+63

255

254

253

252

251

 

250

249

 

248

247

246

 

245

244

243

242

241

240

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Name

 

 

 

Status

 

Manipulated

 

 

Unit operation

 

 

 

 

 

 

 

 

 

 

 

 

 

by

 

 

 

 

 

 

 

 

 

---

Target Node PLC

 

ON

 

Unit

 

 

 

A fatal or non-fatalerror occurred

 

Error Flags

 

 

 

 

 

 

 

 

 

 

 

 

in the corresponding PLC.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

Unit

 

 

 

No error occurred in the PLC.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

87

Auxiliary Area Data Section 4-5

4-5

Auxiliary Area Data

 

 

 

The following table and descriptions cover the words and bits in the CPU

 

 

Unit’s Auxiliary Area that are related to the EtherNet/IP Unit.

4-5-1

Read-onlyBits/Words

 

 

 

 

 

 

Word(s)

Bit(s)

Name

Function

Settings

 

 

 

 

 

A202

A20200 to

Communications

Bits A20200 to A20207 turn ON when a network

0: Network communi-

 

A20207

Port Enabled Flags

instruction (SEND, RECV, CMND, or PMCR) can be

cations running

 

 

 

executed with the corresponding port number. Bits

1: No network com-

 

 

 

00 to 07 correspond to communications ports 0 to 7.

 

 

 

munications running

 

 

 

 

 

A203 to

---

Communications

These words contain the completion codes for the

0000: No error

A210

 

Port Completion

corresponding port numbers when network

Not 0000: Error code

 

 

Codes

instructions (SEND, RECV, CMND, or PMCR) have

 

 

 

 

 

 

been executed. Words A203 to A210 correspond to

 

 

 

 

communications ports 0 to 7.

 

 

 

 

 

 

A219

A21900 to

Communications

Bits A21900 to A21907 turn ON when an error

0: Normal end

 

A21907

Port Error Flags

occurred during execution of a network instruction

1: Error end

 

 

 

(SEND, RECV, CMND, or PMCR). Bits 00 to 07

 

 

 

 

 

 

 

correspond to communications ports 0 to 7.

 

 

 

 

 

 

A302

A30200 to

CPU Bus Unit

Bits A30200 through A30215 turn ON while the

0: Not initializing

 

A30215

Initializing Flags

corresponding CPU Bus Units (Units #0 through

1: Initializing (System

 

 

 

#15, respectively) are initializing. The bits will turn

 

 

 

will automatically turn

 

 

 

ON either when power is turned ON or when a CPU

 

 

 

the flag OFF when ini-

 

 

 

Bus Unit Restart Bit (A50100 to A50115) is turned

 

 

 

tialization has been

 

 

 

ON.

 

 

 

completed.)

 

 

 

 

 

 

 

 

 

A402

A40203

CPU Bus Unit Set-

Bit A40203 is turned ON when the CPU Bus Units

0: No setting error

 

 

ting Error Flag

actually installed differ from the Units registered in

1: Setting error

 

 

(Non-fatalerror)

the I/O tables. The ERR/ALM indicator on the front

 

 

 

 

 

 

of the CPU Unit will flash, but CPU operation will

 

 

 

 

continue.

 

 

 

 

The unit number of the CPU Bus Unit involved is

 

 

 

 

stored in word A427.

 

 

 

 

 

 

 

A40207

CPU Bus Unit Error

Bit A40207 is turned ON when an error occurs

0: No unit number

 

 

Flag

during the transmission of data between the CPU

error

 

 

(Non-fatalerror)

and CPU Bus Units. The ERR/ALM indicator on the

1: Unit number error

 

 

 

front of the CPU Unit will flash, but CPU operation

 

 

 

 

 

 

 

will continue. The Unit where the error occurred will

 

 

 

 

stop.

 

 

 

 

The unit number of the CPU Bus Unit involved is

 

 

 

 

stored in word A422.

 

 

 

 

 

 

A403

A40300 to

Memory Error

When a memory error occurs, the Memory Error

0: Normal

 

A40308

Location

Flag (A40115) is turned ON and one of the following

1: Error

 

 

 

flags is turned ON to indicate the memory area

 

 

 

 

 

 

 

where the error occurred.

 

 

 

 

A40300: User program

 

 

 

 

A40304: PLC Setup

 

 

 

 

A40305: Registered I/O Tables

 

 

 

 

A40307: Routing Tables

 

 

 

 

The ERR/ALM indicator on the front of the CPU Unit

 

 

 

 

will light and CPU operation will stop.

 

 

 

 

 

 

A410

A41000 to

CPU Bus Unit Num-

The Duplication Error Flag (A40113) and the

0: No duplication

 

A41015

ber Duplication

corresponding flag in A410 will be turned ON when

1: Duplication

 

 

Flags

a CPU Bus Unit’s unit number has been

 

 

 

 

 

 

duplicated. Bits 00 to 15 correspond to unit numbers

 

 

 

 

0 to F.

 

 

 

 

The ERR/ALM indicator on the front of the CPU Unit

 

 

 

 

will light and CPU operation will stop.

 

88

Auxiliary Area Data

 

Section 4-5

 

 

 

 

 

Word(s)

Bit(s)

Name

Function

Settings

 

 

 

 

 

A417

A41700 to

CPU Bus Unit Error,

When an error occurs in a data exchange between

0: No error

 

A41715

Unit Number Flags

the CPU Unit and a CPU Bus Unit, the CPU Bus

1: Error

 

 

 

Unit Error Flag (A40207) and the corresponding flag

 

 

 

 

 

 

 

in A417 are turned ON. Bits 00 to 15 correspond to

 

 

 

 

unit numbers 0 to F.

 

 

 

 

The ERR/ALM indicator on the front of the CPU Unit

 

 

 

 

will flash, but CPU operation will continue.

 

 

 

 

 

 

A427

A42700 to

CPU Bus Unit Set-

When a CPU Bus Unit Setting Error occurs, A40203

0: No setting error

 

A42715

ting Error, Unit

and the corresponding flag in A27 are turned ON.

1: Setting error

 

 

Number Flags

Bits 00 to 15 correspond to unit numbers 0 to F.

 

 

 

 

 

 

The ERR/ALM indicator on the front of the CPU Unit

 

 

 

 

will flash, but CPU operation will continue.

 

4-5-2

Read/Write Bits (User Settings)

 

 

 

 

 

 

Word

Bits

Name

Description

Settings

 

 

 

 

 

A501

A50100 to

CPU Bus Unit

Bits A50100 through A50115 can be turned ON to

OFF to ON:

 

A50115

Restart Bits

reset CPU Bus Units number #0 through #15,

Unit restarted.

 

 

 

respectively.

Automatically turned

 

 

 

 

 

 

 

Note The CPU Bus Unit Initializing Flags (A30200

OFF by system after

 

 

 

to A30215) will turn ON when initialization of

restart processing

 

 

 

the Units begins and turn OFF when it is com-

has been completed.

 

 

 

pleted.

 

 

 

 

Note When turning ON the CPU Bus Unit Restart

 

 

 

 

Bit from a ladder program, use the SET

 

 

 

 

instruction.

 

 

 

 

 

 

89

Auxiliary Area Data

Section 4-5

90

SECTION 5

Determining IP Addresses

This section explains how to manage and use IP addresses.

 

5-1 IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

92

5-1-1

IP Address Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

92

5-1-2

Allocating IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

92

5-1-3 EtherNet/IP Unit IP Address Settings. . . . . . . . . . . . . . . . . . . . . . . .

93

5-1-4

Subnet Masks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

93

5-1-5

CIDR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

94

5-2 IP Addresses in FINS Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

94

5-2-1 Specifying Nodes in FINS Communications Services . . . . . . . . . . .

94

5-2-2 Pairing Addresses in Internal Tables . . . . . . . . . . . . . . . . . . . . . . . .

96

5-2-3

Application Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

102

5-2-4 Related Products and Communications/Setting Methods. . . . . . . . .

103

5-2-5 Pairing IP Addresses and FINS Node Addresses . . . . . . . . . . . . . . .

105

5-3 Private and Global Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

106

5-3-1 Private and Global Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

106

5-3-2 Using a Private Address for the EtherNet/IP Unit . . . . . . . . . . . . . .

107

5-3-3 EtherNet/IP Unit with a Global Address . . . . . . . . . . . . . . . . . . . . .

109

91

IP Addresses

Section 5-1

5-1IP Addresses

5-1-1IP Address Configuration

IP addresses are made up of 32 bits of binary data divided into four 8-bitfields called octets. These four octets provide the network number (net ID) and host number (host ID). The network number identifies the network, and the host number identifies the node (or host) on the network.

The network numbers in an IP address are divided into three classes, A, B, and C, so that the address system can be selected according to the scale of the network. (Classes D and E are not used.) The configuration of the IP address for each of these classes is shown in the following diagram.

 

Bit 31

23

 

0

Class A

 

0

Network number (7 bits)

 

 

Host number (24 bits)

 

 

 

 

 

 

 

 

 

Bit 31

15

0

Class B

 

1

0

Network number (14 bits)

 

Host number (16 bits)

 

 

 

 

 

 

 

 

 

Bit 31

 

 

Class C

 

1

1

0

 

 

Bit 31

 

 

Class D

 

1

1

1

0

 

Bit 31

 

 

Class E

 

1

1

1

1

 

7

0

 

Network number (21 bits)

Host number (8 bits)

 

 

 

 

0

 

Multicast address

 

(Cannot be used.)

 

 

0

 

Identification address

 

(Cannot be used.)

The number of networks in each class and the number of nodes possible on the network differ according to the class.

Class

Number of networks

Number of hosts

 

 

 

Class A

Small

224−2 max. (16,777,214 max.)

Class B

Medium

216−2 max. (65,534 max.)

Class C

Large

28−2 max. (254 max.)

The 32 bits of an IP address are divided into four sections of eight bits each, and expressed as a punctuated number. IP addresses are represented by the decimal equivalent of each of the four octets in the 32-bitaddress, each separated by a period. For example, the binary address 10000010 00111010 00010001 00100000 would be represented as 130.58.17.32.

Note The same network number must be set for every node on the same Ethernet network.

5-1-2Allocating IP Addresses

IP (Internet Protocol) is a standard communications protocol used throughout the world, and is designed to enable communications between any Ethernet nodes regardless of the networks on which they exist. To achieve this, network numbers are allocated by the Network Solutions, InterNIC Registration Services, to ensure that all Ethernet networks have unique numbers regardless of where they exist. The local system administrator is left the responsibility of allocating unique host numbers locally. You therefore should obtain a network number from the InterNIC Registration Services to ensure uniqueness and allow for future network expansions if required.

92

IP Addresses

Section 5-1

5-1-3EtherNet/IP Unit IP Address Settings

An IP address must be set even for the EtherNet/IP Unit or built-inEtherNet/IP port before Ethernet communications can proceed. Use one of the following methods to set the IP address of the EtherNet/IP Unit orbuilt-inEtherNet/IP port. Either use the default IP address setting, use a Programming Device to set a particular IP address in the DM Area words (CS/CJ Series only) allocated to the Unit as a CPU Bus Unit, or set a particular IP address in the EtherNet/IP Unit orbuilt-inEtherNet/IP port.

If you want to connect the EtherNet/IP Unit or built-inEtherNet/IP port immediately, the default IP address is 192.168.250.Node_address. (The node address is set with the Node Address Setting Switches on the front of the EtherNet/IP Unit or CPU Unit.)

If you want to set a particular IP address and store that local IP address in the CPU Unit, set it with the CPU Unit’s allocated DM Area words (CS/CJ Series only).

If you want to set a particular IP address and store that local IP address in the EtherNet/IP Unit or CPU UNit, set the IP address in the TCP/IP settings of the Unit Setup from the CX-Programmer.

If you want to set a particular IP address and obtain the IP address auto-

matically from the BOOTP server, TCP/IP settings of the Unit Setup from the CX-Programmer.For details, refer to3-8 TCP/IP and Link Settings.

5-1-4Subnet Masks

Operation and management of a network can become very difficult if too many nodes are connected on a single network. In such a case it can be helpful to configure the system so that a single network is divided up into several subnetworks. This can be done by using part of the host number as a subnet number. Internally the network can be treated as a number of subnetworks, but from the outside it acts as a single network and uses only a single Network ID.

To establish subnetworks, the Host ID in the IP address is divided into a Subnet ID and a Host ID by using a setting called the Subnet Mask. The Subnet Mask indicates which part of the Host ID is to be used as the Subnet ID. All bits in the Subnet Mask that correspond to the bits in the IP address used either as the Network ID or Subnet ID are set to “1,” and the remaining bits, which correspond to the bits in the IP address actually used for the Host ID, are set to “0.”

The following example shows the Subnet Mask for an 8-bitSubnet ID used in aclass-BIP address.

Bit 31

15

 

0

 

Class B

1

0

Network ID (14 bits)

 

Host ID (16 bits)

 

Subnet mask

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0

= FF FF FF 00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Network number

Subnet number

Host number

 

Set the same Subnet Mask value for all of the nodes on that subnetwork. If no subnetworks are used, there is no need to set Subnet Masks. In that case, the following Subnet Mask values will be used depending on the IP address class.

Class

Subnet Mask value

 

 

Class A

255.0.0.0

 

 

Class B

255.255.0.0

 

 

Class C

255.255.255.0

 

 

93

IP Addresses in FINS Communications

Section 5-2

5-1-5CIDR

CIDR, or classless interdomain routing, is used to assign IP addresses that do not use classes. IP addresses that use classes are separated into blocks according to net IDs and host IDs, resulting in inefficient usage of IP address space.

CIDR does not use classes, so IP address space can be divided as required to more efficiently use IP address space. For example, using a subnet mask setting with CIDR enables building a horizontally distributed network exceeding 254 nodes even if a class C address block (e.g., 192, 168...).

Subnet mask range

192.0.0.0 to 255.255.255.252

CIDR was added for unit version 2.0.

5-2IP Addresses in FINS Communications

5-2-1Specifying Nodes in FINS Communications Services

With FINS communications services on an Ethernet network, IP addresses, UDP port numbers, and TCP port numbers are paired with FINS node addresses to specify nodes on the network.

Application level

FINS

 

Node number

 

 

 

 

 

Transport level

UDP

UDP port

TCP

TCP port

 

 

 

 

 

number

 

number

Internet level

IP

 

IP address

 

 

 

 

 

Physical level

Ethernet

Ethernet address

 

 

 

 

Must be allocated.

Automatically allocated

Note Use the Node Address Setting Switches (NODE NO.) on the front of the EtherNet/IP Unit or, for thebuilt-inEtherNet/IP port, on the front of the CPU Unit to set the FINS node address.

Allocating Addresses to EtherNet/IP Units and Built-inEtherNet/IP Ports

FINS Message Reception for EtherNet/IP Units or Built-inEtherNet/IP Ports

The IP address, FINS/UDP port number, and FINS/TCP port number set for the EtherNet/IP Unit or built-inEtherNet/IP port are mainly used when receiving FINS communications messages.

Application level

FINS

 

 

 

 

 

 

 

 

 

 

 

 

Node number

 

 

Transport level

 

 

 

 

 

 

 

 

 

 

 

 

UDP

 

 

 

TCP

 

 

 

UDP port

 

 

 

TCP port

 

 

 

number

 

 

 

 

number

 

Internet level

 

 

 

 

 

 

 

 

 

 

 

 

IP

 

 

 

 

 

 

 

 

 

 

 

 

IP address

 

 

 

 

 

 

 

 

 

 

 

Physical level

 

 

 

 

 

 

 

 

 

 

 

 

Ethernet

 

 

 

 

 

 

 

 

Ethernet address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Receives communications data conforming to Ethernet address, IP address, UDP port number, and FINS node number.

Ethernet V2

IP

UDP

FINS header

FINS data

94