Data Type Definitions
Name
Structure
STR_A
a
b
Data type
STRUCT
DINT
INT
Variable A,
8 bytes
Variable B,
8 bytes
Variable C,
16 bytes
Variable D,
16 bytes
A.a
A.b
B.c
B.d
C[0].a
C[0].b
C[1].a
C[1].b
D[0].c
D[0].d
D[1].c
D[1].d
Bytes
Memory
First byte +
(integer multiple of 4)
First byte
First byte + 1
First byte + 2
First byte + 3
First byte + 4
First byte + 5
First byte + 6
First byte + 7
First byte + 8
First byte + 9
First byte + 10
First byte + 11
First byte + 12
First byte + 13
First byte + 14
First byte + 15
First byte + 16
First byte + 17
First byte + 18
First byte + 19
First byte + 20
First byte + 21
First byte + 22
First byte + 23
First byte + 24
First byte + 25
First byte + 26
First byte + 27
First byte + 28
First byte + 29
First byte + 30
First byte + 31
First byte + 32
First byte + 33
First byte + 34
First byte + 35
First byte + 36
First byte + 37
First byte + 38
First byte + 39
First byte + 40
First byte + 41
First byte + 42
First byte + 43
First byte + 44
First byte + 45
First byte + 46
First byte + 47
Not used.
Variable Table
Name
Variable A
Variable B
Variable C
Variable D
Data type
Structure
STR_A
Structure
STR_B
ARRAY[0..1] OF STR_A
ARRAY[0..1] OF STR_B
Name
Structure
STR_B
c
d
Data type
STRUCT
INT
DINT
First byte +
(integer multiple of 4)
First byte +
(integer multiple of 4)
First byte +
(integer multiple of 4)
Not used.
Not used.
Not used.
Not used.
Not used.
Example: The alignments and the amounts of memory that are allocated for the four variable declara-
tions given in the following figure are given in the following table.
Variable
Alignment [bytes]
Amount of memory that is allocated
[bytes]
E
2
4
F
2
4
Appendices
A-53
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
A-5
V
ariable Memory Allocation Methods
A
A-5-1 V
ariable Memory Allocation Rules
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: ......