3-5
Section
Changing Numeral and Character String Display
310
Reference:
S
If the control code 00
H
is written to a word, it is displayed as a space by the PT.
The character string is displayed only up to this code since it is regarded as the
end of the characters. When writing character codes to a word, do not write
00
H
in a character string.
S
When the PT is set to NT30/NT620 compatible mode, image and library codes
can be included in character string memory tables. Be sure to check the size of
the image or library so that it doesn’t extend past the edges of the screen when
it is displayed. (Refer to page 441.)
S
When the PT reads out the words in a character string memory table, it reads
the number of words specified in the Words setting. Character strings are not
read out beyond this range.
When creating a screen using the Support Tool, set the allocated word for the
character string memory table. The Words setting must be set carefully.
Reference:
The range of character string memory table numbers which can actually be used
depends on the number of character string memory tables set in the PT Configu-
ration – System settings at the Support Tool.
Change the contents of the word in the host to which the character string
memory table is allocated.
The contents of the word are reflected to the character string memory table ac-
cording to the setting of the character string memory table.
Note that the contents of a character string memory table allocated word can be
only be read out when the memory table is being used for an element that is cur-
rently displayed by the PT. The contents of an allocated word which is not related
to the display are not read out.
Example of Use
Direct Specification
An example of displaying the contents of a PC word allocated to a character
string memory table as they are is shown below. The display on the PT screen
changes as the contents of the PC word change. If the system is so configured
that the character string is written to the word using a personal computer via a
communication unit, the required message can be displayed on the PT.
Setting at The Support Tool
Set as indicated below using the Support Tool.
•
Character string memory table No. 150:
D00300 (Words: 6)
•
Contents to be registered for the screen:
Character string memory table No. 150
SETTING UP
Character string memory table No. 150
PC Program
When changing the contents of a word using a personal computer, no special
ladder program used for controlling the PT is necessary.
Program Operation
The contents of the word are always displayed as a character string.
Setting
Operation
electronic components distributor
Summary of Contents for NT21 Series
Page 3: ...iv Downloaded from Elcodis com electronic components distributor...
Page 5: ...vi Downloaded from Elcodis com electronic components distributor...
Page 463: ...Downloaded from Elcodis com electronic components distributor...
Page 465: ...Downloaded from Elcodis com electronic components distributor...