2-701
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Communications Instructions
2
CIPSend
CIPSend
The CIPSend instruction sends a class 3 CIP message to a specified device on a CIP network.
* If you omit an input parameter, the default value is not applied. A building error will occur.
Instruction Name
FB/
FUN
Graphic expression ST expression
CIPSend Send Explicit
Message Class
3
FB CIPSend_instance(Execute,
Handle, ServiceCode, RqPath,
ServiceDat, Size, RespService-
Dat, Done, Busy, Error, ErrorID,
ErrorIDEx, RespSize);
Variables
Name Meaning I/O Description Valid range Unit Default
Handle Handle
Input
Handle obtained with CIPOpen
instruction
---
---
---
ServiceCode Service code Service code Depends on data
type.
RqPath Request path Request path (class ID,
instance ID, attribute ID)
---
ServiceDat Service data Service data to send
Depends on data
type.
Size Number of
elements to
send
Number of elements to send *
RespService-
Dat
Response
data
In-out Response data Depends on data
type.
--- ---
RespSize Response
size
Output Response data size Depends on data
type.
Bytes ---
CIPSend
CIPSend_instance
Execute Done
Handle Busy
ServiceCode Error
RqPath ErrorID
ServiceDat ErrorIDEx
Size RespSize
RespServiceDat