507
Changing Numeral and Character String Display
Section 8-5
Changing the Contents of the Character String Memory Table Allocated Word
By allocating a character string table to a word in the host, changes made at the
word in the host can be easily reflected to the character string memory table.
With this method, however, the contents of a memory table allocated word can
only be read out when the character string memory table is being used for an ele-
ment that is currently displayed by the NT31/NT31C. The contents of an allocated
word which is not related to the display is not read out.
When a character code is written to a word at the host, the character code is stored
without change in the character string memory table. By specifying FF20 to FFF
H
,
it is possible to include marks in character strings.
Character codes stored in words at the host are stored in the following sequence in
character string memory tables.
4
1
4
2
4
3
4
4
F
F
0
1
4
5
4
6
“ABCD
Y
EF”
“A” = 41
H
, “B” = 42
H
First word
“C” = 43
H
, “D” = 44
H
First word + 1
“
Y
” = FF01
H
First word + 2
“E” = 45
H
, “F” = 46
H
First word + 3
When the code for mark data straddles two words:
4
1
4
2
4
3
F
F
0
1
4
4
4
5
4
6
“ABC
Y
DEF”
“A” = 41
H
, “B” = 42
H
First word
“C” = 43
H
First word + 1
“
Y
” = FF01
H
First word + 2
“D” = 44
H
, “E” = 45
H
,
First word + 3
“F” = 46
H
Reference
- If the control code 00
H
is written to a word, it is displayed as a space by the
NT31/NT31C. 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.
- When the NT31/NT31C 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.
[Setting]
When creating a screen using the Support Tool, set the allocated word for the char-
acter 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.
[Operation]
(1) 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
according 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
Summary of Contents for NT31 Series
Page 1: ...Cat No V043 E1 2 Programmable Terminal NT31 31C OPERATION MANUAL...
Page 2: ...iii NT31 31C Programmable Terminal Operation Manual Produced March 1999...
Page 41: ...30 Before Operating Section 1 5...
Page 75: ...64 Using a Memory Unit NT31 NT31C without V1 Section 3 6...
Page 160: ...149...
Page 174: ...163...
Page 193: ...182...
Page 211: ...200...
Page 235: ...224 c Return to the screen on which screens are specified...
Page 262: ...251...
Page 360: ...349 It is not possible to control a gloval window by touch switch operation...
Page 468: ...457 254 255 0 2 7 1 4 5 3 3 0 0 0 5 9 8 0 3...
Page 476: ...465 Special Functions Section 7 16...
Page 495: ...484 OFF...
Page 610: ...599 Commands Responses Section 9 3...
Page 630: ...619 Examples of Actual Applications of Memory Link Section 10 2...