Cipwrite - Omron NY532-5400 Reference Manual

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

Advertisement

CIPWrite

The CIPWrite instruction uses a class 3 explicit message to write the value of a variable in another Con-
troller on a CIP network.
Instruction
Name
CIPWrite
Write Variable
Class 3 Explicit
Variables
Name
Meaning
Handle
Handle
DstDat
Destination
variable name
Size
Number of
elements to
write
SrcDat
Source data
*1 The range is 0 to 1,980 for NX1P2 and NJ-series CPU Units.
*2 If you omit an input parameter, the default value is not applied. A building error will occur.
Bit strings
Handle
DstDat
Size
SrcDat
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
Handle
An enumeration, array
* You cannot specify a STRING array.
Function
The CIPWrite instruction writes the value of the network variable specified with destination variable
name DstDat at another Controller on a CIP network. The other Controller is specified with Handle. The
content of source data ScrDat is written.
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
FB
CIPWrite_instance
Execute
Handle
DstDat
Size
SrcDat
I/O
Description
Handle obtained with CIPOpen
or CIPOpenWithDataSize
instruction
Name of variable to write in
another Controller
Input
Number of elements to write
Data value to write
Integers
Refer to Function for details on the structure _sCIP_HANDLE.
OK
*
, structure, structure member, or union member can also be specified.
2 Instruction Descriptions
CIPWrite_instance(Execute,
Handle, DstDat, Size, SrcDat,
CIPWrite
Done, Busy, Error, ErrorID,
Done
ErrorIDEx);
Busy
Error
ErrorID
ErrorIDEx
Valid range
---
Depends on data
type.
*1
0 to 8,178
Depends on data
type.
ST expression
Unit
Default
---
---
''
1
---
*2
Times, durations, dates,
and text strings
OK
2-1009
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents