Omron NX-series User Manual page 191

Safety network controller communication control unit built-in function
Hide thumbs Also See for NX-series:
Table of Contents

Advertisement

WORD, UINT, or INT
DWORD, UDINT, or DINT
LWORD, ULINT, or LINT
REAL
LREAL
TIME, DATE, TIME_OF_DAY, or
DATE_AND_TIME
*1
STRING[N+1]
Enumerations
*1.
N is the maximum number of characters handled. For example, if a maximum of 10 single-byte characters
are handled, the NULL character is added, so memory for 11 characters must be reserved.
The elements of arrays and the members of structures and unions are located in memory for the most
efficient access. The alignments and the amounts of memory that are allocated for arrays, structures,
and unions are determined by the variable declarations, as described below.
Data type
Array
Same as alignment of the data type
of the elements
Structure
The largest alignment of all of the
members
Union
The largest alignment of all of the
members
*1.
BOOL arrays are an exception. Refer to Precautions for Correct Use, below, for the amount of memory that
is allocated for BOOL arrays.
NX-series Communication Control Unit Built-in Function User's Manual (Z396)
Data type
Alignment
Amount of memory that is al-
Alignment [bytes]
2
2
4
4
8
8
4
4
8
8
8
8
1
N+1
4
4
Amount of memory that is allocated
(Amount of memory that is allocated for the data type of the
elements) × Number of elements
The integral multiple of the alignment that is larger than the
total amount of memory that is allocated when the members
are arranged in order at integral multiples of the alignment
of the data types of the members
The largest amount of memory that is allocated for any of
the members
Appendices
located [bytes]
*1
A - 17
A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nx-csg series

Table of Contents