Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
Handle
ServiceCode
OK
RqPath
Refer to Function for details on the structure _sREQUEST_PATH or _sREQUEST_PATH_EX
ServiceDat
OK OK OK OK OK OK OK OK OK OK OK OK OK OK
Size
RespService-
OK OK OK OK OK OK OK OK OK OK OK OK OK OK
Dat
RespSize
*1 A CPU Unit with unit version 1.11 or later and Sysmac Studio version 1.15 or higher are required to specify _sRE-
QUEST_PATH_EX type.
Function
The CIPSend instruction sends service data ServiceDat for the service specified with service code Ser-
viceCode as a class 3 explicit message.
The destination is specified with handle Handle.
RqPath specifies the request path.
Size specifies the number of elements to send. If ServiceDat is an array, specify the number of ele-
ments to send with Size. If ServiceDat is not an array, always specify 1 for Size. If no service data is
required, set Size to 0.
The response data received later is stored in RespServiceDat. The number of bytes of the response
data is stored in RespSize.
The data type of Handle is structure _sCIP_HANDLE. The specifications are as follows:
Name
Handle
Handle
The data type of RqPath is structure _sREQUEST_PATH or _sREQUEST_PATH_EX.
Normally, use _sREQUEST_PATH. When you want to specify any logical format size, use _sRE-
QUEST_PATH_EX. The specifications are as follows:
• _sREQUEST_PATH type
Name
RqPath
ClassID
InstanceID
isAttributeID
AttributeID
Note The logical format size of each ID in _sREQUEST_PATH type is 16 bits.
2-1016
Bit strings
Refer to Function for details on the structure _sCIP_HANDLE.
An array, structure member, or union member can also be specified.
OK
An array, structure member, or union member can also be specified.
OK
Meaning
Description
Handle
Handle
Handle
Handle
Meaning
Description
Request path
Request path
Class ID
Class ID
Instance ID
Instance ID
Attribute
TRUE:Attribute ID used.
usage
FALSE:Attribute ID not
used.
Attribute ID
Attribute ID
Integers
Data type
_sCIP_
HANDLE
UDINT
Data type
_sREQUEST_-
PATH
UINT
UINT
BOOL
UINT

NY-series Instructions Reference Manual (W560)

Times, durations,
dates, and text strings
*1
Valid range
Unit
Default
---
---
---
Depends on
---
---
data type.
Valid range
Unit
Default
---
---
---
0
FALSE
Depends on
---
data type.
0
.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents