8-11
8 Message Communications
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
8-2 Using
CIP Messa
g
e Co
mm
un
icati
ons
8
8
-2
-5 Prep
ar
ing Der
iv
a
tiv
e
Data T
y
pes to Use CIP
Comm
unicat
ions Instr
uctions
To use CIP communications instructions, you must prepare derivative data type variables to input com-
munications parameter settings in advance. Refer to the NJ-series CPU Unit Software User’s Manual
(Cat. No. W501) for the specifications and setting procedures for the variables that are described in this
section.
A CIP communications instruction combines all of the objects in a request path into a single structure
variable.
Creating Structure Variables
To input a value into the structure variable of a CIP communications instruction, you must create a
user-defined variable with the same configuration in advance.
Example: Creating a Variable to Input Data to the CIPSend Instruction Array Variable Rq+Path
To create a variable in a variable table, select the pre-registered CIP communications instruction
data type _sREQUEST_PATH. This is a structure variable with the same configuration as Rq+Path.
Example:
8-2-5
Preparing Derivative Data Types to Use CIP Communications
Instructions
Providing the Structure Variables to Input Request Paths
AttributelD
InstancelD
ClasslD
Member
Rq+Path Data Type
Rq+Path
CIP communications instruction
Variable A
Create variable A with a _sREQUEST_PATH data type
with the same structure variable as Rq+Path.
Value
2
3
1
Select the same data type as Rq+Path for the
data type of variable A.
Data type
Variable name
Variable table
Содержание SYSMAC CJ1W-EIP21
Страница 8: ...Manual Structure 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 10: ...Sections in this Manual 8 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 20: ...Read and Understand this Manual 18 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 42: ...Revision History 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 68: ...1 Introduction 1 26 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 80: ...2 Installing Ethernet Networks 2 12 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 130: ...6 Testing Communications 6 4 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 206: ...7 Tag Data Link Functions 7 76 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 246: ...8 Message Communications 8 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 266: ...9 FTP Server 9 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 374: ...13 Troubleshooting 13 56 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 431: ...Index 1 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 I Index...
Страница 436: ...Index 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Index...
Страница 437: ......