Omron SYSMAC CJ2H-CPU6@-EIP, SYSMAC CJ2M-CPU3@, SYSMAC CS1W-EIP21, SYSMAC CJ1W-EIP21 User Manual

19.68 Mb
Loading...

Cat. No. W465-E1-05

SYSMAC CS and CJ Series

CS1W-EIP21 (100Base-TX)

CJ1W-EIP21 (100Base-TX)

CJ2H-CPU6@-EIP (100Base-TX)

CJ2M-CPU3@ (100Base-TX/10Base-T)

EtherNet/IP Units

OPERATION MANUAL

CS1W-EIP21 (100Base-TX)

CJ1W-EIP21 (100Base-TX)

CJ2H-CPU6@-EIP (100Base-TX)

CJ2M-CPU3@ (100Base-TX/10Base-T)

EtherNet/IP Units

Operation Manual

Revised February 2010

iv

Notice:

OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.

The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property.

!DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. Additionally, there may be severe property damage.

!WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury. Additionally, there may be severe property damage.

!Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage.

OMRON Product References

All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.

The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word” and is abbreviated “Wd” in documentation in this sense.

The abbreviation “PLC” means Programmable Controller. “PC” is used, however, in some Programming Device displays to mean Programmable Controller.

Visual Aids

The following headings appear in the left column of the manual to help you locate different types of information.

Note Indicates information of particular interest for efficient and convenient operation of the product.

1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.

Trademarks and Copyrights

EtherNet/IP is a registered trademark of the ODVA (Open DeviceNet Vendor Association).

Ethernet is a trademark of the Xerox Corporation.

Microsoft, Windows, Windows NT, Windows 2000, Windows XP, and Windows Vista are registered trademarks of the Microsoft Corporation.

Other names of systems or products that appear in this document are trademarks or registered trademarks of the respective company.

OMRON, 2007

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.

No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.

v

vi

TABLE OF CONTENTS

PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxi

1

Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxii

2

General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxii

3

Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxii

4

Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxiv

5

Application Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxiv

6

Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxvi

SECTION 1

 

Overview of EtherNet/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1

1-1

EtherNet/IP Unit Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

1-2

Devices Required for Constructing a Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

1-3

Support Software Required to Construct a Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

1-4

Communications Services Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

1-5

Network Configurator Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10

SECTION 2

 

Unit Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13

2-1

EtherNet/IP Unit and Built-in EtherNet/IP Port Specifications . . . . . . . . . . . . . . . . . . . . . .

14

2-2

Nomenclature and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

21

2-3

Selecting the Network Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

28

SECTION 3

 

Installation and Initial Setup . . . . . . . . . . . . . . . . . . . . . . . . .

33

3-1

Overview of Initial Setup Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34

3-2

Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36

3-3

Mounting to a PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

38

3-4

Network Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

41

3-5

Connecting to the Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

44

3-6

Creating I/O Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

46

3-7

Setting the Local IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

50

3-8

TCP/IP and Link Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

52

3-9

Tag Data Link Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

57

3-10

Other Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

61

3-11

Communications Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

65

vii

TABLE OF CONTENTS

SECTION 4

 

Memory Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

67

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

68

4-2

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

70

4-3

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

83

4-4

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

85

4-5

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

88

SECTION 5

 

Determining IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . .

91

5-1

IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

92

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

94

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

106

SECTION 6

 

Tag Data Link Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . .

111

6-1 Overview of Tag Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

112

6-2 Setting Tag Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

121

6-3 Ladder Programming with Tag Data Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

183

SECTION 7

 

Message Communications Functions . . . . . . . . . . . . . . . . . .

187

7-1

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

188

7-2

FINS Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

190

7-3

Explicit Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

192

7-4

Message Communications Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

193

7-5 Message Communications Error Indications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

194

7-6

Message Communications Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

195

SECTION 8

 

FINS Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

197

8-1 Overview of FINS Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

198

8-2

FINS/UDP Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

200

8-3

FINS/TCP Method. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

202

8-4

Routing Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

207

8-5

Using FINS Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

211

8-6 Communicating between OMRON PLCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

220

8-7 Precautions on High Traffic in FINS Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

232

SECTION 9

 

Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . .

233

9-1

Sending Explicit Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

234

9-2

Receiving Explicit Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

248

viii

TABLE OF CONTENTS

SECTION 10

 

Communications Performance and Communications Load

261

10-1

Communications System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

262

10-2 Adjusting the Communications Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

268

10-3 I/O Response Time in Tag Data Links. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

283

10-4 Tag Data Link Performance for CJ2M Built-in EtherNet/IP Ports . . . . . . . . . . . . . . . . . . . .

291

10-5 Message Service Transmission Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

294

SECTION 11

 

FTP Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

301

11-1

Overview and Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

302

11-2 FTP Server Function Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

303

11-3 Using the FTP Server Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

305

11-4 FTP Server Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

307

11-5

Using FTP Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

308

11-6

Checking FTP Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

314

11-7

Using File Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

315

11-8 FTP File Transfer Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

320

11-9 Host Computer Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

321

SECTION 12

 

Automatic Clock Adjustment Function . . . . . . . . . . . . . . . .

323

12-1

Automatic Clock Adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

324

12-2 Using the Automatic Clock Adjustment Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

325

12-3 Automatic Clock Adjustment Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

328

12-4 Automatic Clock Adjustment Error Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

328

SECTION 13

 

Maintenance and Unit Replacement . . . . . . . . . . . . . . . . . . .

331

13-1

Maintenance and Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

332

13-2

Simple Backup Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

333

13-3 Using the Backup Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

336

SECTION 14

 

Troubleshooting and Error Processing. . . . . . . . . . . . . . . . .

339

14-1 Checking Status with the Network Configurator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

340

14-2 Using the LED Indicators and Display for Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . .

347

14-3 Connection Status Codes and Error Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

358

14-4

Error Log Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

364

14-5

Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

368

14-6 Troubleshooting with FINS Response Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

371

ix

 

TABLE OF CONTENTS

 

Appendices

 

A

CS/CJ-series Ethernet Unit Function Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

375

B

Ethernet Network Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

377

C

TCP Status Transitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

379

D

CIP Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

381

E

FINS Commands Addressed to EtherNet/IP Units or Built-in EtherNet/IP Ports . . . . . . . .

391

F

EDS File Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

419

G

Precautions for Using Windows XP, Vista, or Windows 7 . . . . . . . . . . . . . . . . . . . . . . . . . .

423

Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

427

Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

435

x

About this Manual:

This manual describes the operation of the CS/CJ-series EtherNet/IP Units and the built-in EtherNet/IP ports on a CJ2 CPU Unit for constructing applications and includes the sections described below.

Please read this manual carefully and be sure you understand the information provided before attempting to install or operate the EtherNet/IP Unit or built-in EtherNet/IP port. Be sure to read the precautions provided in the following section.

Precautions provides general precautions for using the CS/CJ-series EtherNet/IP Units and built-in EtherNet/IP ports.

Section 1 introduces the functions and protocols used in EtherNet/IP Unit or built-in EtherNet/IP port communications services.

Section 2 provides the specifications of EtherNet/IP Units and introduces recommended network configuration devices.

Section 3 explains how to install and make the initial settings required for operation of the EtherNet/IP Unit or built-in EtherNet/IP port.

Section 4 describes the words allocated in the CIO Area and the DM Area for EtherNet/IP Units or built-in EtherNet/IP ports.

Section 5 explains how to manage and use IP addresses.

Section 6 describes tag data link functions and related Network Configurator operations.

Section 7 describes message communications using FINS messages and explicit messages.

Section 8 provides information on communicating on EtherNet/IP Systems and interconnected networks using FINS commands. The information provided in the section deals only with FINS communications in reference to EtherNet/IP Units or built-in EtherNet/IP ports.

Section 9 describes message communications using FINS commands sent from the ladder program in the CPU Unit of the PLC.

Section 10 describes the communications performance in an EtherNet/IP network, and shows how to estimate the I/O response times and transmission delays.

Section 11 describes the functions provided by the FTP server.

Section 12 provides an overview of the automatic clock adjustment function, including details on specifications, required settings, operations from CX-Programmer, and troubleshooting.

Section 13 describes cleaning, inspection, and Unit replacement procedures, as well as the Simple Backup Function.

Section 14 describes error processing, periodic maintenance operations, and troubleshooting procedures needed to keep the EtherNet/IP network operating properly. We recommend reading through the error processing procedures before operation so that operating errors can be identified and corrected more quickly.

Appendices provide information on EtherNet/IP network parameters, the buffer configuration, TCP status transitions, ASCII characters, maintenance, and inspections.

xi

Relevant Manuals

The following table lists CSand CJ-series manuals that contain information relevant to EtherNet/IP Units or built-in EtherNet/IP ports.

Manual

Model

Name

Contents

number

 

 

 

 

 

 

 

W465

CS1W-EIP21

EtherNet/IP Units

Provides information on operating and installing Ether-

 

CJ1W-EIP21

Operation Manual

Net/IP Units, including details on basic settings, tag data

 

CJ2H-CPU6@-EIP

(this manual)

links, and FINS communications.

 

CJ2M-CPU3@

 

Refer to the Communications Commands Reference

 

 

 

Manual (W342) for details on FINS commands that can

 

 

 

be sent to CS-series and CJ-series CPU Units when

 

 

 

using the FINS communications service.

 

 

 

Refer to the Ethernet Units Operation Manual

 

 

 

Construction of Applications (W421) for details on con-

 

 

 

structing host applications that use FINS communica-

 

 

 

tions.

 

 

 

 

W420

CS1W-ETN21

Ethernet Units Oper-

Provides information on operating and installing

 

CJ1W-ETN21

ation Manual

100Base-TX Ethernet Units, including details on basic

 

 

Construction of Net-

settings and FINS communications. Refer to the Commu-

 

 

works

nications Commands Reference Manual (W342) for

 

 

 

details on FINS commands that can be sent to CS-series

 

 

 

and CJ-series CPU Units when using the FINS communi-

 

 

 

cations service.

 

 

 

 

W421

CS1W-ETN21

Ethernet Units Oper-

Provides information on constructing host applications for

 

CJ1W-ETN21

ation Manual

100Base-TX Ethernet Units, including functions for send-

 

 

Construction of

ing/receiving mail, socket service, automatic clock adjust-

 

 

Applications

ment, FTP server functions, and FINS communications.

 

 

 

 

W343

CS1W-ETN01

Ethernet Units Oper-

Describes the installation and operation of the 10Base-5

 

CS1W-ETN11

ation Manual

and 10Base-T Ethernet Units.

 

CJ1W-ETN11

 

 

 

 

 

 

W342

CS1G/H-CPU@@H

Communications

Describes the C-series (Host Link) and FINS communi-

 

CS1G/H-CPU@@-V1

Commands Refer-

cations commands used when sending communications

 

CS1W-SCU@@-V1

ence Manual

commands to CS-series, CJ-series, CP-series, and SYS-

 

CS1W-SCB@@-V1

 

MAC One NSJ-series CPU Units.

 

CJ2H-CPU6@-EIP

 

 

 

CJ2H-CPU6@

 

 

 

CJ2M-CPU@@

 

 

 

CJ1G/H-CPU@@H

 

 

 

CJ1G-CPU@@

 

 

 

CJ1M-CPU@@

 

 

 

CJ1W-SCU@@-V1

 

 

 

CP1E-E@@D@-@

 

 

 

CP1E-N@@D@-@

 

 

 

CP1H-X@@@@-@

 

 

 

CP1H-Y@@@@-@@

 

 

W472

CJ2H-CPU6@-EIP

CJ-series CJ2 CPU

Provides hardware information for the CJ2 CPU Units.

 

CJ2H-CPU6@

Unit Hardware

Information is included on features, system configuration,

 

CJ2M-CPU@@

User’s Manual

component names, component functions, installation,

 

 

 

setting procedures, and troubleshooting.

 

 

 

Use together with the CJ-series CJ2 CPU Unit Software

 

 

 

User’s Manual (W473).

 

 

 

 

W473

CJ2H-CPU6@-EIP

CJ-series CJ2 CPU

Provides software information for the CJ2 CPU Units.

 

CJ2H-CPU6@

Unit Software User’s

Information is included on CPU Unit operation, internal

 

CJ2M-CPU@@

Manual

memory, programming, setting procedures, and CPU

 

 

 

Unit functions.

 

 

 

Use together with the CJ-series CJ2 CPU Unit Hardware

 

 

 

User’s Manual (W472).

 

 

 

 

xii

Manual

Model

Name

Contents

number

 

 

 

 

 

 

 

W474

CJ2H-CPU6@-EIP

Programmable Con-

Describes the ladder diagram programming instructions

 

CJ2H-CPU6@

trollers Instructions

supported by CS-series and CJ-series PCs. Use this

 

CJ2M-CPU@@

Reference Manual

manual for CJ2 CPU Units.

 

CS1G/H-CPU-@@H

 

 

 

CS1G/H-CPU-@@-V1

 

 

 

CJ1G/H-CPU@@H

 

 

 

CJ1M-CPU@@

 

 

 

CJ1G-CPU@@

 

 

 

NSJ@-@@@@(B)-G5D

 

 

 

NSJ@-@@@@(B)-M3D

 

 

W339

CS1G/H-CPU@@H

Programmable Con-

Provides an outline of, and describes the design, installa-

 

CS1G/H-CPU-@@V1

trollers Operation

tion, maintenance, and other basic operations for the CS-

 

 

Manual

series PLCs. Information is also included on features,

 

 

 

system configuration, wiring, I/O memory allocations, and

 

 

 

troubleshooting.

 

 

 

Use together with the Programmable Controllers Pro-

 

 

 

gramming Manual (W394).

 

 

 

 

W393

CJ1G/H-CPU@@H

Programmable Con-

Provides an outline of, and describes the design, installa-

 

CJ1G-CPU@@

trollers Operation

tion, maintenance, and other basic operations for the CJ-

 

 

Manual

series PLCs. Information is also included on features,

 

 

 

system configuration, wiring, I/O memory allocations, and

 

 

 

troubleshooting.

 

 

 

Use together with the Programmable Controllers Pro-

 

 

 

gramming Manual (W394).

 

 

 

 

W394

CS1G/H-CPU@@H

Programmable Con-

Describes programming, tasks, file memory, and other

 

CS1G/H-CPU-@@V1

trollers Program-

functions for the CS-series, CJ-series, and NS-J-series

 

CJ1G/H-CPU@@H

ming Manual

PLCs.

 

CJ1G-CPU@@

 

Use together with the Programmable Controllers Opera-

 

NSJ@-@@@@(B)-G5D

 

tion Manual (W339 for CS-series PLCs and W393 for CJ-

 

NSJ@-@@@@(B)-M3D

 

series PLCs).

 

 

 

 

W340

CS1G/H-CPU@@H

Programmable Con-

Describes the ladder diagram programming instructions

 

CS1G/H-CPU-@@V1

trollers Instructions

supported by CS-series and CJ-series PCs. Use together

 

CJ1G/H-CPU@@H

Reference Manual

with the Programmable Controllers Operation Manual

 

CJ1G-CPU@@

 

(W339 for CS-series PLCs and W393 for CJ-series

 

NSJ@-@@@@(B)-G5D

 

PLCs), and the Programmable Controllers Programming

 

NSJ@-@@@@(B)-M3D

 

Manual (W394).

W463

CXONE-AL@@C-V4

CS-One Setup Man-

Describes the setup procedures for the CX-One. Informa-

 

CXONE-AL@@D-V4

ual

tion is also provided on the operating environment for the

 

 

 

CX-One.

 

 

 

 

W446

WS02-CXPC@-V9

CX-Programmer

Provides information on how to use the CX-Programmer,

 

 

Operation Manual

a Windows-based programming device. Use together

 

 

 

with the Programmable Controllers Operation Manual

 

 

 

(W339 for CS-series PLCs and W393 for CJ-series

 

 

 

PLCs), Programmable Controllers Programming Manual

 

 

 

(W394) and the Programmable Controllers Instructions

 

 

 

Reference Manual (W340) to perform programming.

 

 

 

 

W464

CXONE-AL@@C-V4/

CS/CJ/CP/NSJ-

Describes the operating procedures of the CX-Integrator

 

CXONE-AL@@D-V4

series CX-Integrator

that can be used to set up and monitor networks.

 

 

Ver. 2.@ Operation

 

 

 

Manual

 

!WARNING Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.

xiii

xiv

Read and Understand this Manual

Please read and understand this manual before using the product. Please consult your OMRON representative if you have any questions or comments.

Warranty and Limitations of Liability

WARRANTY

OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by OMRON.

OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.

LIMITATIONS OF LIABILITY

OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY.

In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted.

IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON'S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.

xv

Application Considerations

SUITABILITY FOR USE

OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products.

At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine, system, or other application or use.

The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products:

Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this manual.

Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installations subject to separate industry or government regulations.

Systems, machines, and equipment that could present a risk to life or property.

Please know and observe all prohibitions of use applicable to the products.

NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.

PROGRAMMABLE PRODUCTS

OMRON shall not be responsible for the user's programming of a programmable product, or any consequence thereof.

xvi

Disclaimers

CHANGE IN SPECIFICATIONS

Product specifications and accessories may be changed at any time based on improvements and other reasons.

It is our practice to change model numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the products may be changed without any notice. When in doubt, special model numbers may be assigned to fix or establish key specifications for your application on your request. Please consult with your OMRON representative at any time to confirm actual specifications of purchased products.

DIMENSIONS AND WEIGHTS

Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when tolerances are shown.

PERFORMANCE DATA

Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.

ERRORS AND OMISSIONS

The information in this manual has been carefully checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.

xvii

xviii

Unit Versions of CS/CJ-series

Unit Versions

A “unit version” has been introduced to manage Units in the CS/CJ Series according to differences in functionality accompanying Unit upgrades.

Notation of Unit Versions

The unit version is given to the right of the lot number on the nameplate of the

on Products

products for which unit versions are being managed, as shown below.

 

CS1W-EIP21/CJ1W-EIP21

Product nameplate

 

CS1W-

 

UNIT

 

Lot No.

 

Lot No. 040401 0000

Ver.1.0

OMRON Corporation

MADE IN JAPAN

Unit version

Example for unit version 1.0

CJ2H-CPU@@-EIP/CJ2M-CPU3@

Product nameplate

CJ2H-

 

UNIT

 

Lot No. 080701 CPU Ver. 1.0 EIP Ver.2.0

OMRON Corporation

MADE IN JAPAN

Indicates that the unit version of the CPU Unit is 1.0.

Indicates that the unit version of the built-in EtherNet I/P port is 2.0.

Confirming Unit Versions with Support Software

Note

In this manual, the version of the EtherNet/IP port built into the CJ2H- CPU@@-EIP/CJ2M-CPU3@ CPU Unit is given as the unit version.

CX-Programmer version 4.0 can be used to confirm the unit version using the

Unit Manufacturing Information.

The unit versions of Pre-Ver.1.0 Units cannot be confirmed in Unit Manufacturing Information. The following dialog box is displayed.

In the IO Table Window, right-click and select Unit Manufacturing information - CPU Unit.

The following Unit Manufacturing information Dialog Box will be displayed.

xix

Unit version

Note The unit version will be displayed in the Unit Manufacturing Information Dialog Box.

Using Unit Version Label The following unit version label is provided with the EtherNet/IP Unit.

This label can be attached to the front of the EtherNet/IP Unit to differentiate between EtherNet/IP Units with different unit versions.

Unit Versions and CX-Programmer Versions

Use the following versions of the CX-Programmer to make the Unit settings for the EtherNet/IP Unit.

Unit version

 

CX-Programmer

 

 

 

 

 

 

Ver. 7.1 or lower

Ver. 8.0

Ver. 8.02 or higher

 

 

 

 

Unit version 1.0

---

OK*

OK

 

 

 

 

Unit version 2.0

---

OK

OK

 

 

 

 

*The following auto update must be applied to use CX-Programmer version 8.0: CX-Common Components/CPS Upgrade Software 2008.08 0302

Unit Version Notation

 

In this manual, the unit version of a EtherNet/IP Unit is given as shown in the

 

 

 

following table.

 

 

 

 

 

 

 

 

 

 

 

 

Product nameplate

 

Notation used in this manual

 

Special remarks

 

 

 

 

 

 

 

 

Ver. 1.0 or later number

Ethernet Unit Ver. 1.0 or later (See note.)

 

Information without reference to specific Unit

 

shown to right of the lot

 

 

 

 

Versions applies to all versions of the Unit.

 

number

 

 

 

 

 

 

 

Note

 

Some Support Software products call the EtherNet/IP Unit version the “revi-

 

 

 

sion.” “Revision” is also sometimes used in this manual.

CIP Revisions and

 

The CIP revisions corresponding to the unit versions of the EtherNet/IP Unit

Unit Versions

 

are given in the following table.

 

 

 

 

 

 

 

 

 

 

Unit version

 

CIP revision

 

 

 

 

 

 

 

 

 

 

 

Version 1.0

Revision 1.01

 

 

 

 

 

 

 

 

 

 

 

Version 2.0

Revision 2.01 or 2.02

 

 

 

 

 

 

 

 

 

 

xx

PRECAUTIONS

This section provides general precautions for using the CS/CJ-series EtherNet/IP Units and built-in EtherNet/IP ports.

The information contained in this section is important for the safe and reliable application of EtherNet/IP Units or built-in EtherNet/IP ports. You must read this section and understand the information contained before attempting to set up or operate an EtherNet/IP Unit or built-in EtherNet/IP port.

1

Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxii

2

General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxii

3

Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxii

4

Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxiv

5

Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxiv

6

Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxvi

 

6-1

Applicable Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxvi

 

6-2

Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xxvi

xxi

Intended Audience

1

1 Intended Audience

This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).

Personnel in charge of installing FA systems.

Personnel in charge of designing FA systems.

Personnel in charge of managing FA systems and facilities.

2 General Precautions

The user must operate the product according to the performance specifications described in the operation manuals.

Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative.

Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.

This manual provides information for programming and operating the Unit. Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for reference during operation.

!WARNING It is extremely important that a PLC and all PLC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PLC System to the above-mentioned applications.

3 Safety Precautions

!WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing so may result in electric shock.

!WARNING Do not touch any of the terminals or terminal blocks while the power is being supplied. Doing so may result in electric shock.

!WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do so may result in malfunction, fire, or electric shock.

xxii

Safety Precautions

3

!WARNING Provide safety measures in external circuits (i.e., not in the Programmable Controller), including the following items, to ensure safety in the system if an abnormality occurs due to malfunction of the Programmable Controller or another external factor affecting the operation of the Programmable Controller. “Programmable Controller” indicates the CPU Unit and all other Units and is abbreviated “PLC” in this manual.

Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits.

The PLC will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (FALS) instruction is executed. As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system.

The PLC will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (FALS) instruction is executed. Unexpected operation, however, may still occur for errors in the I/O control section, errors in I/O memory, and other errors that cannot be detected by the self-diagnosis function. As a countermeasure for all such errors, external safety measures must be provided to ensure safety in the system.

Provide measures in the computer system and programming to ensure safety in the overall system even if errors or malfunctions occur in data link communications or remote I/O communications.

!Caution Execute online editing only after confirming that no adverse effects will be caused by extending the cycle time. Otherwise, the input signals may not be readable.

Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits.

!Caution Fail-safe measures must be taken by the customer to ensure safety in the event of incorrect, missing, or abnormal signals caused by broken signal lines, momentary power interruptions, or other causes. Serious accidents may result from abnormal operation if proper measures are not provided.

!Caution Confirm safety at the destination node before changing or transferring to another node the contents of a program, the PLC Setup, I/O tables, I/O memory, or parameters. Changing or transferring any of these without confirming safety may result in injury.

!Caution Tighten the screws on the terminal block of the AC Power Supply Unit to the torque specified in the operation manual. The loose screws may result in burning or malfunction.

xxiii

Operating Environment Precautions

4

4 Operating Environment Precautions

!Caution Do not operate the control system in the following locations:

Locations subject to direct sunlight.

Locations subject to temperatures or humidity outside the range specified in the specifications.

Locations subject to condensation as the result of severe changes in temperature.

Locations subject to corrosive or flammable gases.

Locations subject to dust (especially iron dust) or salts.

Locations subject to exposure to water, oil, or chemicals.

Locations subject to shock or vibration.

!Caution Take appropriate and sufficient countermeasures when installing systems in the following locations:

Locations subject to static electricity or other forms of noise.

Locations subject to strong electromagnetic fields.

Locations subject to possible exposure to radioactivity.

Locations close to power supplies.

5 Application Precautions

Observe the following precautions when using the EtherNet/IP Unit or built-in

EtherNet/IP port.

!WARNING Always heed these precautions. Failure to abide by the following precautions could lead to serious or possibly fatal injury.

Always connect to a ground of 100 Ω or less when installing the Units. Not connecting to a ground of 100 Ω or less may result in electric shock.

Always turn OFF the power supply to the CPU Unit and Slaves before attempting any of the following. Not turning OFF the power supply may result in malfunction or electric shock.

Mounting or dismounting Power Supply Units, I/O Units, CPU Units, Memory Packs, or Master Units.

Assembling the Units.

Setting DIP switches or rotary switches.

Connecting cables or wiring the system.

Connecting or disconnecting the connectors.

!Caution Failure to abide by the following precautions could lead to faulty operation of the EtherNet/IP Unit, built-in EtherNet/IP port, or the system, or could damage the Ethernet Unit. Always heed these precautions.

Interlock circuits, limit circuits, and similar safety measures in external circuits (i.e., not in the Programmable Controller) must be provided by the customer.

xxiv

Application Precautions

5

Always use the power supply voltages specified in the operation manuals. An incorrect voltage may result in malfunction or burning.

Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied. Be particularly careful in places where the power supply is unstable. An incorrect power supply may result in malfunction.

Install external breakers and take other safety measures against short-cir- cuiting in external wiring. Insufficient safety measures

Make sure that all the Backplane mounting screws, terminal block screws, and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction.

Leave the label attached to the Unit when wiring. Removing the label may result in malfunction if foreign matter enters the Unit.

Remove the label after the completion of wiring to ensure proper heat dissipation. Leaving the label attached may result in malfunction.

Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals. Connection of bare stranded wires may result in burning.

Observe the following precautions when wiring the communications cable.

Separate the communications cables from the power lines or high-ten- sion lines.

Do not bend the communications cables past their natural bending radius.

Do not pull on the communications cables.

Do not place heavy objects on top of the communications cables.

Always lay communications cable inside ducts.

Use appropriate communications cables.

Make sure that the terminal blocks, expansion cable connectors, and other items with locking devices are locked in place.

Wire all connections correctly according to instructions in this manual.

Double-check all wiring and switch settings before turning ON the power supply. Incorrect wiring may result in burning.

Mount terminal blocks and connectors only after checking the mounting location carefully.

Check the user program (ladder program and other programs) and parameters for proper execution before actually running it on the Unit. Not checking the program may result in unexpected operation.

Confirm that no adverse effect will occur in the system before attempting any of the following. Not doing so may result in an unexpected operation.

Changing the operating mode of the PLC.

Force-setting/force-resetting any bit in memory.

Changing the present value of any word or any set value in memory.

After replacing a Unit, resume operation only after transferring to the new CPU Unit, Special I/O Unit, or CPU Bus Unit the contents of the DM Area, HR Area, programs, parameters, and other data required for resuming operation. Not doing so may result in an unexpected operation.

Before touching a Unit, be sure to first touch a grounded metallic object in order to discharge any static build-up. Not doing so may result in malfunction or damage.

xxv

Conformance to EC Directives

6

When transporting the Unit, use special packing boxes and protect it from being exposed to excessive vibration or impacts during transportation.

CPU Bus Units will be restarted when routing tables are transferred from a Programming Device to the CPU Unit. Restarting these Units is required to read and enable the new routing tables. Confirm that the system will not be adversely affected before allowing the CPU Bus Units to be reset.

When the settings (IP address or tag data link settings) of the EtherNet/IP Unit or built-in EtherNet/IP port are transferred from a Programming Device, all of the destination EtherNet/IP Units or built-in EtherNet/IP ports (nodes) will be reset in order to enable the transferred settings. Transfer settings to the EtherNet/IP Units or built-in EtherNet/IP ports only after verifying that restarting the Units will not cause any problems in the system.

If a repeater hub is used for EtherNet/IP tag data links (cyclic communications), the network's communications load will increase, data collisions will occur frequently, and stable communications will be impossible. Always use a switching hub when using tag data links in the network.

Before resetting a CPU Bus Unit or Special I/O Unit, always verify that restart the Unit will not cause any problems in the system.

6 Conformance to EC Directives

6-1 Applicable Directives

EMC Directives

Low Voltage Directive

6-2 Concepts

EMC Directives

OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards (see the following note). Whether the products conform to the standards in the system used by the customer, however, must be checked by the customer.

EMC-related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration, wiring, and other conditions of the equipment or control panel on which the OMRON devices are installed. The customer must, therefore, perform the final check to confirm that devices and the overall machine conform to EMC standards.

Note Applicable EMS (Electromagnetic Susceptibility) and EMI (Electromagnetic Interference) Standards in the EMC (Electromagnetic Compatibility) standards are as follows:

EtherNet/IP Unit

EMS

EMI

 

 

 

CS1W-EIP21

EN61000-6-2

EN61000-6-4

 

 

(Radiated emission: 10-m

CJ1W-EIP21

 

 

regulations)

 

 

Low Voltage Directive

Always ensure that devices operating at voltages of 50 to 1,000 V AC and 75 to 1,500 V DC meet the required safety standards for the PLC (EN61131-2).

xxvi

SECTION 1

Overview of EtherNet/IP

This section introduces the functions and protocols used in EtherNet/IP Unit or built-in EtherNet/IP port communications services.

1-1

EtherNet/IP Unit Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

1-2 Devices Required for Constructing a Network . . . . . . . . . . . . . . . . . . . . . . . .

4

1-3

Support Software Required to Construct a Network. . . . . . . . . . . . . . . . . . . .

4

1-4

Communications Services Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

1-5

Network Configurator Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10

 

1-5-1

Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10

 

1-5-2

Network Configurator Requirements . . . . . . . . . . . . . . . . . . . . . . . .

10

 

1-5-3

Precautions When Using the Network Configurator . . . . . . . . . . . .

11

1

EtherNet/IP Unit Features Section 1-1

1-1 EtherNet/IP Unit Features

CX-One Support

(3) Switching hub

 

 

 

 

 

 

Software

 

 

 

 

 

 

(2) Twisted-pair cable

 

(1) Built-in EtherNet/IP port on

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

100 m

(1) CS1W-EIP21 EtherNet/IP

(1) CJ1W-EIP21

CJ2 CPU Unit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(CJ2H-CPU@@-EIP/

 

 

 

 

 

 

 

 

 

 

 

 

 

 

max.

Unit for CS-series

EtherNet/IP Unit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CJ2M-CPU3@)

Ethernet (LAN) port

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CS-series

CJ-series

CJ-series

PLC

PLC

PLC

High-speed, High-capacity Data Exchange through Data Links

Tag Data Link (Cyclic

Communications) Cycle

Time

Note

Communicating with FINS Messages (FINS/TCP and FINS/UDP)

Note

Network Connections with Controller Link

EtherNet/IP System Configuration Example

EtherNet/IP is an industrial multi-vendor network that uses Ethernet components. The EtherNet/IP specifications are open standards managed by the ODVA (Open DeviceNet Vendor Association), just like DeviceNet.

EtherNet/IP is not just a network between controllers; it is also used as a field network. Since EtherNet/IP uses standard Ethernet technology, various gen- eral-purpose Ethernet devices can be used in the network. The EtherNet/IP Unit and built-in EtherNet/IP port have the following features.

The EtherNet/IP protocol supports implicit communications, which allows cyclic communications (called tag data links in this manual) with EtherNet/IP devices. Data can be exchanged at high speed between Controllers and devices, using high-volume tag sets (up to 640 words for the CJ2M and up to 184,832 words for other CPU Units) between PLCs.

Tag data links (cyclic communications) can operate at the cyclic period specified for each application, regardless of the number of nodes. Data is exchanged over the network at the refresh cycle set for each connection, so the communications refresh cycle will not increase even if the number of nodes is increased, i.e., the synchronicity of the connection’s data is preserved.

Since the refresh cycle can be set for each connection, each application can communicate at its ideal refresh cycle. For example, a processes interlocks can be transferred at high speed while the production commands and the status monitor information are transferred at low speed.

The communications load to the nodes must be within the Units’ allowed communications bandwidth.

Data can be exchanged with other OMRON FA devices using SEND, RECV, and CMND instructions from the ladder program, because EtherNet/IP supports OMRON’s standard FINS message communications services.

There are two kinds of message services, using UDP/IP and TCP/IP (called FINS/UDP and FINS/TCP), allowing flexible data exchange for different applications.

There are no particular restrictions when sending FINS messages to OMRON Ethernet Units (CS1W-ETN21 or CJ1W-ETN21) in an Ethernet network.

Mutual connections of Controller Link and EtherNet/IP are also supported (using the FINS communications service). The Controller Link connection allows a PLC on the Controller Link network to be monitored from a PLC on the EtherNet/IP network. Conversely, data can be exchanged with a PLC on the EtherNet/IP network from a PLC on the Controller Link network.

2

EtherNet/IP Unit Features

Section 1-1

FTP Server

Automatic PLC Clock

Adjustment

Note

Manage the Network with an SNMP Manager

Note

Specify Servers with Host Names

Note

Set Classless IP Address with CIDR

Plentiful Troubleshooting

Functions

Note

A built-in FTP server is provided to enable transferring files in the PLC to and from a host computer. This enables transferring large amounts of data from a client without any additional ladder programming.

The clocks built into PLCs connected to Ethernet can be automatically adjusted to the time of the clock in the SNTP server. If all of the clocks in the system are automatically adjusted to the same time, time stamps can be used to analyze various production histories.

A separate SNTP server is necessary to automatically adjust the PLC clocks.

Internal status information from the EtherNet/IP Unit or built-in EtherNet/IP port can be passed to network management software that uses an SNMP manager.

A separate SNMP manager is necessary for network management.

DNS client functionality allows you to use host names instead of IP addresses to specify SNTP servers and SNMP managers. This is useful, for example, when server IP addresses change for system revisions because the IP addresses are automatically found when host names are used.

(1)A separate DNS server is necessary to use host names with the DNS client.

(2)The DNS server is specified directly using its IP address.

A subnet mask can be set to use classless IP addresses, allowing more flexibility in address settings.

A variety of functions are provided to quickly identify and handle errors.

Self-diagnosis at power ON

PING command to check the connection with another node

Error Log functions record the time of occurrence and other error details

The CIP (Common Industrial Protocol) is a shared industrial protocol for the OSI application layer. The CIP is used in networks such as EtherNet/IP, ControlNet, and DeviceNet. Data can be routed easily between networks that are based on the CIP, so a transparent network can be easily configured from the field device level to the host level.

The CIP has the following advantages.

Destination nodes are specified by a relative path, without fixed routing tables.

The CIP uses the producer/consumer model. Nodes in the network are arranged on the same level and it is possible to communicate with required devices whenever it is necessary.

The consumer node will receive data sent from a producer node when the connection ID in the packet indicates that the node requires the data. Since the producer can send the same data with the same characteristics in a multicast (either multicast or unicast can be selected), the time required for the transfer is fixed and not dependent on the number of consumer nodes.

3

Devices Required for Constructing a Network

Section 1-2

1-2 Devices Required for Constructing a Network

The basic configuration for an EtherNet/IP System consists of one switching hub to which nodes are attached in star configuration using twisted-pair cable.

CX-One Support

(3) Switching hub

 

 

 

 

 

 

Software

 

 

 

 

 

 

(2) Twisted-pair cable

 

(1) Built-in EtherNet/IP port on

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

100 m

(1) CS1W-EIP21 EtherNet/IP

(1) CJ1W-EIP21

CJ2 CPU Unit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

max.

Unit for CS-series

EtherNet/IP Unit

(CJ2H-CPU@@-EIP/

Ethernet (LAN) port

 

 

 

 

 

 

 

CJ2M-CPU3@)

 

 

 

 

 

 

 

 

CS-series

CJ-series

CJ-series

PLC

PLC

PLC

Recommended

Switching Hubs

The devices shown in the following table are required to configure a network with CS1W-EIP21 and CJ1W-EIP21 EtherNet/IP Units or the built-in EtherNet/ IP port in CJ2H-CPU@@-EIP/CJ2M-CPU3@ CPU Units.

Network device

Contents

 

 

(1) CS1W-EIP21 EtherNet/IP

These are Communications Units or built-in ports

Units for CS-series PLCs,

that connect a CS-series or CJ-series PLC to an Eth-

CJ1W-EIP21 EtherNet/IP

erNet/IP network.

Units for CJ-series PLCs,

 

or built-in EtherNet/IP port

 

in CJ2H-CPU@@-EIP/

 

CJ2M-CPU3@ CPU Units

 

(2) Twisted-pair cable

The twisted-pair cable connects EtherNet/IP Units or

 

built-in EtherNet/IP ports to the switching hub, with

 

an RJ45 Modular Connector at each end.

 

Use an STP (shielded twisted-pair) cable of category

 

5, 5c, or higher.

 

 

(3) Switching Hub

This is a relay device that connects multiple nodes in

 

a star-shaped LAN.

 

 

For details on recommended devices for constructing a network, refer to 2-3-1 Recommended Network Devices.

Note If a repeater hub is used for EtherNet/IP tag data links (cyclic communications), the network’s communications load will increase, data collisions will occur frequently, and stable communications will be impossible. Always use a switching hub when using tag data links in the network.

1-3 Support Software Required to Construct a Network

Unit Setup: CX-

Programmer

This section describes the Support Software that is required to construct an EtherNet/IP network. Make the tag data link settings and Unit setup settings for the EtherNet/IP Unit or built-in EtherNet/IP port. Both of these settings are stored in the EtherNet/IP Unit’s non-volatile memory (See note.). Support Software is provided for each, as described below.

Note Unlike the Ethernet Units, the EtherNet/IP Unit’s TCP/IP settings are not stored in the CPU Unit’s CPU Bus Unit System Setup Area. The settings are stored in the EtherNet/IP Unit itself.

The CX-Programmer is used to set basic parameters, such as the local IP address of the EtherNet/IP Unit or built-in EtherNet/IP port and the subnet mask. (The CX-Programmer is included in the CX-One.)

The CX-Programmer can also be used to check if data I/O is being performed correctly for tag data links.

4

Support Software Required to Construct a Network

Section 1-3

 

Computer

EtherNet/IP Unit

CX-Programmer

Edit Parameters

or built-in

Dialog Box

EtherNet/IP port

 

Unit settings

 

(Built-in non-volatile memory)

 

Tag Data Link Settings:

Network Configurator

Routing Table Settings:

CX-Integrator

CS/CJ-series CPU Unit

Refer to the CX-Programmer Operation Manual (Cat. No. W446) for information on the CX-Programmer.

The Network Configurator is used to set the tag data links for the EtherNet/IP Unit or built-in EtherNet/IP port. (The Network Configurator is included in CXOne version 3.0 or higher.) The main functions of the Network Configurator are given below.

1) Setting and Monitoring Tag Data Links (Connections)

The network device configuration and tag data links (connections) can be created and edited. After connecting to the network, the device configuration and tag data link settings can be uploaded and monitored.

2) Multivendor Device Connections

EDS files can be installed and deleted to enable constructing, setting, and managing networks that contain EtherNet/IP devices from other companies. The IP addresses of EtherNet/IP devices can also be changed.

Computer

EtherNet/IP Unit

Network Configurator

 

or built-in EtherNet/IP port

 

 

 

 

 

 

 

 

 

 

Edit Device

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag Data Link Settings

 

Parameters

 

 

 

Dialog Box

 

 

(Built-in non-volatile memory)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transferred

CS/CJ-series CPU Unit

For details on the Network Configurator, refer to SECTION 6 Tag Data Link Functions.

Propriety OMRON FINS network system can be constructed from OMRON Communications Units. When FINS services are used, the CX-Integrator allows you to set routing tables to define transmission paths. (The CX-Integra- tor is included in the CX-One.) If FINS services are not used, then routing tables are not required.

5

Communications Services Overview

Section 1-4

Personal computer running Windows CX-Integrator

 

Routing table

EtherNet/IP Unit or

settings

built-in EtherNet/IP port

 

Routing Table Area

CS/CJ-series CPU Unit

Refer to the CX-Integrator Operation Manual (Cat. No. W464) for information on the CX-Integrator.

1-4 Communications Services Overview

The following communications services are supported.

CIP (Common Industrial Protocol) Communications Services

1) Tag Data Links (Cyclic Communications)

A program is not required to perform cyclic data exchanges with other devices in the EtherNet/IP network.

Normally, the tag data links in an EtherNet/IP Unit or built-in EtherNet/IP port are started by grouping the tags created with the Network Configurator into a tag set, and establishing a connection with the target device using that group of tags. One connection is used per group (tag set). Up to 32 connections for the CJ2M and up to 256 connections for other CPU Units) can be registered.

The following table gives the tag and tag set specifications.

Tags

Tag sets

 

 

 

 

 

CS1W-EIP21

CJ2M-CPU3@

CS1W-EIP21

 

CJ2M-CPU3@

CJ1W-EIP21

 

CJ1W-EIP21

 

 

CJ2H-CPU@@-EIP

 

CJ2H-CPU@@-EIP

 

 

Total size of all tags

Total size of all tags 640

Maximum size of 1 tag set

 

Maximum size of 1 tag set

184,832 words

words

722 words

 

20 words

 

 

(The maximum size is 721

 

(The maximum size is 19

 

 

words when the tag set

 

words when the tag set

 

 

includes the PLC status.)

 

includes the PLC status.)

 

 

 

 

 

Maximum size of 1 tag 722

Maximum size of 1 tag 20

Number of tags per tag set 8

 

words

words

(7 tags/tag set when the tag set includes the PLC status)

(The maximum size is 721

(The maximum size is 19

Note Input and output variables cannot be combined.

words when the tag set

words when the tag set

 

 

 

includes the PLC status.)

includes the PLC status.)

 

 

 

 

 

 

 

Number of registrable tags

Number of registrable tags

Number of registrable tag

 

Number of registrable tag

256

32

sets 256

 

sets 32

6

Communications Services Overview

 

 

 

 

Section 1-4

 

 

 

 

 

 

 

 

 

 

 

 

 

Connection information

 

 

 

 

 

 

 

 

 

Target IP address

 

 

 

 

 

 

 

 

 

Target tag set

 

 

 

 

 

 

 

 

 

Originator tag set

 

 

 

 

 

 

 

 

 

Packet interval (RPI)

 

Connection

 

 

 

 

 

 

Tag Set (Inputs)

 

 

 

 

Tag Set (Outputs)

 

 

Tag set name: SP1_IN

 

 

 

 

Tag set name: SP1_IN

 

 

 

 

 

 

 

 

 

 

 

 

 

PLC Status

 

 

 

 

PLC Status

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag a

 

 

 

 

Tag i

 

 

 

 

 

 

 

 

 

 

 

 

 

Tag b

 

 

 

 

Tag ii

 

 

 

 

Data flow

 

 

Tag c

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:

Tag g

Originator

 

 

 

 

 

 

Target

 

device

 

 

 

EtherNet/IP

 

 

device

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note In this example, a connection is established with the originator’s tag list containing tags a to g (inputs), which are grouped in a tag set called SP1_IN, and the target’s tag list containing tags i and ii (outputs), which are grouped in a tag set called SP1_OUT.

2) Message Communications (Unconnected Message Service)

User-specified CIP commands can be sent to devices on the EtherNet/IP network. CIP commands, such as those for reading and writing data, can be sent and their responses received by executing the CMND instruction from the CS/ CJ-series CPU Unit’s user program (without using a connection).

CS/CJ-series CPU Unit

CMND

EtherNet/IP Unit

CIP command

Ethernet

 

(EtherNet/IP)

Response

CIP messages (CIP commands and responses) can also be transferred to another CIP-based network via the EtherNet/IP Unit or built-in EtherNet/IP port using the CIP routing function for message communications.

In the CS/CJ Series, CIP routing is possible only through two EtherNet/IP Units or built-in EtherNet/IP port.

7

Communications Services Overview

Section 1-4

EtherNet/IP

 

CS/CJ-series CPU Unit

EtherNet/IP Unit

Ethernet (EtherNet/IP), etc.

EtherNet/IP Unit

FINS

Communications

Service

FINS commands can be sent to or received from other PLCs or computers on the same Ethernet network by executing SEND(090), RECV(098), or CMND(490) instructions in the ladder diagram program. This enables various control operations such as the reading and writing of I/O memory between PLCs, mode changes, and file memory operations.

Note There are no particular restrictions when sending FINS messages to OMRON Ethernet Units (CS1W-ETN21 or CJ1W-ETN21) in an Ethernet network.

Ethernet (EtherNet/IP)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IP

UDP or TCP

FINS

 

 

 

IP

UDP or TCP

FINS

 

 

 

 

CS/CJ-series CPU

Unit

 

 

 

 

 

 

 

 

 

 

EtherNet/IP Unit

Ethernet Unit

EtherNet/IP Unit

User program

SEND(090), RECV(098), or CMND(490) instruction

Various control operations (such as the reading and writing of I/O memory between PLCs, mode changes, and file memory operations) can be executed from the host computer by sending the corresponding FINS command with a UDP/IP or TCP/IP header attached.

For example, it is possible to connect online via Ethernet from FINS communications applications such as the CX-Programmer, and to perform remote programming and monitoring. (See note.)

Note Use CX-Programmer version 4.0 to use TCP/IP. For lower versions of CX-Pro- grammer, FinsGateway Version 2003 or higher is required to use TCP/IP.

8

Communications Services Overview

 

 

 

 

 

 

 

 

 

Section 1-4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ethernet (EtherNet/IP)

IP UDP or TCP FINS

CS/CJ-series CPU

Unit

EtherNet/IP Unit

The FINS gateway function enables access to PLCs on not only the same

Ethernet network but on various other networks, including SYSMAC LINK and

Controller Link.

9

Network Configurator Overview Section 1-5

1-5

Network Configurator Overview

1-5-1

Overview

 

 

 

The Network Configurator Ver. 3.0 or higher is a software package designed

 

 

for building, setting, and controlling a multi-vendor EtherNet/IP Network using

 

 

OMRON's EtherNet/IP. It is included in CX-One version 4.0 or higher. The

 

 

Network Configurator provides the following functions for building, setting, and

 

 

controlling EtherNet/IP.

Network Control

The Network configuration can be created and edited regardless of whether

 

 

the Network Configurator is online or offline. The Network configuration can

 

 

be read from a file or the network.

Hardware (EDS File)

EDS files used by the Network Configurator can be installed and deleted.

Control

1-5-2

Network Configurator Requirements

 

 

 

 

 

 

 

 

Item

Specification

 

 

Operating environment

Refer to the CX-One Setup Manual (W463).

 

 

 

CXONE-AL@@C-V4/CXONE-AL@@D-V4

 

Network

 

 

CS1/CJ1

CJ2

connection

 

 

 

 

 

Serial interface

CPU Unit’s Peripheral or RS-232C port

CPU Unit’s USB or RS-232C port

method

 

 

 

 

 

 

Ethernet interface

EtherNet/IP Unit’s Ethernet port

CPU Unit’s Ethernet port

 

 

 

 

 

 

EtherNet/IP Unit’s Ethernet port

 

 

 

 

Location on Network

A single node address is used (only when directly connected to EtherNet/IP).

 

 

Number of Units that can be

A single Network Configurator per network (More than one Configurator cannot be

connected to Network

used in the same system.)

 

 

 

 

 

 

Main func-

 

Network control

• The network configuration can be created and edited regardless of whether the Net-

tions

 

functions

work Configurator is online or offline.

 

 

 

 

• The network configuration can be read from a file or the network.

 

 

 

 

 

 

Hardware control

The EDS files used by the Network Configurator can be installed and deleted.

 

 

functions

 

 

 

 

 

 

Supported file formats

Configurator network configuration files (*.nvf)

 

 

 

Configuration files (*.ncf) created using the Network Configurator for EtherNet/IP

 

 

 

(version 2) can be imported by selecting External Data - Import from the File

 

 

 

Menu.

 

 

 

 

 

 

10

Network Configurator Overview

Section 1-5

1-5-3 Precautions When Using the Network Configurator

Only an OMRON EtherNet/IP Unit can be set as the originator for a connection using the Network Configurator.

The Network Configurator can be connected to the EtherNet/IP network through the following ports:

CS1/CJ1-series CPU Unit’s serial port (peripheral or RS-232C) or Ethernet port on EtherNet/IP Unit

CJ2-series CPU Unit’s serial port (USB or RS-232C), Ethernet port on EtherNet/IP Unit or built-in EtherNet/IP port

The Network Configurator can be connected directly to the EtherNet/IP network from the computer’s Ethernet port. When connecting directly to the EtherNet/IP network, an Ethernet port must be set up in the computer in advance. In this case, the Network Configurator will be connected to the EtherNet/IP network as a single node. If there isn’t an unused node address available, the Network Configurator can’t be connected directly to the EtherNet/IP network.

11

Network Configurator Overview

Section 1-5

12

SECTION 2

Unit Specifications

This section provides the specifications of EtherNet/IP Units and introduces recommended network configuration devices.

2-1 EtherNet/IP Unit and Built-in EtherNet/IP Port Specifications . . . . . . . . . . .

14

2-1-1

General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

14

2-1-2

Unit Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

14

2-1-3

Communications Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17

2-1-4

Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19

2-1-5

Software Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20

2-2 Nomenclature and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

21

2-2-1

Nomenclature and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

21

2-2-2

Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

26

2-3 Selecting the Network Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

28

2-3-1

Recommended Network Devices . . . . . . . . . . . . . . . . . . . . . . . . . . .

28

2-3-2 Network Devices Manufactured by OMRON . . . . . . . . . . . . . . . . .

28

2-3-3

Switching Hub Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

28

2-3-4

Switching Hub Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29

2-3-5 Precautions When Selecting a Switching Hub . . . . . . . . . . . . . . . . .

29

13

EtherNet/IP Unit and Built-in EtherNet/IP Port Specifications Section 2-1

2-1

EtherNet/IP Unit and Built-in EtherNet/IP Port

 

Specifications

 

2-1-1

General Specifications

 

 

 

The general specifications conform to those of the CS-series and CJ-series

 

 

 

PLCs.

2-1-2

Unit Specifications

CS-series EtherNet/IP Units

 

 

 

 

 

 

 

 

Item

 

 

Specifications

 

 

 

 

Model number

 

 

CS1W-EIP21

 

 

 

 

 

 

Type

 

 

 

 

100Base-TX (See note.)

 

 

 

 

Applicable PLCs

 

 

CS-series PLCs

 

 

 

 

Unit classification

 

 

CS-series CPU Bus Unit

 

 

 

 

Mounting location

 

 

CPU Rack or Expansion Rack

 

 

 

 

Number of Units that can be

 

 

8 max. (including Expansion Racks)

mounted

 

 

 

 

 

 

 

 

 

 

 

CPU Unit

 

Allocated CIO Area

 

 

25 words/Unit (one unit number’s words)

words used

words (CPU Bus Unit

 

 

 

 

 

These words contain control bits and flags, the target node PLC’s operating and

 

 

words)

 

 

 

 

 

 

error information, Unit status, communications status, registered/normal target

 

 

 

 

 

 

 

 

 

 

node information, and FINS/TCP connection status.

 

 

 

 

 

 

 

 

Allocated DM Area

 

 

100 words/Unit (one unit number’s words)

 

 

words (CPU Bus Unit

 

 

 

 

 

 

 

These words contain the IP address display/setting area

 

 

words)

 

 

 

 

 

 

 

 

 

User-set area

 

 

Any usable data area words

 

 

 

 

 

 

 

 

 

 

 

Target node PLC’s operating and error information, and registered/normal target

 

 

 

 

 

node information

 

 

 

 

 

 

 

CPU Bus Unit System

 

Not used.

 

 

Setup

 

 

 

 

 

 

 

 

Non-volatile memory within Ether-

 

 

The following settings are stored in the EtherNet/IP Unit’s non-volatile memory.

Net/IP Unit (See note.)

 

 

Note Unlike the regular Ethernet Units, the CPU Bus Unit Setup Area in the CPU

 

 

 

 

 

 

 

 

 

 

Unit is not used for these settings.

 

 

 

 

 

1. Unit setup (communications settings for the EtherNet/IP Unit, such as the IP ad-

 

 

 

 

 

dress, DNS server settings, host name, baud rate, FINS/UDP settings, and FINS/

 

 

 

 

 

TCP settings)

 

 

 

 

 

2. Tag data link settings (device parameters)

 

 

 

 

 

Transfer

 

Media access method

 

CSMA/CD

specifica-

 

 

 

 

 

 

Modulation method

 

 

Baseband

tions

 

 

 

 

 

 

 

 

 

Transmission paths

 

 

Star form

 

 

 

 

 

 

 

 

 

 

 

 

Baud rate

 

 

100 Mbit/s (100Base-TX)

 

 

 

 

 

 

 

 

Transmission media

 

 

Shielded twisted-pair (STP) cable

 

 

 

 

 

Categories: 100 Ω at 5, 5e

 

 

Transmission distance

 

100 m (distance between hub and node)

 

 

 

 

 

 

 

 

Number of cascade

 

 

There is no limitation when a switching hub is used.

 

 

connections

 

 

 

 

 

 

 

 

Current consumption (Unit)

 

 

410 mA max. at 5 V DC

 

 

 

 

 

 

Weight

 

 

 

 

171 g max.

 

 

 

 

Dimensions

 

 

35 × 130 × 101 mm (W × H × D)

 

 

 

 

Other general specifications

 

 

Other specifications conform to the general specifications of the CS-series

 

 

 

 

 

 

 

Note

If tag data links are being used, use 100Base-TX. Otherwise, 10Base-T can

 

 

 

be used, but this is not recommended.

14

EtherNet/IP Unit and Built-in EtherNet/IP Port Specifications

Section 2-1

CJ-series EtherNet/IP Unit

 

 

 

 

 

 

Item

Specifications

 

 

 

 

Model number

CJ1W-EIP21

 

 

 

 

 

Type

 

100Base-TX (See note.)

 

 

 

 

Applicable PLCs

CJ-series PLCs

 

 

 

 

Unit classification

CJ-series CPU Bus Unit

 

 

 

 

Mounting location

CPU Rack or Expansion Rack

 

 

 

 

Number of Units that can be

8 max. (including Expansion Racks)

 

mounted

 

Note Up to seven EtherNet/IP Units can be connected to a CJ2H-CPU@@-EIP CPU

 

 

 

 

Unit. Up to two EtherNet/IP Units can be connected to a CJ2M CPU Unit.

 

 

 

 

CPU Unit

Allocated CIO Area

25 words/Unit (one unit number’s words)

 

words used

words (CPU Bus

 

 

These words contain control bits and flags, the target node PLC’s operating and error

 

Unit words)

 

information, Unit status, communications status, registered/normal target node infor-

 

 

 

 

mation, and FINS/TCP connection status.

 

 

 

 

 

 

Allocated DM Area

100 words/Unit (one unit number’s words)

 

 

words (CPU Bus

 

 

 

These words contain the IP address display/setting area.

 

 

Unit words)

 

 

 

 

 

 

 

 

 

User-set area

Any usable data area words

 

 

 

 

 

 

Target node PLC’s operating and error information, and registered/normal target

 

 

node information

 

 

 

 

 

 

CPU Bus Unit Sys-

Not used.

 

 

tem Setup

 

 

 

 

 

Non-volatile memory within Ether-

The following settings are stored in the EtherNet/IP Unit’s non-volatile memory.

Net/IP Unit (See note.)

Note Unlike the regular Ethernet Units, the CPU Bus Unit Setup Area in the CPU

 

 

 

 

Unit is not used for these settings.

 

 

 

1. Unit Setup (communications settings for the EtherNet/IP Unit, such as the IP ad-

 

 

dress, DNS server settings, host name, baud rate, FINS/UDP settings, and FINS/

 

 

TCP settings)

 

 

 

2. Tag data link settings (device parameters)

 

 

 

 

 

Transfer

Media access

CSMA/CD

 

specifica-

method

 

 

tions

 

 

 

Modulation method

Baseband

 

 

 

 

 

 

 

 

Transmission paths

Star form

 

 

 

 

 

 

Baud rate

100 Mbit/s (100Base-TX)

 

 

 

 

 

 

Transmission media

Shielded twisted-pair (STP) cable

 

 

 

Categories: 100 Ω at 5, 5e

 

 

 

 

 

 

Transmission dis-

100 m (distance between hub and node)

 

 

tance

 

 

 

 

 

 

 

Number of cascade

There is no limitation when a switching hub is used.

 

 

connections

 

 

 

 

 

 

Current consumption (Unit)

410 mA max. at 5 V DC

 

 

 

 

 

Weight

 

94 g max.

 

 

 

 

 

Dimensions

 

31 × 90 × 65 mm (W × H × D)

 

 

 

Other general specifications

Other specifications conform to the general specifications of the CJ-series.

 

 

 

 

Note

If tag data links are being used, use 100Base-TX. Otherwise, 10Base-T can

 

 

be used, but this is not recommended.

 

15

EtherNet/IP Unit and Built-in EtherNet/IP Port Specifications

Section 2-1

CJ2 CPU Built-in EtherNet/IP Port

 

 

 

 

 

 

Item

Specifications

 

 

 

Model number

CJ2H-CPU@@-EIP

CJ2M-CPU3@

Type

 

100Base-TX (See note.)

 

 

 

Unit classification

CJ2 CPU Unit built-in port (CJ2 CPU Bus Unit)

 

 

 

 

CPU Unit

Allocated CIO Area

25 words/Unit (one unit number’s words)

 

words used

words (CPU Bus

 

 

These words contain control bits and flags, the target node PLC’s operating and error

 

Unit words)

 

information, Unit status, communications status, registered/normal target node infor-

 

 

 

 

mation, and FINS/TCP connection status.

 

 

 

 

 

 

Allocated DM Area

100 words/Unit (one unit number’s words)

 

 

words (CPU Bus

 

 

 

These words contain the IP address display/setting area.

 

Unit words)

 

 

 

 

 

 

 

 

User-set area

Any usable data area words

 

 

 

 

 

 

Target node PLC’s operating and error information, and registered/normal target

 

 

node information

 

 

 

 

 

 

CPU Bus Unit Sys-

Not used.

 

 

tem Setup

 

 

 

 

 

 

Non-volatile memory for the CJ2

The following settings are stored in the non-volatile memory for the built-in EtherNet/

built-in EtherNet/IP port

IP port.

 

 

 

Note Unlike the regular Ethernet Units, the CPU Bus Unit Setup Area in the CPU

 

 

Unit is not used for these settings.

 

 

 

1. Unit Setup (communications settings for the built-in EtherNet/IP port, such as the

 

 

IP address, DNS server settings, host name, baud rate, FINS/UDP settings, and

 

 

FINS/TCP settings)

 

 

 

2. Tag data link settings (device parameters)

 

 

 

 

Transfer

Media access

CSMA/CD

 

specifica-

method

 

 

tions

 

 

 

Modulation method

Baseband

 

 

 

 

 

 

 

 

Transmission paths

Star form

 

 

 

 

 

 

Baud rate

100 Mbit/s (100Base-TX)

 

 

 

 

 

 

Transmission media

Shielded twisted-pair (STP) cable

 

 

 

Categories: 100 Ω at 5, 5e

 

 

Transmission dis-

100 m (distance between hub and node)

 

 

tance

 

 

 

 

 

 

Number of cascade

There is no limitation when a switching hub is used.

 

connections

 

 

 

 

 

 

Current consumption (Unit)

For CJ2 CPU Units, refer to the CJ2 CPU Hardware Operation Manual (W472).

 

 

 

 

Weight

 

 

 

 

 

 

 

Dimensions

 

 

 

 

 

Other general specifications

Other specifications conform to the general specifications of the CJ2 or built-in Ether-

 

 

Net/IP port CJ2 CPU Unit.

 

 

 

 

 

 

Note

If tag data links are being used, use 100Base-TX. Otherwise, 10Base-T can

 

 

be used, but this is not recommended.

 

16

EtherNet/IP Unit and Built-in EtherNet/IP Port Specifications Section 2-1

2-1-3

Communications Specifications

 

 

 

 

 

 

 

 

 

 

 

Item

CS1/CJ1

CJ2H

CJ2M

 

 

 

 

 

 

 

CIP

Tag data

 

Number of connections

256

 

32

service

links

 

 

 

 

 

 

Packet interval (refresh

0.5 to 10,000 ms (in 0.5-ms units)

1 to 10,000 ms (in 0.5-

 

(Cyclic

 

 

 

cycle)

Can be set independently for each connection.

ms units)

 

communi-

 

 

 

 

Can be set indepen-

 

 

 

(Data is refreshed over the network at the preset

 

cations)

 

 

 

 

 

 

interval and does not depend on the number of

dently for each connec-

 

 

 

 

tion.

 

 

 

 

nodes.)

 

 

 

 

 

 

(Data is refreshed over

 

 

 

 

 

 

 

 

 

 

 

 

the network at the pre-

 

 

 

 

 

 

set interval and does

 

 

 

 

 

 

not depend on the

 

 

 

 

 

 

number of nodes.)

 

 

 

 

 

 

 

 

 

 

Allowed communica-

6000 pps (See note 1.)

 

3000 pps (See note 1.)

 

 

 

tions bandwidth per

Note Including the heartbeat.

Note Including the

 

 

 

Unit

 

 

 

 

 

heartbeat.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of tags that

256

 

32

 

 

 

can be registered

 

 

 

 

 

 

 

 

 

 

 

 

Tag types

CIO Area, DM Area, EM Area, Holding Area, Work Area, and network

 

 

 

 

symbols (See note 8.)

 

 

 

 

 

 

 

 

 

 

Number of tags per

8 (7 tags when the tag set contains the PLC status)

 

 

 

connection (= 1 tag

 

 

 

 

 

 

set)

 

 

 

 

 

 

 

 

 

 

 

 

 

Maximum link data size

184,832 words

 

640 words

 

 

 

per node

 

 

 

 

 

 

 

 

 

 

 

 

Maximum data size per

252 words or 722 words (See note 2.)

20 words

 

 

 

connection

Note Data synchronicity is maintained within

Note Data synchronic-

 

 

 

 

 

 

 

 

each connection.

 

ity is maintained

 

 

 

 

 

 

within each con-

 

 

 

 

 

 

nection.

 

 

 

 

 

 

 

 

 

 

Number of registrable

256

 

32

 

 

 

tag sets

(1 connection = 1 tag set)

(1 connection = 1 tag

 

 

 

 

 

 

set)

 

 

 

 

 

 

 

 

 

 

Maximum size of 1 tag

722 words

 

20 words

 

 

 

set

(The PLC status uses 1 word when the tag set

(The PLC status uses 1

 

 

 

 

contains the PLC status.)

word when the tag set

 

 

 

 

 

 

contains the PLC sta-

 

 

 

 

 

 

tus.)

 

 

 

 

 

 

 

 

 

 

Maximum number of

Output/Transmission

Output/Transmission

Output/Transmission

 

 

 

tags that can be

(CPU → EtherNet/IP):

(CPU → EtherNet/IP):

(CPU → EtherNet/IP):

 

 

 

refreshed per CPU Unit

19

256

32

 

 

 

cycle (See note 3.)

Input/Reception

Input/Reception

Input/Reception

 

 

 

 

 

 

 

 

(EtherNet/IP → CPU):

(EtherNet/IP → CPU):

(EtherNet/IP → CPU):

 

 

 

 

20 (See note 4.)

256

32

 

 

 

 

 

 

 

 

 

 

Data that can be

Output/Transmission

Output/Transmission

Output/Transmission

 

 

 

refreshed per CPU Unit

(CPU → EtherNet/IP):

(CPU → EtherNet/IP):

(CPU → EtherNet/IP):

 

 

 

cycle (See note 3.)

7,405 words

6,432 words

640 words

 

 

 

 

Input/Reception

Input/Reception

Input/Reception

 

 

 

 

(EtherNet/IP → CPU):

(EtherNet/IP → CPU):

(EtherNet/IP → CPU):

 

 

 

 

7,405 words

6,432 words

640 words

 

 

 

 

 

 

 

 

 

 

Changing tag data link

Supported (See note 5.)

 

 

 

 

 

parameters during

 

 

 

 

 

 

operation

 

 

 

 

 

 

 

 

 

 

 

 

 

Multicast packet filter

Supported

 

 

 

 

 

function (See note 6.)

 

 

 

 

 

 

 

 

 

 

17

EtherNet/IP Unit and Built-in EtherNet/IP Port Specifications

 

Section 2-1

 

 

 

 

 

 

 

 

 

 

Item

CS1/CJ1

 

CJ2H

CJ2M

 

 

 

 

 

 

 

 

CIP

Explicit

 

Class 3 (connected)

Number of connections: 128

 

 

service

messaging

 

 

 

 

 

 

 

UCMM (unconnected)

Number of clients that can communicate at one

Number of clients that

 

 

 

 

 

 

 

time:

 

can communicate at

 

 

 

 

32 max.

 

one time:

 

 

 

 

Number of servers that can communicate at one

16 max.

 

 

 

 

Number of servers that

 

 

 

 

time:

 

 

 

 

 

32 max.

 

can communicate at

 

 

 

 

 

 

 

one time:

 

 

 

 

 

 

 

16 max.

 

 

 

 

 

 

 

 

 

 

CIP routing

CS1W-EIP21

 

 

 

 

 

 

CJ1W-EIP21

 

 

 

 

 

 

CJ2H-CPU@@-EIP

 

 

 

 

 

 

CJ2M-CPU3@

 

 

FINS service

 

FINS/UDP

Supported

 

 

(See note 7.)

 

 

 

 

 

 

 

FINS/TCP

16 connections max.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SNMP

 

 

Agent

SNMPv1, SNMPv2c

 

 

 

 

 

 

 

 

 

 

 

 

MIB

MIB-II

 

 

 

 

 

 

 

 

EtherNet/IP conformance test

Conforms to A5

 

 

 

 

 

 

 

 

Ethernet interface

 

 

10BASE-T or 100BASE-TX

 

 

 

 

 

 

Auto Negotiation or fixed settings

 

 

 

 

 

 

 

 

 

 

Note (1) In this case, pps means “packets per second” and indicates the number of packets that can be processed in one second.

(2)To use 505 to 1,444 bytes as the data size, the system must support the Large Forward Open standard (an optional CIP specification). The SYSMAC CS/CJ-series Units support this standard, but before connecting to nodes of other companies, confirm that those devices also support it.

(3)If the maximum data size is exceeded, the data refreshing with the CPU Unit will extend over two or more cycles.

(4)If status layout is selected in the user settings, the maximum number of tags that can be received is 19 tags.

(5)If parameters are changed in the EtherNet/IP Unit, however, the EtherNet/IP Unit will be restarted. When other nodes are communicating with the affected node, the communications will temporarily time out and automatically recover later.

(6)Because the EtherNet/IP Unit is equipped with an IGMP client (version 2), unnecessary multicast packets can be filtered by using a switching hub that supports IGMP snooping.

(7)The EtherNet/IP Unit uses the TCP/UDP port numbers shown in the following table.

Service

Protocol

Port number

Remarks

 

 

 

 

Tag data links

UDP

2222

Fixed value

 

 

 

 

Class 3, UCMM

TCP/UDP

44818

 

 

 

 

 

DNS

UDP

53

 

 

 

 

 

FINS/UDP service

UDP

9600

Port numbers in the Unit

 

 

 

Setup can be changed with

FINS/TCP service

TCP

9600

the CX-Programmer.

 

 

 

FTP

TCP

20, 21

 

 

 

 

 

SNTP

UDP

123

 

 

 

 

 

SNMP

UDP

161

 

 

 

 

 

SNMP trap

UDP

162

 

 

 

 

 

(8)Network symbols can be used only with a CJ2H-CPU6@-EIP or CJ2MCPU3@ CPU Unit.

18

EtherNet/IP Unit and Built-in EtherNet/IP Port Specifications

Section 2-1

2-1-4 Dimensions

CS1W-EIP21

130 mm

CJ1W-EIP21

90 mm

EIP21

 

MS

 

 

NS

 

 

COMM

 

 

100M

 

 

10M

 

 

 

UNIT

0

 

NO.

NODE

 

NO.

0

1

 

×161

×160

IP

ADDRESS

 

192.168.250.1

SUBNET MASK

255.255.255.0

100BASE-TX

 

 

10BASE-T

 

35 mm

31 mm

EIP21

MS

NS COMM 100M 10M

 

 

 

2

7

UNIT

 

 

 

3456

 

 

 

 

01

8

No.

 

 

 

E

A9

 

 

 

F

 

 

 

 

 

DC B

 

2

7

 

2

7

NODE

3456

 

3456

 

01

8

 

01

8

No.

F

9

 

F

9

EDCBA

x161

EDC BA

x160

IP ADDRESS

192.168.250.1

SUBNET MASK

255.255.255.0

100BASE-TX 10BASE-T

101 mm

65 mm

CJ2H-CPU@@-EIP

2.7 mm

 

 

 

 

 

 

 

 

 

 

66.2 mm

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

90 mm

65 mm

2.7 mm

79.8 mm

 

74.5 mm

19

EtherNet/IP Unit and Built-in EtherNet/IP Port Specifications

Section 2-1

CJ2M-CPU3@

2.7 mm

90 mm

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2.7 mm

 

 

 

62 mm

76.16 mm

75 mm

84.5 mm

2-1-5 Software Configuration

Memory Card/

 

Interface with CPU Unit

 

 

 

EM file memory

 

 

 

 

 

 

 

 

 

FINS

FINS

Cyclic

FINS

 

FINS

encapsulization

 

 

 

 

 

 

Tag data link function

Explicit messaging

 

 

FTP

FINS Service

 

 

 

Automatic

(FINS/UDP and FINS/TCP)

 

CIP

clock adjustment

 

 

 

 

 

 

 

 

 

Encapsulation

 

 

 

TCP

 

UDP

 

 

 

IP

 

ARP

ICMP

IGMP

LAN controller driver

LAN controller

20

Nomenclature and Functions

Section 2-2

2-2 Nomenclature and Functions

2-2-1 Nomenclature and Functions

CS1W-EIP21

CJ1W-EIP21

EIP21

 

 

MS

 

LED Indicators

NS

 

COMM

 

 

100M

 

 

10M

 

 

UNIT

0

Unit number

NO.

 

setting switch

 

 

NODE 0

1

Node address

NO.

 

setting switches

×161

×160

IP ADDRESS

 

Label showing

192.168.250.1

IP address

SUBNET MASK

 

255.255.255.0

 

100BASE-TX

 

 

10BASE-T

 

 

 

 

Ethernet

 

 

connector

EIP21

 

 

 

MS

 

 

NS

 

 

COMM

LED Indicators

 

100M

 

10M

 

 

 

 

 

2 4

7

UNIT

 

 

 

 

 

 

 

 

 

3

56

No.

 

 

 

Unit number

 

 

 

 

 

E

A9

 

 

 

 

 

 

 

 

01

8

 

 

 

 

 

 

 

 

 

 

 

F

 

 

 

 

 

 

 

 

 

 

 

 

DCB

 

 

 

 

 

setting switch

 

 

 

 

 

 

 

 

 

 

 

 

 

2

4 7

 

2

7

NODE

 

 

 

 

 

3

56

 

3456

No.

 

 

 

Node address

 

F

9

 

F

9

 

 

 

 

01

8

 

01

8

 

 

 

 

 

 

 

 

EDCBA x161 EDCBA

x160

 

 

 

setting switches

 

 

 

 

 

 

 

 

 

 

 

 

 

IP

ADDRESS

 

 

 

 

 

 

 

 

192.168.250.1

 

 

 

 

 

Label showing

 

SUBNET

MASK

 

 

 

 

 

 

IP address

 

255.255.255.0

 

 

 

 

 

 

 

100BASE-TX

 

 

 

 

 

 

 

 

 

10BASE-T

 

 

 

 

 

 

Ethernet

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

connector

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Backplane

Connector

21

Nomenclature and Functions

Section 2-2

Built-in EtherNet/IP Port in CJ2H-CPU@@-EIP

LED Indicators

Unit number setting switch

Node address setting switches

Label showing

IP address

Ethernet

connector

Built-in EtherNet/IP Port in CJ2M-CPU3@

LED Indicators

Unit number setting switch Node address setting switches

Label showing

IP address

Ethernet connector

Ethernet Address Notation A specific Ethernet address is allocated to all devices connected to the Ethernet network. The EtherNet/IP Unit’s address is listed in 12-digit hexadecimal on the right side of the Unit.

CS1W-EIP21

ETHERNET/IP UNIT

Lot No.

OMRON Corporation MADE IN JAPAN

@@@@@@@@@@@@

Ethernet Address

Ethernet address (12 digits)

Note (1) The Ethernet Address can also be checked with the CONTROLLER DATA READ command. For details, refer to Appendix E FINS Commands Addressed to EtherNet/IP Units or Built-in EtherNet/IP Ports.

(2)An IP address label is included with the EtherNet/IP Unit, so the user can record the user-set IP address and subnet mask on the label, and affix the label to the front of the Unit. When this label is affixed to the front of the Unit, it is easy to confirm the Unit’s IP address and subnet mask.

22

Nomenclature and Functions

Section 2-2

EIP21

MS

NS COMM 100M 10M

 

 

 

 

2 4 7

UNIT

 

 

 

 

3

56

 

 

 

 

 

01

 

8

No.

 

 

 

 

E

A9

 

 

 

 

F

 

 

 

 

 

 

 

DCB

 

 

3456

 

3456

NODE

2

7

 

2

7

 

01

 

8

 

01

 

8

No.

F

 

9

1

F

 

9

E

A

E

A

0

DCB

 

x16

DCB

 

x16

 

 

 

 

 

 

IP ADDRESS

192.168.250.1

SUBNET MASK

255.255.255.0

100BASE-TX 10BASE-T

Example label

IP ADDRESS

192.168.250.1

SUBNET MASK

255.255.255.0

Affix the label on the front of the EtherNet/IP Unit, between the node address switches and the Ethernet connector.

Indicators

Status Indicators: MS, NS,

COMM, 100M, and 10M

A EtherNet/IP Units or built-in EtherNet/IP port is equipped with the following indicators that indicate the operating status of the node itself and the overall network.

CS1W-EIP21

EIP21

MS NS

COMM 100M 10M

CJ1W-EIP21, CJ2H-CPU@@-EIP, and CJ2M-CPU3@

EIP21

MS

NS COMM 100M

10M

The MS (Module Status) indicator indicates the status of the node itself and the NS (Network Status) indicator indicates the status of the network.

The COMM, 100M, and 10M indicators indicate the status of Ethernet communications.

The MS and NS indicators can be green or red. The COMM, 100M, and 10M indicators are yellow. These indicators can be lit, flashing, or not lit. The following table shows the meaning of these indicator conditions.

Refer to SECTION 14 Troubleshooting and Error Processing for details on using these indicators for troubleshooting.

23

Nomenclature and Functions

 

 

Section 2-2

 

 

 

 

 

 

 

Indicator

Name

Color

LED status

Indicated operating status

 

 

 

 

 

 

 

MS

Module Status

Red

Lit

Fatal error

 

 

 

 

 

 

 

 

 

 

Flashing

Recoverable error

 

 

 

 

 

 

 

 

 

Green

Lit

Normal

 

 

 

 

 

 

 

 

 

---

Not lit

Power supply OFF

 

 

 

 

 

 

 

NS

Network Status

Red

Lit

Fatal error

 

 

 

 

 

 

 

 

 

 

Flashing

Recoverable error

 

 

 

 

 

 

 

 

 

Green

Lit

Tag data link and message connections established

 

 

 

 

 

 

 

 

 

 

Flashing

Tag data link and message connections not established

 

 

 

 

 

 

 

 

 

---

Not lit

Offline or power supply OFF

 

 

 

 

 

 

 

COMM

Communication

Yellow

Lit

Transferring data

 

 

 

 

 

 

 

 

 

 

Not lit

Not transferring data

 

 

 

 

 

 

 

100M

100 Mbps

Yellow

Lit

100BASE-TX link established

 

 

 

 

 

 

 

 

 

 

Not lit

100BASE-TX link not established

 

 

 

 

 

 

 

10M

10 Mbps

Yellow

Lit

10BASE-TX link established

 

 

 

 

 

 

 

 

 

 

Not lit

10BASE-TX link not established

 

 

 

 

 

 

Seven-segment Display When the power is turned ON (or the Unit is restarted), all of the segments will flash twice, the IP address set in the EtherNet/IP Unit or built-in EtherNet/IP port will be displayed on the 7-segment display just once, from right to left. Afterwards, the rightmost 8 bits of the IP address is displayed in hexadecimal during normal operation.

Example 1: Displaying IP Address 192.168.250.10

The IP address is displayed in decimal, flowing from right to left.

If the Unit is operating normally, the last digit of the

Unit's IP address is displayed in hexadecimal.

Flashing: The tag data link is stopped.

Lit: The tag data link is operating.

24

Nomenclature and Functions

Section 2-2

If an error occurs, the error code will be displayed alternately with the rightmost byte of the affected device’s IP address. For details on error codes, refer to SECTION 14 Troubleshooting and Error Processing.

Displaying Multiple Error Sources

A d6 error (failed to establish connection) occurred with IP address 192.168.250.8.

A d6 error (failed to establish connection) occurred with IP address 192.168.250.9.

A d5 error (verification error, target nonexistent) occurred with IP address 192.168.250.64.

A C6 error (multiple switches ON) and EA error (EtherNet/IP expansion setting error) occurred at the local EtherNet/IP Unit or built-in EtherNet/IP port, IP address 192.168.250.10.

The error code is displayed and then the last digit of the target node's

IP address is displayed in hexadecimal.

Displays errors that occurred within the Unit.

The last digit of the Unit's IP address is displayed in hexadecimal.

There is no particular priority to the order in which the errors are displayed. All of the errors are displayed repeatedly in order.

25

Nomenclature and Functions

Section 2-2

Right and Left Dot LEDs

If an error occurred in two or more devices with the same rightmost byte in their IP addresses, the Right Dot LED will be lit while the devices’ error is being displayed.

Example: Displaying the Following Errors

A d6 error (failed to establish connection) occurred with IP address 10.0.1.8.

A d6 error (failed to establish connection) occurred with IP address 10.0.2.8.

2-2-2 Switch Settings

Unit Number Setting The Unit Number Setting Switch sets the unit number of the EtherNet/IP Unit Switch or built-in EtherNet/IP port as a CPU Bus Unit. The unit number determines which data area words are allocated to the Unit to contain data such as con-

trol bits, flags, status information, and connection information.

10FE

 

2

 

6 B

 

789A

 

Setting method

Setting range

 

 

One-digit hexadecimal

0 to F

 

 

Note The unit number is factory-set to 0.

The unit number can be set to any number in the setting range (0 to F), as long as the same number is not set on another CPU Bus Unit in the same PLC.

Note (1) Use a small screwdriver to make the setting, and be sure not to damage the rotary switch.

(2)Always turn OFF the PLC’s power supply before setting the unit number.

(3)The unit number is factory-set to 0.

(4)If the same unit number is set on more than one CPU Bus Unit mounted in a PLC, a unit number duplication error will occur in the PLC and the EtherNet/IP Unit or built-in EtherNet/IP port will not be able to start oper-

ating.

26

Nomenclature and Functions

Section 2-2

Node Address Setting

Switch

The Node Address Setting Switch sets the node address of the EtherNet/IP Unit or built-in EtherNet/IP port.

10FE 2

210F 3

6789A

X161

789AB

X160

Setting method

Setting range

 

 

Two-digit hexadecimal

01 to FE

 

 

Note The node address is factory-set to 01. With the default settings, the values set on these switches become the last two digits of the local IP address of the EtherNet/IP Unit or built-in EtherNet/IP port.

Default IP address = 192.168.250.node address

With the factory-default node address setting of 01, the default IP address is 192.168.250.1.

The node address can be set to any number in the setting range (01 to FE), as long as the same address is not set on another node in the network.

Note If the node address setting is changed during operation, the MS Indicator will flash red.

27

Selecting the Network Devices Section 2-3

2-3

Selecting the Network Devices

 

2-3-1

Recommended Network Devices

 

 

 

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

 

 

Net/IP.

 

 

 

 

 

 

Part

 

Maker

Model number

Inquires

 

 

 

 

 

Switching

 

Cisco Systems, Inc.

Consult the manufacturer.

Cisco Systems, Inc. Main Corpo-

Hub

 

 

 

rate HQ

 

 

 

 

 

 

 

Contec USA, Inc.

Consult the manufacturer.

CONTEC USA Inc.

 

 

 

 

 

 

 

Phoenix Contact

Consult the manufacturer.

Phoenix Contact USA Customer

 

 

 

 

Service

 

 

 

 

Twisted-pair

100BASE-TX

 

 

cable

 

 

 

 

 

Fujikura

F-LINK-E 0.5mm × 4P

Fujikura America, Inc.

 

 

 

 

 

 

 

 

 

EtherNet/IP compliant cable

---

 

 

 

 

Connectors

STP Plug

 

 

(Modular

 

 

 

 

 

Panduit Corporation

MPS588

Panduit Corporation US Headquar-

plug)

 

 

 

 

ters

 

 

 

 

 

 

 

 

 

Boots

 

Tsuko Company

MK boot (IV) LB

Tsuko Company Japan Headquar-

 

 

 

 

ters

 

 

 

 

 

Note (1) Always use a switching hub when using tag data links in the network.

(2)If a repeater hub is used for EtherNet/IP tag data links (cyclic communications), the network’s communications load will increase, data collisions will occur frequently, and stable communications will be impossible.

2-3-2 Network Devices Manufactured by OMRON

The following network devices are manufactured by OMRON for EtherNet/IP networks.

Name

Model

Function

Number of

Error detection

 

 

 

ports

output

 

 

 

 

 

Switching Hub

W4S1-03B

Packet priority control (QoS):

3

None

 

 

EtherNet/IP control data priority

 

 

 

W4S1-05B

Failure detection: Broadcast

5

None

 

 

 

 

 

 

storm, LSI error detection, 10/

 

 

 

W4S1-05C

5

Provided.

 

100Base-TX, Auto-Negotiation

 

 

 

 

 

 

 

 

 

2-3-3 Switching Hub Types

Unmanaged Layer 2 (L2)

Switching Hubs

Managed Layer 2 (L2)

Switching Hubs

These switching hubs use the Ethernet MAC address to switch ports. Ordinary switching hubs have this function. Switching hub functions and settings cannot be changed.

These switching hubs use the Ethernet address to switch ports. Switching hub functions and settings can be changed using special software tools for switching hubs running on a network node. Analytical data can also be collected. These switching hubs provide more-advanced functions that unmanaged layer 2 switching hubs.

28

Selecting the Network Devices

Section 2-3

2-3-4 Switching Hub Functions

Multicast Filtering

QoS (Quality of Service) Function for TCP/UDP Port Numbers (L4)

This section describes the switching hub functions that are important when using an EtherNet/IP network. When using an EtherNet/IP Unit, set the following two functions.

Multicast filtering

QoS (Quality of Service) for TCP/UDP port numbers (L4)

Multicast filtering transfers multicast packets to the specific nodes only. This function is implemented in the switching hub as IGMP Snooping or GMRP. “Specific nodes” are nodes equipped with an IGMP client that have made transfer requests to the switching hub. (OMRON EtherNet/IP Units are equipped with an IGMP client.)

When the hub does not use multicast filtering, multicast packets are sent to all nodes, just like broadcast packets, which increases the traffic in the network. Settings must be made in the switching hub to enable this function.

There must be enough multicast filters for the network being used.

This function controls the priority of packet transmissions so that packets can be sent with higher priority to a particular IP address or TCP (UDP) port. The TCP and UDP protocols are called transport layer protocols, leading to the name L4 (layer 4) QoS function.

When tag data links and message communications are executed on the same network, tag data links can be sent at higher priority to prevent problems such as transmission delays due to message communications traffic and packet losses due to buffer overflow. Settings must be made in the switching hub to enable this function and give higher priority to tag data link packets.

Support for the above two functions is as follows for the different types of switching hubs.

Hub

Multicast

L4 QoS

Remarks

 

filtering

 

 

 

 

 

 

Unmanaged L2 switching hub

None

None

---

 

 

 

 

Managed L2 switching hub

Provided.

Provided.

Both functions must

 

 

 

be set with a special

 

 

 

software tool.

 

 

 

 

OMRON W4S1-series Switching

None

Provided.

L4 QoS is set using

Hubs

 

 

a switch. No soft-

 

 

 

ware tool is neces-

 

 

 

sary.

Note If the Network Configurator is used to set the connection type in the connection settings to a multicast connection, multicast packets will be used. If the connection type is set to a point-to-point connection, multicast packets will not be used.

2-3-5 Precautions When Selecting a Switching Hub

The functions supported by the switching hub may affect tag data link transmission delays and the configuration. In addition, if the switching hub supports advanced functions, special settings are required for those functions.

29

Selecting the Network Devices

Section 2-3

When selecting a switching hub, it is necessary to consider whether the switching hub will be selected based on the kind and amount of communications that will be performed in the network or the kind of switching hub that you want to use. Refer to the following precautions when selecting a switching hub.

Refer to 10-2 Adjusting the Communications Load to estimate the communications load for tag data links.

Selecting the Switching Hub Based on the Types of Network Communications

Executing Tag Data Links

Only

Executing Tag Data Links

and Message

Communications

We recommend using an L2 switching hub without multicast filtering or an L2 switching hub with multicast filtering.

Using an L2 switching hub with multicast filtering prevents increased traffic due to unnecessary multicast packets, so the tag data links can operate at higher speed. If either of the following conditions exists, the amount traffic will be the same for both kinds of L2 switching hubs (with or without multicast filtering).

The tag data links are set to share the same data with all nodes in the network. (The multicast packets are transferred to all nodes in the network, just like a broadcast.)

The tag data link settings are all one-to-one (unicast) and multicast packets cannot be used.

If multicast filters are being used, settings must be made in the switching hub. There must be enough multicast filters for all of the networks being used.

We recommend using an L2 switching hub with multicast filtering and L4 QoS.

By setting tag data links for higher-priority transmission, it is possible to prevent problems such as transmission delays due to message communications traffic and packet losses due to buffer overflow. Settings must be made in the switching hub to enable this function and give higher priority to tag data link packets.

Special settings must be made in the switching hub when using the multicast filtering function and L4 QoS function.

Selecting the Switching Hub Based on the Hub’s Supported Functions

L2 Switching Hub without Multicast Filtering

L2 Switching Hub with Multicast Filtering

We recommend this kind of switching hub when only tag data links are executed and any of the following conditions is met.

The tag data links are set to share the same data with all nodes in the network. (The multicast packets are transferred to all nodes in the network, just like a broadcast.)

The tag data link settings are all one-to-one (unicast) and multicast packets cannot be used.

There is little traffic in the tag data links.

No special settings are required for an L2 switching hub without multicast filtering.

We recommend this kind of switching hub when only tag data links are executed and the following condition is met.

There are many 1:N links (where N represents some number of nodes in the network) in the tag data link settings, i.e., there are many multicast packets used, or there is heavy traffic in the tag data links.

Special settings are required for an L2 switching hub with multicast filtering. There must be enough multicast filters for the network being used.

30

Selecting the Network Devices

Section 2-3

L3 Switching Hub with Multicast Filtering and L4 QoS Functions

Note

We recommend this kind of switching hub when both tag data links and message communications are executed.

By setting tag data links for higher-priority transmission, it is possible to prevent problems such as transmission delays due to message communications traffic and packet losses due to buffer overflow. Settings must be made in the switching hub to enable this function and give higher priority to tag data link packets.

Special settings must be made in the switching hub when using the multicast filtering function and L4 QoS function. There must be enough multicast filters for the network being used.

(1)Ask the switching hub manufacturer for setting procedures for the switching hub.

(2)Install the switching hub so that its environmental resistance capabilities are not exceeded. Ask the switching hub manufacturer for information on the environmental resistance of the switch hub.

31

Selecting the Network Devices

Section 2-3

32

SECTION 3

Installation and Initial Setup

This section explains how to install and make the initial settings required for operation of the EtherNet/IP Unit or built-in EtherNet/IP port.

3-1

Overview of Initial Setup Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34

 

3-1-1

Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34

3-2

Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36

 

3-2-1

CS-series EtherNet/IP Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36

 

3-2-2 CJ-series EtherNet/IP Units and CJ2 Built-in EtherNet/IP Port. . . .

37

3-3

Mounting to a PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

38

 

3-3-1 Mounting to a CS-series PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

38

 

3-3-2 Mounting to a CJ-series PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

38

 

3-3-3

Mounting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

39

 

3-3-4

Handling Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

40

3-4

Network Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

41

 

3-4-1

Basic Installation Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

41

 

3-4-2

Recommended Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

41

 

3-4-3

Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

41

 

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

43

3-5

Connecting to the Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

44

 

3-5-1

Ethernet Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

44

 

3-5-2

Connecting the Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

44

3-6

Creating I/O Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

46

 

3-6-1

I/O Table Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

46

 

3-6-2 Connecting Programming Devices to the PLC. . . . . . . . . . . . . . . . .

46

 

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

46

3-7

Setting the Local IP Address. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

50

3-8

TCP/IP and Link Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

52

 

3-8-1 Setting Procedure with the CX-Programmer . . . . . . . . . . . . . . . . . .

52

 

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

55

3-9

Tag Data Link Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

57

 

3-9-1 Network Configurator Setting Procedure . . . . . . . . . . . . . . . . . . . . .

57

3-10

Other Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

61

3-11

Communications Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

65

 

3-11-1

PING Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

65

 

3-11-2 EtherNet/IP Unit or Built-in EtherNet/IP Port Operation. . . . . . . . .

65

 

3-11-3

Host Computer Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

65

33

Overview of Initial Setup Procedures

Section 3-1

3-1 Overview of Initial Setup Procedures

3-1-1 Procedures

Initial Settings

1,2,3... 1. Set the unit number and node address with the switches on the front of the EtherNet/IP Unit or, for the built-in EtherNet/IP port, on the front of the CPU Unit.

Refer to 3-2 Switch Settings.

2.Mount the Unit in the CPU Rack.

A maximum of seven EtherNet/IP Units can be connected to a CJ2H- CPU@@-EIP CPU Unit (making eight EtherNet/IP ports including the builtin EtherNet/IP port).

A maximum of two EtherNet/IP Units can be connected to a CJ2M-CPU3@ CPU Unit.

Refer to 3-3 Mounting to a PLC.

3.Wire the Ethernet network with twisted-pair cable.

Refer to 3-4 Network Installation and 3-5 Connecting to the Network.

4.Prepare a computer with Support Software installed on it and a serial cable or an Ethernet cable (twisted-pair cable) to connect to the PLC. These are required to perform network settings using the Support Software (e.g., Network Configurator, CX-Programmer, and CX-Integrator).

5.Connect the PLC to the computer and create the I/O tables using the CXProgrammer. I/O tables do not need to be created for the built-in EtherNet/ IP port on the CJ2H-CPU@@-EIP or CJ2M-CPU3@.

Refer to 3-6 Creating I/O Tables.

6.Set the IP address of the EtherNet/IP Unit or built-in EtherNet/IP port using one of the following methods.

a)Using the Unit without setting the IP address:

The default IP address is 192.168.250.Node_address.

b)Setting a particular IP address:

If you want to store the setting in the CPU Unit, set it in the EtherNet/ IP Unit’s allocated DM area within the CPU Unit.

If you want to store the setting in the Unit, set the IP address in the Edit Parameters Dialog Box of the I/O Table Dialog Box from the CX-Pro- grammer, and transfer the setting to the Unit.

Refer to 3-7 Setting the Local IP Address and 3-8 TCP/IP and Link

Settings.

7.When necessary, set the following items in the Edit Parameters Dialog Box and transfer them: TCP/IP, Ethernet, FINS/UDP, FINS/TCP, FTP, Auto Adjust Time, Status Area, SNMP, and SNMP Trap

Refer to 3-10 Other Parameters.

8.When necessary, set the routing tables.

If the FINS communications service is being used and multiple network Communications Units are mounted in the PLC, set the routing tables from the CX-Integrator, and transfer the table.

Refer to the CX-Integrator Operation Manual (Cat. No. W464) for the setting procedure.

34

Overview of Initial Setup Procedures

Section 3-1

9.Test communications.

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

Settings Required for Tag Data Link Service (Cyclic Communications)

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

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

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

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

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

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

Settings Required for the Message Communications Service

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

Refer to SECTION 9 Message Communications.

35

Switch Settings

Section 3-2

3-2 Switch Settings

3-2-1 CS-series EtherNet/IP Units

Setting the Unit Number

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

UNIT

No.

Setting range:

0 to F

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

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

(3)With CS-series and CJ-series PLCs, words are automatically allocated in

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

Setting the Node Address

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

Relationship to IP Addresses

NODE

Setting range:

NO.

01 to FE (1 to 254 decimal)

× 161

× 160

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

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

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

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

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

36

Switch Settings

Section 3-2

3-2-2 CJ-series EtherNet/IP Units and CJ2 Built-in EtherNet/IP Port

Setting the Unit Number

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

UNIT

No.

Setting range:

0 to F

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

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

(3)With CS-series and CJ-series PLCs, dedicated areas are automatically

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

Setting the Node Address

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

Relationship to IP Addresses

 

NODE

 

 

Setting range:

 

No.

 

 

× 16 1

01 to FE (1 to 254 decimal)

× 16 0

 

 

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

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

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

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

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

37

Mounting to a PLC

Section 3-3

3-3 Mounting to a PLC

3-3-1 Mounting to a CS-series PLC

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

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

CS1W-BC023/BC033/BC053/BC083/BC103 CPU Backplane

 

 

 

 

 

 

 

 

 

 

 

 

 

CPU

PS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

Can be mounted in any slot.

2, 3, 5, 8, or 10 slots

(Expansion Backplane not possible with 2-slot CPU Backplane.)

CS1W-BI033/BI053/BI083/BI103 CS-series Expansion Backplane

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CS-series Expansion Rack with

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PS

3, 5, 8, or 10 slots.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Can be mounted in any slot.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3, 5, 8, or 10 slots

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

CS1W-BI033/BI053/BI083/BI103 CS-series Expansion Backplane

PS

3, 5, 8, or 10 slots

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

Can be mounted in any slot.

CPU: CPU Unit

PS: Power Supply Unit

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

3-3-2 Mounting to a CJ-series PLC

EtherNet/IP Units can be mounted in a CJ-series CPU Rack or a CJ-series Expansion CPU Rack. Connect the EtherNet/IP Unit in any of the positions shown below using the sliders on the top and bottom of the Unit. Up to seven EtherNet/IP Units can be mounted for a CJ2H-CPU@@-EIP CPU Unit (enabling up to eight EtherNet/IP ports if you include the built-in EtherNet/IP port). Up to two EtherNet/IP Units can be mounted for a CJ2M-CPU3@ CPU Unit.

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

38

Mounting to a PLC

Section 3-3

CPU Rack

 

 

10 Units max.

 

 

 

 

 

 

 

P

 

C

 

I

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S

 

P

 

C

 

 

 

 

 

 

 

 

 

U

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Expansion Backplane

10 Units max.

P I

S I

End cover

End cover

Up to eight EtherNet/IP

Units can be mounted.

Expansion Backplane

10 Units max.

End cover

 

P I

S I

Expansion Backplane

10 Units max.

End cover

 

P I

S I

PS: Power Supply Unit

CPU: CPU Unit

IC: I/O Control Unit

II: I/O Interface Unit

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

3-3-3 Mounting

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

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

Claw

Backplane

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

39

Mounting to a PLC

Section 3-3

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

Fixing screws

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

Duct

20 mm min.

Backplane

20 mm min.

Duct

Phillips screwdriver

3-3-4 Handling Precautions

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

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

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

Remove the label after wiring.

NS COMM 100M 10M

 

 

 

UNIT

 

NODE

 

 

 

NO.

0

 

 

 

 

 

 

NO.

0

 

 

 

 

 

 

 

 

1

1

 

 

 

 

 

 

 

16

 

0

IP

 

 

 

SS

16

ADDRE

 

 

 

192.

168.

250.1

SUBNET

 

 

 

 

255.

 

MASK

255.

255.0

 

 

 

100BASE-

TX

 

1

 

 

 

 

 

 

0BASE-T

40

Network Installation

Section 3-4

3-4 Network Installation

3-4-1 Basic Installation Precautions

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

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

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

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

3-4-2 Recommended Products

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

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

3-4-3 Precautions

Precautions on Laying Twisted-pair Cable

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

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

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

Hub

Hub

 

Connect shield.

Connector Connector

Connector Connector Connector

GR

Do not connect shield.

GR

 

EIP

Power

 

Unit

Supply

 

 

Unit

STP

Connector

GR

 

 

STP

 

 

terminal

(Shield)

(Shield)

EIP

Power

Unit

Supply

 

Unit

Connector

STP GR terminal

(Shield)

41

Network Installation

Section 3-4

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

Do not lay the twisted-pair cable together with high-voltage lines.

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

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

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

Switching Hub Installation Environment Precautions

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

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

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

Switching Hub Connection Methods

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

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

MDI ports

 

Straight cable

 

MDI-X port

Switching

 

Cross cable

 

(cross)

 

Hub

 

 

 

 

Switching

 

Switching

Switching

Hub

 

Hub

Hub

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

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

Switching hub setting

 

EtherNet/IP Unit setting

 

 

 

Auto-

10 Mbps (fixed)

100 Mbps (fixed)

 

 

negotiation

 

 

 

 

 

 

Full

Half

Full

Half

 

 

 

duplex

duplex

duplex

duplex

Auto-negotiation

Best

---

OK

---

OK

 

 

 

 

 

 

10 Mbps

Full duplex

---

OK

---

---

---

(fixed)

 

 

 

 

 

 

Half duplex

OK

---

OK

---

---

 

 

 

 

 

 

 

 

42

Network Installation

 

 

 

 

Section 3-4

 

 

 

 

 

 

 

 

 

Switching hub setting

 

EtherNet/IP Unit setting

 

 

 

 

Auto-

10 Mbps (fixed)

100 Mbps (fixed)

 

 

 

negotiation

 

 

 

 

 

 

 

Full

Half

Full

Half

 

 

 

 

duplex

duplex

duplex

duplex

 

100 Mbps

Full duplex

---

---

---

Best

---

 

(fixed)

 

 

 

 

 

 

 

Half duplex

OK

---

---

---

OK

 

 

 

 

 

 

 

 

 

 

Note Best = Recommended; OK = Allowed;

--- = Not allowed.

 

 

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

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

Mounting Location

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

Unit or built-in EtherNet/IP port as possible.

Contact Output Unit

EtherNet/IP Unit

To switching hub

Contact outputs

Cable Location

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

Contact outputs

Contact Output Unit

EtherNet/IP Unit

 

To switching hub

43

Connecting to the Network

Section 3-5

3-5 Connecting to the Network

3-5-1 Ethernet Connectors

The following standards and specifications apply to the connectors for the

Ethernet twisted-pair cable.

• Electrical specifications: Conforming to IEEE802.3 standards.

 

 

 

 

 

 

 

• Connector structure:

RJ45 8-pin Modular Connector

 

 

 

 

 

 

 

 

 

(conforming to ISO 8877)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Connector pin

Signal name

Abbr.

Signal direction

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

Transmission data +

TD+

Output

 

 

 

 

 

 

 

2

Transmission data –

TD–

Output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

Reception data +

RD+

Input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

Not used.

 

---

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

Not used.

 

---

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

Reception data –

RD–

Input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

Not used.

 

---

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

Not used.

 

---

---

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hood

Frame ground

FG

---

 

 

 

 

 

 

 

 

 

 

 

 

3-5-2 Connecting the Cable

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

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

35 mm

44

Connecting to the Network

Section 3-5

1,2,3... 1. Lay the twisted-pair cable.

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

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

Example: CS1W-EIP21

RJ45 Modular Connector

EtherNet/IP

45

Creating I/O Tables

Section 3-6

3-6 Creating I/O Tables

3-6-1 I/O Table Overview

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

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

Using the CX-Programmer offline.

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

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

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

3-6-2 Connecting Programming Devices to the PLC

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

Applicable Programming Devices

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

Programming Console

Model number

Key Sheet (required)

Recommended cable (required)

 

 

 

C200H-PRO27-E

CS1W-KS001-E

CS1W-CN224 (cable length: 2.0 m)

 

 

CS1W-CN624 (cable length: 6.0 m)

 

 

 

CQM1-PRO01-E

 

CS1W-CN114 (cable length: 0.1 m)

 

 

 

Note A Programming Console cannot be used with the CJ2H-CPU@@(-EIP) and CJ2M-CPU3@ CPU Units. Use the CX-Programmer.

CX-Programmer

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

Connecting a Programming Console

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

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

Programming Console

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

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

46

Creating I/O Tables

Section 3-6

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

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

Initial screen

CH

SHIFT *DM

000000 I/O TBL ?

CHG

000000 I/O TBL WRIT ????

WRITE

Password

000000CPU BU ST? 0:CLR 1:KEEP

or

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

000000 I/O TBL WRIT OK

CX-Programmer (Version 8.0 or Higher)

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

This section describes how to register the CJ1W-EIP21 in the I/O tables by creating the I/O tables on a computer with the CX-Programmer. In this example, the computer is connected to the PLC using a serial cable. The CJ1W-EIP21 is connected to a CJ1H-CPU67 CPU Unit.

1,2,3... 1. Start the CX-Programmer, and then select PLC Auto Online Direct Connection from the menus.

47

Creating I/O Tables

Section 3-6

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

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

4.Double-click IO Table and Unit Setup Icon in the project workspace in the CX-Programmer. The PLC IO Table Window will be displayed. Select Options Create from the menus.

48

Creating I/O Tables

Section 3-6

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

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

Note Creating I/O tables is not required if the built-in EtherNet/IP port of a CJ2 CPU Unit is used. It is registered as a built-in port/Inner Board with a model number of CJ2B-EIP21 for the CJ2H and a model number of CJ2M-EIP21 for the CJ2M. You cannot delete a built-in port from the I/O tables.

49

Setting the Local IP Address

Section 3-7

3-7 Setting the Local IP Address

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

IP Unit or built-in EtherNet/IP port.

Method 1: Using the default IP address:

The default IP address is 192.168.250.Node_address.

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

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

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

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

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

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

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

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

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

The three setting methods are described in the following paragraphs.

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

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

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

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

Setting

Operating status

 

 

IP address

192.168.250.Node_address

 

 

Subnet mask

255.255.255.0 (class C mask)

 

 

Default gateway

None (IP routing disabled)

 

 

Preferred DNS server

None

 

 

Alternate DNS server

None

 

 

Host name

None

 

 

Domain name

None

 

 

Baud rate

Auto-detect

 

 

50

Setting the Local IP Address

Section 3-7

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

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

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

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

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

m+98

 

(1)

 

 

(2)

 

 

 

(3)

 

 

 

 

(4)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

m+99

 

(5)

 

 

(6)

 

 

 

(7)

 

 

 

 

(8)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

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

Setting

Operating status

 

 

IP address

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

 

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

 

EtherNet/IP Unit as a CPU Bus Unit

 

 

Subnet mask

Determined by class of the IP address

 

 

Default gateway

None (IP routing disabled)

 

 

Preferred DNS server

None

 

 

Alternate DNS server

None

 

 

Host name

None

 

 

Domain name

None

 

 

Baud rate

Auto-detect

 

 

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

Configurator

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

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

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

51

TCP/IP and Link Settings

Section 3-8

3-8 TCP/IP and Link Settings

This section describes the TCP/IP-related settings, such as the local IP address and subnet mask for the EtherNet/IP Unit or built-in EtherNet/IP port. Use the CX-Programmer to make these settings. The settings are stored in non-volatile memory in the Unit.

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

3-8-1 Setting Procedure with the CX-Programmer

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

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

2.Right-click the EtherNet/IP Unit or built-in EtherNet/IP port in the I/O table and select Edit - Unit Setup from the menus. The Edit Parameters Dialog Box will be displayed.

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

52

TCP/IP and Link Settings

Section 3-8

4.Place the CX-Programmer online with the PLC and transfer the settings to the EtherNet/IP Unit or built-in EtherNet/IP port.

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

6.Check the 7-segment display for the EtherNet/IP Unit or built-in EtherNet/ IP port.

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

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

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

Settings on the TCP/IP Tab Page

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

Edit Parameters Dialog Box in the CX-Programmer.

IP address

Subnet mask

Default gateway

Broadcasting

Preferred DNS server

Alternate DNS server

Domain name

IP router table

53

TCP/IP and Link Settings

Section 3-8

IP Address

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

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

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

Subnet Mask

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

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

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

Class

Subnet mask

 

 

Class A

255.0.0.0

 

 

Class B

255.255.0.0

 

 

Class C

255.255.255.0

 

 

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

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

Setting

Operating status

 

 

Default gateway

None (IP routing disabled)

 

 

Preferred DNS server

None

 

 

Alternate DNS server

None

 

 

Host name

None

 

 

Domain name

None

 

 

Broadcasting

4.3 BSD specifications

 

 

IP router table

None

 

 

Default Gateway

Sets the default gateway’s IP address.

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

Broadcasting

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

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

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

Preferred DNS Server and Alternate DNS Server

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

54

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-in EtherNet/IP port belongs. The EtherNet/IP Unit or built-in EtherNet/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-in EtherNet/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-2 Making TCP/IP Settings with the Network Configurator

Use the Network Configurator to change IP address settings for any device other than a CS/CJ-series EtherNet/IP Unit or built-in port. You can also use the Network Configurator to change IP address settings for a CS/CJ-series EtherNet/IP Unit or built-in port.

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 the New 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 the Target 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 the Reset the Device Button.

When the EtherNet/IP Unit is reset, the IP address will be displayed once in flowing text on the 7-segment display 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-in EtherNet/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 the Reset 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-9 Tag Data Link Parameters

Set the following parameters when using tag data links with an EtherNet/IP Unit or built-in EtherNet/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 or built-in EtherNet/IP port. This point is different from the operation of Ethernet Units.

Refer to SECTION 6 Tag Data Link Functions for details.

3-9-1 Network 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-in EtherNet/IP ports on CS/CJ-series PLCs.

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 Upload from 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-10 Other Parameters

In addition to the tag data link parameters, the EtherNet/IP Unit and built-in EtherNet/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 or built-in EtherNet/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-set value (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-set value (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-in EtherNet/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-in EtherNet/IP port from external devices

 

 

 

 

Password

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

 

 

built-in EtherNet/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-in EtherNet/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-11 Communications Test

If the basic settings (in particular the IP address and subnet mask) have been made correctly for the EtherNet/IP Unit or built-in EtherNet/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 or built-in EtherNet/IP port.

3-11-1 PING 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-in EtherNet/ 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-2 EtherNet/IP Unit or Built-in EtherNet/IP Port Operation

The EtherNet/IP Unit or built-in EtherNet/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 or built-in EtherNet/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-3 Host 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-in EtherNet/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-in EtherNet/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-1 Overview 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 or built-in EtherNet/IP port has the following two data areas in its non-volatile memory. (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-volatile memory 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-8 TCP/IP and Link Settings

 

Unit number 15

 

100 words

 

 

 

 

 

and 3-10 Other Parameters for details.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D31599

 

 

 

 

 

 

 

 

 

 

 

 

Device parameter settings (tag data link

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

settings)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Refer to Section 6 Tag Data Links for

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

details.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Network Configurator

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

69

CIO Area Allocations

Section 4-2

4-2 CIO Area Allocations

4-2-1 Overview 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-2 Details 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-fatal errors) 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-fatal error

 

 

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