![Omron Sysmac NX1P2-10 1 Series User Manual Download Page 562](http://html1.mh-extra.com/html/omron/sysmac-nx1p2-10-1-series/sysmac-nx1p2-10-1-series_user-manual_1633435562.webp)
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/NX-series CPU Unit.
Both the memory configuration 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/NX-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/NX-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/NX-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/NX-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/NX-series CPU Unit as well.
(1) Add a dummy member variable
b2
that matches the
unused memory location on the NJ/NX-series CPU Unit.
Make the following changes to align the memory
configurations in the NJ/NX-series and CJ-series CPU Units.
Appendices
A-58
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Summary of Contents for Sysmac NX1P2-10 1 Series
Page 8: ...Manual Structure 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 34: ...Revision History 32 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 388: ...9 Socket Service 9 34 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 430: ...12 FTP Client 12 14 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 569: ...I Index I 1 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 I...
Page 576: ...Index I 8 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 577: ......