Omron NY532-5400 User Manual page 448

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

Appendices
 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 NY-series Controller. 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 NY-series Controller.
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 NY-series Controller.
Data Type Definitions
Name
Data type
Structure Y
STRUCT
a
DINT
b
INT
c
DINT
Variable Table
Name
Data type
Variable NY_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 NY_X
Structure Y
(2) Add the dummy variable b2 that you created in the
CJ-series CPU Unit to the NY-series Controller as well.
A-62
NY-series Structure Variable NY_X
Bytes
a
First byte
b
First byte + 4
Not used.
First byte + 6
First byte + 8
c
NY-series Structure Variable NY_X
Bytes
a
First byte
b
First byte + 4
b2
First byte + 6
c
First byte + 8
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)
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 NY-series Controller 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 NY-series Controller.
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

Advertisement

Table of Contents
loading

Table of Contents