Write Service For Variables - Omron NY532-5400 User Manual

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

8-6-2

Write Service for Variables

Specify service code 4D hex to write the value of the variable that is specified by the request path.
Request Data Format for Writing a Variable
Request Path Data
Variable name specification
Request Service Data
Data Type
AddInfo Length
(AddInfo)
Num of Element
Actual data*
Response Service Data
There is no response service data.
* Data to write: Store the data to write in little-endian format
Data Type
AddInfoLength
AddInfo
NumOfElement
Actual data
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)
Data type of variable to write
USINT
Additional information: Field length in bytes
USINT
Additional information: CRC value of structure
UINT
(L)
(H)
Code for data type of variable to write
Refer to 8-7 Variable Data Types.
Specify the size of the AddInfo area only when accessing a structure variable. Set 02
hex for a structure variable. Otherwise, set 00 hex.
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.
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.
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.
8 CIP Message Communications
.
8
8-55

Advertisement

Table of Contents
loading

Table of Contents