Internal Memory; Bit Memory ($B); Word Memory ($W); Internal Holding Memory ($Hb/$Hw) - Omron NS Programming Manual

Ns-series programmable terminals
Hide thumbs Also See for NS:
Table of Contents

Advertisement

Section 2 NS Series Functions
NS Series Programming Manual

2-3 Internal Memory

The internal memory in the PT can be read and written by the user. Internal memory can be allocated
as required for settings, such as the communications addresses of functional objects.
The internal memory is divided into bit and word sections.
2-3-1

Bit Memory ($B)

The bit memory in a PT is indicated by $B. Up to 32,768 bits can be used. Addresses from $B0 to
$B32767 can be read and written by the user.
Bit memory is used for signal information that indicate ON/OFF status for functional object addresses
and control flags.
2-3-2

Word Memory ($W)

The word memory in PTs is indicated by $W. Up to 32,768 words can be used. Addresses from $W0 to
$W32767 can be read and written by the user.
Word memory is used to store all numeral and character string data, including data for allocated ad-
dresses for functional objects.
Each word contains 16 bits, but consecutive words can be used as required for character strings and
32-bit data.
N
o
t
e
N
o
t
e
N
o
t
e
Internal memory cannot be read and written directly from the host.
The internal memory size is fixed at 32,768 bits for $B and 32,768 words for $W.
2-3-3

Internal Holding Memory ($HB/$HW)

The memory in PTs that holds values even when the power to the PT is turned OFF is indicated by
$HB and $HW. $HB holds 8,192 bits and $HW holds 8,192 words. Any address from $HB0 to
$HB8191 or $HW0 to $HW8191 can be read and written by the user.
$HB is used for signal information that indicates ON/OFF status for functional object addresses and
control flags. $HW is used to store numeral and character string data, including data for allocated ad-
dresses for functional objects.
Each word in $HW contains 16 bits, but consecutive words can be used as required for character
strings and 32-bit data.
2-18
2-3 Internal Memory

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents