Omron NY532-5400 User Manual page 443

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

Advertisement

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]
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)
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
Not used.
First byte + 23
Amount of memory that is allocated [bytes]
Data Type Definitions
Memory
Bytes
Variable E,
4 bytes
Variable F,
4 bytes
Variable Table
Variable G,
8 bytes
Variable H,
8 bytes
Appendices
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
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
A
A-57

Advertisement

Table of Contents
loading

Table of Contents