![Omron Sysmac NY512-1300 User Manual Download Page 251](http://html.mh-extra.com/html/omron/sysmac-ny512-1300/sysmac-ny512-1300_user-manual_742451251.webp)
8-55
8 CIP Message Communications
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
8-6
Read an
d W
rite Services f
o
r V
ariables
8
8-6
-2 W
rit
e Service for
V
ariable
s
Specify service code 4D hex to write the value of the variable that is specified by the request path.
* Data to write: Store the data to write in little-endian format
.
8-6-2
Write Service for Variables
Request Data Format for Writing a Variable
Data Type
Code for data type of variable to write
Refer to
.
AddInfoLength
Specify the size of the AddInfo area only when accessing a structure variable. Set 02
hex for a structure variable. Otherwise, set 00 hex.
AddInfo
The CRC code of the structure definition is specified only when accessing a structure
variable. In this case, the size of AddInfo will be 2 bytes.
NumOfElement
Specifying the number of elements in the array. Do not specify 0000 hex (an error
will occur). For variables other than arrays, set 0001 hex.
Actual data
Specify the actual data in little-endian format. If 0001 hex is specified for an array,
specify the actual data in the same format as when you access a variable with the
data type of the elements of the array.
Request Path Data
Request Service Data
Data Type
USINT
AddInfo Length
USINT
(AddInfo)
Num of Element
(L)
(H)
Actual data*
Variable name specification
Data type of variable to write
Additional information: Field length in bytes
Additional information: CRC value of structure
UINT
Response Service Data
There is no response service data.
Summary of Contents for Sysmac NY512-1300
Page 459: ......