Omron sysmac NX102-9 Series Owner's Manual page 550

Machine automation controller, cpu unit built-in ethernet/iptm port
Table of Contents

Advertisement

Appendices
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
E
F
G
H
First byte +
(integer multiple of 2)
E.a[0] to E.a[7]
First byte +
(integer multiple of 2)
F.d[0] to F.d[7]
First byte +
(integer multiple of 2)
G[0].a[0] to G[0].a[7]
G[1].a[0] to G[1].a[7]
First byte +
(integer multiple of 2)
H[0].d[0] to H[0].d[7]
H[1].d[0] to H[1].d[7]
A-60
Alignment [bytes]
2
4
2
4
2
8
2
8
First byte
First byte + 1
Not used.
Not used.
E.b
First byte + 2
First byte + 3
Not used.
F.c
First byte + 4
First byte + 5
Not used.
First byte + 6
First byte + 7
Not used.
First byte + 8
First byte + 9
Not used.
G[0].b
First byte + 10
First byte + 11
Not used.
First byte + 12
Not used.
First byte + 13
G[1].b
First byte + 14
First byte + 15
Not used.
H[0].c
First byte + 16
Not used.
First byte + 17
First byte + 18
First byte + 19
Not used.
H[1].c
First byte + 20
Not used.
First byte + 21
First byte + 22
First byte + 23
Amount of memory that is allocated [bytes]
Memory
Bytes
Variable E,
4 bytes
Variable F,
4 bytes
Variable G,
8 bytes
Variable H,
8 bytes
Not used.
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Data Type Definitions
Name
Data type
Structure STR_C
STRUCT
a
ARRAY[0..7] OF BOOL
b
BYTE
Name
Data type
Structure STR_D
STRUCT
c
BYTE
d
ARRAY[0..7] OF BOOL
Variable Table
Name
Data type
Variable E
Structure STR_C
Variable F
Structure STR_D
Variable G
ARRAY[0..1] OF STR_C
Variable H
ARRAY[0..1] OF STR_D

Advertisement

Table of Contents
loading

Table of Contents