![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-eip21/sysmac-cj1w-eip21_operation-manuals_742257396.webp)
Appendices
A-22
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
Method 2: Changing the Memory Configuration of the Structure Variable in
the Remote Device
You can insert a member into the structure variable of the remote device to change it to match the
memory configuration of the structure variable in the NJ-series CPU Unit. Both the memory configu-
ration and the data types must be the same between the two structure variables. You therefore need
to create the same members in both the remote device and the NJ-series CPU Unit.
Example: The following example shows how the memory configuration of the structure variable in
the CJ-series CPU Unit is changed to match the memory configuration of the structure variable in
the NJ-series CPU Unit.
a
b
b2
c
a
b
b2
c
a
b
c
Data Type Definitions
Name
Structure Y
a
b
b2
c
Data type
STRUCT
DINT
INT
INT
DINT
Bytes
CJ-series Structure Variable CJ_X
First byte
First byte + 4
First byte + 6
First byte + 8
Variable Table
Name
Variable CJ_X
Data type
Structure Y
Data Type Definitions
Name
Structure Y
a
b
b2
c
Data type
STRUCT
DINT
INT
INT
DINT
Bytes
NJ-series Structure Variable NJ_X
First byte
First byte + 4
First byte + 6
First byte + 8
Variable Table
Name
Variable NJ_X
Data type
Structure Y
Data Type Definitions
Name
Structure Y
a
b
c
Data type
STRUCT
DINT
INT
DINT
Bytes
CJ-series Structure Variable CJ_X
First byte
First byte + 4
First byte + 6
Variable Table
Name
Variable CJ_X
Data type
Structure Y
Data Type Definitions
Name
Structure Y
a
b
c
Data type
STRUCT
DINT
INT
DINT
Bytes
a
b
Not used.
c
NJ-series Structure Variable NJ_X
First byte
First byte + 4
First byte + 6
First byte + 8
Variable Table
Name
Variable NJ_X
Data type
Structure Y
(2) Add the dummy variable b2 that you created in the
CJ-series CPU Unit to the NJ-series CPU Unit as well.
(1) Add a dummy member variable b2 that matches the
unused memory location on the NJ-series CPU Unit.
Make the following changes to align the memory
configurations in the NJ-series and CJ-series CPU Units.
Содержание 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: ......