![background image](http://html.mh-extra.com/html/omron/sysmac-ny512-1300/sysmac-ny512-1300_user-manual_742451207.webp)
8-11
8 CIP Message Communications
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
8-2
CIP Messag
ing C
o
m
m
u
n
icat
ions
Client
Fu
nct
ion
8
8-2
-5 Req
uest Path
(IOI)
For a CIP commincations instruction, you prepare a variable to store the request path. In this variable,
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
according to the size of values of the Class ID, Instance ID and Attribute ID of the object that you
access. When you use a standard structure, the size is always set to 16 bits.
When a Standard Structure Variable Is Used
Example: Using a standard structure variable to input values into
RqPath
(Request Path) for the
CIPSend instruction
1
Create a standard structure variable.
To use a standard structure variable to input values into
RqPath
(Request Path) for a CIP com-
munications instruction, first you need to create a standard structure user-defined variable.
When you create a variable in a variable table, select the pre-registered standard structure
(sREQUEST_PATH) for a CIP communications instruction.
Providing the Structure Variables to Input Request Paths
InstanceID
(Instance ID)
Create variable
A
with a variable with
the standard structure (_sREQUEST_PATH).
CIP communications instruction
Variable
A
CIPSend
RqPath
(Request Path)
RqPath
data type
Value
ClassID
(Class ID)
Member
AttributeID
(Attribute ID)
2
3
1
TRUE
isAttributeID
(Attribute usage)
Select a standard structure for the data type of variable
A
.
Variable table
Data type
_sREQUEST_PATH
A
Name
Summary of Contents for Sysmac NY512-1300
Page 459: ......