Cipopen - Omron NY532-5400 Reference Manual

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

Advertisement

2 Instruction Descriptions

CIPOpen

Opens a CIP class 3 connection (Large_Forward_Open) with the specified remote node. The data
length is set to 1,994 bytes.
Instruction
Name
CIPOpen
Open CIP
Class 3 Con-
nection
(Large_For-
ward_Open)
Variables
Name
Meaning
RoutePath
Route path
TimeOut
Timeout time
Handle
Handle
Bit strings
RoutePath
TimeOut
Handle
Function
The CIPOpen instruction opens a CIP class 3 connection (Large_Forward_Open) with a remote node
on a CIP network. The remote node is specified with route path RoutePath. The data length is set to
1,994 bytes. The handle Handle is output when the connection is open.
TimeOut specifies the connection timeout time. If a response does not return from the remote node
within the connection timeout time after the CIPSend, CIPWrite, or CIPRead instruction is executed, it
is assumed that communications failed. The connection timeout time is reset when the CIPRead, CIP-
Write, or CIPSend instruction is executed and the remote node returns a response.
The data type of Handle is structure _sCIP_HANDLE. The specifications are as follows:
Name
Handle
Handle
2-990
FB/
Graphic expression
FUN
FB
CIPOpen_instance
Execute
RoutePath
TimeOut
I/O
Description
Route path
Input
Timeout time
Output
Handle
OK
Refer to Function for details on the structure _sCIP_HANDLE.
Meaning
Description
Handle
Handle
Handle
Handle
CIPOpen
Done
Busy
Error
ErrorID
ErrorIDEx
Handle
Valid range
Depends on data
type.
1 to 65535
---
Integers
Data type
_sCIP_
HANDLE
UDINT
NY-series Instructions Reference Manual (W560)
ST expression
CIPOpen_instance(Execute,
RoutePath, TimeOut, Done, Busy,
Error, ErrorID, ErrorIDEx, Handle);
Unit
Default
---
---
0.1 s
20
(2 s)
---
---
Times, durations, dates,
and text strings
Valid range
Unit
Default
---
---
---
Depends on
---
---
data type.
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents