Using Cip Communications Instructions - Omron NJ Series User Manual

Machine automation controller, cpu unit built-in ethernet/ip port
Hide thumbs Also See for NJ Series:
Table of Contents

Advertisement

Instruc-
tions
CIPOpen
Open CIP Class 3
Connection
(Large_For-
ward_Open)
CIPOpen-
Open CIP Class 3
WithData-
Connection with
Size
Specified Data Size
CIPRead
Read Variable
Class 3 Explicit
CIPWrite
Write Variable
Class 3 Explicit
CIPSend
Send Explicit Mes-
sage Class 3
CIPClose
Close CIP Class 3
Connection
Version Information
A CPU Unit with unit version 1.06 or later and Sysmac Studio version 1.07 or higher are re-
quired to use the CIPOpenWithDataSize instruction.
8-2-3

Using CIP Communications Instructions

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.
Process
Open process
(only for CIP class 3 con-
*1
nections)
Sending and receiving varia-
*2
ble data
Sending CIP commands
Close process
(only for CIP class 3 con-
nections)
*1.
The maximum number of connection handles that you can obtain simultaneously through the opening proc-
ess is 32. Even if a connection is disconnected for a timeout, the handle is not released. Execute the CIP-
Close instruction to close the connection.
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Name
Opens a CIP class 3 connection (Large_Forward_Open)
with the specified remote node.
Opens a CIP class 3 connection with the specified re-
mote node that allows class 3 explicit messages of the
specified data length or shorter to be sent and received.
Reads the value of a variable with a Network Publish at-
tribute from the specified remote Controller on the CIP
network and stores the value in a variable at the local
Controller.
Writes the value of a variable at the local controller to a
variable with a Network Publish attribute at the specified
remote Controller on the CIP network.
Sends a specified class 3 CIP command to the specified
remote Controller on the CIP network.
Refer to 8-2-10 Response Codes on page 8-35 and
8-5 CIP Object Services on page 8-47 for information
on the service codes and response codes that are used
with the NJ/NX-series CPU Units.
Closes the CIP class 3 connection that is specified by
the handle.
Execute this process before you use a CIP message.
Open processing is continued until a CIP class 3 con-
nection is established.
This process is used to read and write data for specified
variables with the Network Publish attributes.
You can set the required CIP command.
This process closes the connection.
8 CIP Message Communications
Description
Description
Communica-
tions method
CIP class 3
connection
message
8
Instruction
CIPOpen
CIPOpenWithData-
Size
CIPUCMMRead
CIPUCMMWrite
CIPRead
CIPWrite
CIPUCMMSend
CIPSend
CIPClose
8-5

Advertisement

Table of Contents
loading

Table of Contents