Cipread - Omron NY532-5400 Reference Manual

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

Advertisement

CIPRead

The CIPRead instruction uses a class 3 explicit message to read the value of a variable in another Con-
troller on a CIP network.
Instruction
Name
CIPRead
Read Variable
Class 3 Explicit
Variables
Name
Meaning
Handle
Handle
SrcDat
Source vari-
able name
Size
Number of
elements to
read
DstDat
Read data
RcvSize
Read data
size
* The range is 0 to 1,988 for NX1P2 and NJ-series CPU Units.
Bit strings
Handle
SrcDat
Size
DstDat
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
An enumeration, array, structure, structure member, or union member can also be specified.*
RcvSize
* You cannot specify a STRING array.
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
FB
CIPRead_instance
Execute
Handle
SrcDat
Size
DstDat
I/O
Description
Handle obtained with CIPOpen
or CIPOpenWithDataSize
instruction
Name of variable to read in
Input
other Controller
Number of elements to read
In-out
Read data value
Output
Read data size
Integers
Refer to Function for details on the structure _sCIP_HANDLE.
OK
OK
2 Instruction Descriptions
CIPRead_instance(Execute,
Handle, SrcDat, Size, DstDat,
CIPRead
Done, Busy, Error, ErrorID,
Done
ErrorIDEx, RcvSize);
Busy
Error
ErrorID
ErrorIDEx
RcvSize
Valid range
---
Depends on data
type.
0 to 8,186*
Depends on data
type.
0 to 8,186*
ST expression
Unit
Default
---
''
---
1
---
---
Bytes
---
Times, durations, dates,
and text strings
OK
2-1003
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents