Omron Sysmac NJ-series User Manual page 564

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

Advertisement

Appendices
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
To align the memory configurations in the NJ-series and CJ-series CPU Units, offsets are set in the Sysmac Studio.
Here, the following offsets are set for member c of data type Y of the structure variable NJ_X.
Memory Bytes
First byte
First byte + 1
Variable a
First byte + 2
First byte + 3
First byte + 4
Variable b
First byte + 5
First byte + 6
Not used.
First byte + 7
First byte + 8
First byte + 9
Variable c
First byte + 10
First byte + 11
Set a byte offset of 6 and a bit offset
of 0 (no offset) for variable c.
A-62
NJ-series Structure
Variable NJ_X
Bytes
a
First byte
First byte + 4
b
Communications is
Not used.
First byte + 6
not possible
c
First byte + 8
because the memory
configuration is not
the same.
(1) Offset type is set to CJ.
(1) Offset Type
Specify User.
First byte
First byte + 1
First byte + 2
First byte + 3
First byte + 4
First byte + 5
First byte + 6
First byte + 7
The location of
First byte + 8
variable c changes
First byte + 9
according to the
First byte + 10
offsets.
First byte + 11
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
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
(3) Bit Offset
Set the location of the first bit of the member variable.
(2) Byte Offset
Set the location of the first byte of the member
from the beginning of the structure variable.
Memory Bytes
Variable a
Variable b
Variable c
CJ-series Structure
Variable CJ_X
Bytes
First byte
a
First byte + 4
b
First byte + 6
c
(2) Byte Offset
Variable c starts from the 6th byte
from the start of the structure.
(3) Bit Offset
Variable c starts from the 0th
bit from the start of the byte.

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