Omron NJ Series User Manual page 279

Machine automation controller, cpu unit built-in ethernet/ip port
Hide thumbs Also See for NJ Series:
Table of Contents

Advertisement

When you make a request from an external device for a service, you must specify the Class ID In-
stance ID and Attribute ID. (The Instance ID and Attribute ID are not required for some services.)
Example: Reading the Name of a Device
(Identity Object Class ID = 01)
Service Request
Get_Attribute_
Single
Response
Product Name
These are called IOI (Internal Object Identifier) because they identify the Class ID, Instance ID, and
Attribute ID within the device.
Refer to 8-5 CIP Object Services on page 8-47 for the class ID, instance ID, attribute ID, and service
code for each object.
Providing the Structure Variables to Input Request Paths
For a CIP communications instruction, you prepare a variable to store the request path. In this varia-
ble, you specify the object to access with the user program.
A structure in which the Class ID, Instance ID, and Attribute ID are specified is provided for the data
type of a variable for a request path.
There are two types of structures: standard structure (_sREQUEST_PATH) and extension structure
(_sREQUEST_PATH_EX). When you use an extension structure, it is possible to specify the size ac-
cording to the size of values of the Class ID, Instance ID, and Attribute ID of the object that you ac-
cess. When you use a standard structure, the size is always set to 16 bits.
Version Information
A CPU Unit with unit version 1.11 or later and Sysmac Studio version 1.15 or higher are re-
quired to specify extension structure (_sREQUEST_PATH_EX).
 When a Standard Structure Variable Is Used
Example: Using a standard structure variable to input values into RqPath (Request Path) for the
CIPSend instruction
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Instance ID = 1
Destination
Class: 1
Instance: 1
Attribute: 7
Attribute = 7
8 CIP Message Communications
Class ID = 1
Instance ID = 1
Attribute 1
Attribute 6
Attribute 7
Class ID = 2
Device
8
8-17

Advertisement

Table of Contents
loading

Table of Contents