Route Path ..................................................................................................................................8-6
Request Path (IOI) ....................................................................................................................8-16
Service Data and Response Data.............................................................................................8-20
Sample Programming for CIP Connectionless (UCMM) Message Communications................8-22
Sample Programming for CIP Connection (Class 3) Message Communications .....................8-27
Operation Timing.......................................................................................................................8-34
Response Codes.......................................................................................................................8-35
8-3 CIP Communication Server Function ................................................................................8-39
CIP Message Structure for Accessing CIP Objects ..................................................................8-39
CIP Message Structure for Accessing Variables.......................................................................8-40
8-4 Specifying Request Path.....................................................................................................8-41
Examples of CIP Object Specifications.....................................................................................8-41
Examples of Variable Specifications .........................................................................................8-42
Logical Segment .......................................................................................................................8-42
Data Segment ...........................................................................................................................8-42
Specifying Variable Names in Request Paths ...........................................................................8-43
8-5 CIP Object Services .............................................................................................................8-47
CIP Objects Sent to the Built-in EtherNet/IP Port .....................................................................8-47
Identity Object (Class ID: 01 hex) .............................................................................................8-47
NX Configuration Object (Class ID: 74 hex)..............................................................................8-50
TCP/IP Interface Object (Class ID: F5 hex) ..............................................................................8-72
Ethernet Link Object (Class ID: F6 hex)....................................................................................8-75
Controller Object (Class ID: C4 hex).........................................................................................8-81
8-6 Read and Write Services for Variables ..............................................................................8-83
Read Service for Variables........................................................................................................8-83
Write Service for Variables ........................................................................................................8-84
8-7 Variable Data Types .............................................................................................................8-87
Data Type Codes ......................................................................................................................8-87
Common Format .......................................................................................................................8-87
Elementary Data Types.............................................................................................................8-88
Derived Data Types...................................................................................................................8-89
9-1 Basic Knowledge on Socket Communications...................................................................9-2
Sockets .......................................................................................................................................9-2
Port Numbers for Socket Services ..............................................................................................9-2
9-2 Basic Knowledge on Protocols ............................................................................................9-3
Differences between TCP and UDP............................................................................................9-3
Fragmenting of Send Data ..........................................................................................................9-4
Data Receive Processing............................................................................................................9-6
Broadcasting ...............................................................................................................................9-9
9-3 Overview of Built-in EtherNet/IP Port Socket Services ....................................................9-10
Overview ...................................................................................................................................9-10
Procedure..................................................................................................................................9-10
9-4 Settings Required for the Socket Services ....................................................................... 9-11
9-5 Socket Service Instructions................................................................................................9-12
9-6 Details on Using the Socket Services................................................................................9-13
Using the Socket Services ........................................................................................................9-13
Procedure to Use Socket Services ...........................................................................................9-13
Timing Chart for Output Variables Used in Communications ....................................................9-15
UDP Sample Programming.......................................................................................................9-16
TCP Sample Programming .......................................................................................................9-22
9-7 Precautions in Using Socket Services...............................................................................9-29
Precautions for UDP and TCP Socket Services .......................................................................9-29
Precautions for UDP Socket Services.......................................................................................9-29
Precautions for TCP Socket Services .......................................................................................9-29
CONTENTS
11
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Summary of Contents for Sysmac NX1P2-10 1 Series
Page 8: ...Manual Structure 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 34: ...Revision History 32 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 388: ...9 Socket Service 9 34 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 430: ...12 FTP Client 12 14 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 569: ...I Index I 1 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 I...
Page 576: ...Index I 8 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 577: ......