8-5
8 Message Communications
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
8-2 Using CIP Message Communications
8
8-2-3 Using CIP Communications Instructions
Precautions for Correct UsePrecautions for Correct Use
You can execute a maximum of 32 CIP communications instructions at the same time. This
includes all CIP communications instructions. Use exclusive control in the user program so that
no more than 32 socket service instructions are executed at the same time.
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.