![Omron NT21 Series Reference Manual Download Page 321](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543321.webp)
3-5
Section
Changing Numeral and Character String Display
312
Changing Numerals/Character Strings by Copying the Contents by Operation at the
PT Status Control Area
If this method is used, contents can be copied between any required memory
tables at any time in response to a command from the host. Note that this meth-
od is possible only for the following combinations.
•
Numeral memory table
→
Numeral memory table
•
Character string memory table
→
Character string memory table
A
A
A
PC
PT
Memory table
Copy source
Copy destination
(for display)
PT status control area
Screen switch setting
←
Copy destination memory table No.
PT status control setting
←
Copy execution command
Reserved for system use
Copy memory
←
Copy source memory table No.
table setting
Reference:
S
If the Words settings differ between the memory tables (copy source and copy
destination tables), numerals or character strings are copied correctly since 2
words are secured for a numeral memory table and 20 words for a character
string memory table in the PT. If the memory table is allocated to a word in the
host, however, copying may not be executed correctly if the Words settings
differ between the memory tables (copy source and copy destination tables).
S
When the PT is set to NT30/620 compatible mode, copying between memory
tables is performed differently. Refer to
Appendix C for details on the NT30/620
compatible mode.
The PT status control area must be allocated to a word in the host, accordingly,
no special settings are required for copying the data between memory tables.
The following areas are provided in the PT status control area to be used for
copying the data between memory tables.
•
2nd word from the beginning of the area (word n + 1)
Copy source memory table No.
•
3rd word from the beginning of the area (word n + 2)
Copy destination memory table No.
•
4th word from the beginning of the area (word n + 3)
Memory table type (bit 2) and PT status control bit that instructs the execution
of copying (bit 3)
(n: Beginning word number of the PT status control area)
15
n
n+1
n+2
n+3
n+4
14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Word
Bit
Screen No. (4-digit BCD or hexadecimal)
Screen switch setting
Copy source memory table No. (4-digit BCD or hexadecimal)
Copy destination memory table No. (4-digit BCD or hexadecimal)
Copy memory
table setting
PT status control bits
PT status control
Reserved for system use
The configuration and functions of these words are
different when the PT is in NT30/620 compatible mode.
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...