EasyManuals Logo
Home>Omron>Computer Hardware>Sysmac NJ-series

Omron Sysmac NJ-series User Manual

Omron Sysmac NJ-series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #267 background imageLoading...
Page #267 background image
8-21
8 CIP Message Communications
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
8-2 CIP Messaging Communications Client Function
8
8-2-6 Service Data and Response Data
CIP communications instructions send and receive data that is stored in array variables.
This section describes the array variables for storing service data and response data that CIP commu-
nications instructions send and receive.
Creating Array Variables
To input a value into the array variable of a CIP communications instruction, you must create a vari-
able with the same configuration as the array variable in advance.
Example: Creating a Variable to Input Data to the CIPSend Instruction Array Variables
8-2-6 Service Data and Response Data
Preparing Array Variables to Input and Output Service Data and
Response Data
(1) Input the service data to send.
The data to send is stored in array
variable A. If only certain elements are spec-
ified in array variable A, specify the number
of elements in variable B.
(2) The data that is received is stored in variable
C. The byte size of the data that was actu-
ally received is stored in variable D.
Variable D
RespSize
(Response
Data Size)
ResServiceDat
(Response Data)
Size
(Number of Elements)
ServiceDat
(Command Data)
Variable C
Variable B
Variable A
CIP communications instruction
(1)
(2)
CIPSend
If the service data (ServiceDat) is
Array[2] and number of elements
(Size) = 2, Array[2] and Array[3]
are sent.
Array variable: A
[0]
[1]
[2]
[3]
Number of elements: 2
[1]
[0]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
Variable D
: 10
Array variable: C[0..9]

Table of Contents

Other manuals for Omron Sysmac NJ-series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron Sysmac NJ-series and is the answer not in the manual?

Omron Sysmac NJ-series Specifications

General IconGeneral
BrandOmron
ModelSysmac NJ-series
CategoryComputer Hardware
LanguageEnglish

Related product manuals