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 #565 background imageLoading...
Page #565 background image
A-63
Appendices
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
A-5 Variable Memory Allocation Methods
A
A-5-2 Important Case Examples
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 con-
figuration 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-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.

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