![Omron Sysmac NY512-1300 User Manual Download Page 202](http://html.mh-extra.com/html/omron/sysmac-ny512-1300/sysmac-ny512-1300_user-manual_742451202.webp)
8 CIP Message Communications
8-6
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
CIP message communications include the following processes. If CIP class 3 connections are used,
the open and close processes are required before and after the data is sent and received.
*1 The maximum number of connection handles that you can obtain simultaneously by the opening process is 32.
Even if a connection is broken for a timeout, the handle is not released. Execute the CIPClose instruction.
*2 Addresses in memory for CJ-series Units (e.g., D0000) cannot be specified directly.
Precautions for Correct Use
Precautions for Correct Use
You can execute up to 32 CIP communications instructions at the same time regardless of the
instruction types.
Use exclusive control in the user program so that the number of CIP communications instruc-
tions executed at the same time does not exceed the above numbers.
8-2-3
Using CIP Communications Instructions
Process
Description
Instruction
Open process
(only for CIP
class 3 connec-
tions)
*1
Execute this process before you use a CIP message. Open pro-
cessing is continued until a CIP class 3 connection is established.
CIPOpen
CIPOpenWithDataSize
Sending and
receiving vari-
able data
*2
This process is used to read and write data for specified variables
with the Network Publish attributes.
CIPUCMMRead
CIPUCMMWrite
CIPRead
CIPWrite
Sending CIP
commands
You can set the required CIP command.
CIPUCMMSend
CIPSend
Close process
(only for CIP
class 3 connec-
tions)
This process closes the connection.
CIPClose
D00000
D00001
D00002
D00009
Assigned
…….
SrcDat
Execute
Handle
Size
RcvSize
DstDat
MyArray
WORD[10]
5
Local Controller
Remote Controller
(1) Variable
specified.
CIPRead
VAR : ARRAY[0..9] OF WORD AT %D0
MyArray : ARRAY[0..9] OF WORD:
Network Publish attribute
Addresses in the memory for
CJ-series Units are assigned to the
variable and the variable is given
the Network Publish attribute.
‘VAR_1’
Value of D00000 in remote Controller
Value of D00001 in remote Controller
Value of D00002 in remote Controller
Value of D00009 in remote Controller
…….
MyArray[0] :
MyArray[9] :
* To access memory for CJ-series Units in
the local Controller, you also must assign
the required addresses to variables.
*
(2) Reads data
starting at D0000
for the number of
elements.
Summary of Contents for Sysmac NY512-1300
Page 459: ......