Omron Sysmac NJ-series User Manual page 565

Machine automation controller cpu unit built-in ethernet/iptm port
Hide thumbs Also See for Sysmac NJ-series:
Table of Contents

Advertisement

 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.
Data Type Definitions
Name
Data type
Structure Y
STRUCT
a
DINT
b
INT
c
DINT
Variable Table
Name
Data type
Variable NJ_X
Structure Y
Data Type Definitions
Name
Data type
Structure Y
STRUCT
a
DINT
b
INT
b2
INT
c
DINT
Variable Table
Name
Data type
Variable NJ_X
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.
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
NJ-series Structure Variable NJ_X
Bytes
a
First byte
b
First byte + 4
Not used.
First byte + 6
First byte + 8
c
NJ-series Structure Variable NJ_X
Bytes
a
First byte
b
First byte + 4
b2
First byte + 6
c
First byte + 8
Data Type Definitions
Name
Data type
Structure Y
STRUCT
a
DINT
b
INT
c
DINT
Variable Table
Name
Data type
Variable CJ_X
Structure Y
Make the following changes to align the memory
configurations in the NJ-series and CJ-series CPU Units.
Data Type Definitions
Name
Data type
Structure Y
STRUCT
a
DINT
b
INT
b2
INT
c
DINT
Variable Table
Name
Data type
Variable CJ_X
Structure Y
(1) Add a dummy member variable b2 that matches the
unused memory location on the NJ-series CPU Unit.
Appendices
CJ-series Structure Variable CJ_X
Bytes
a
First byte
b
First byte + 4
c
First byte + 6
CJ-series Structure Variable CJ_X
Bytes
a
First byte
b
First byte + 4
b2
First byte + 6
c
First byte + 8
A-63
A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac nx-seriesSysmac nx1p2-10 seriesSysmac nx1p2-90 seriesSysmac nj501-5 seriesSysmac nj501-4 seriesSysmac nj501-3 series ... Show all

Table of Contents