Omron NS10-TV Series Programming Manual page 233

Ns-series programmable terminals
Hide thumbs Also See for NS10-TV Series:
Table of Contents

Advertisement

Section 2 NS Series Functions
NS Series Programming Manual
Write String
Sets a character string in a specified communications address. The string can be up to 256 characters
long.
Press the Write Button and select Write String from the list that is displayed.
No.
Item
1
Write Address
2
String
3
Max. No. of
Characters
4
Character
Code
5
Swap the
high-byte and
the low-byte
6
Fill the blank
characters
with a speci-
fied character
Sets the communications address to be written to.
The character string is written to consecutive addresses starting with the set com-
munications address, according to the number of characters and the character
code.
Specifies the character string to be written. The string can be up to 256 characters
long.
Sets the number of characters to be written (1 to 256).
Select either ASCII or Unicode (UTF-16) for the character code.
Swaps the higher bytes and lower bytes in the string and writes the result to the
communications address.
If this option is selected, spaces or null characters are automatically added to the
end of strings to fill the space if the number of input characters is less than the set
number of characters.
For example, if the number of characters has been set to 8 and only the 5 charac-
ters ABCDE are input, then 3 spaces will be added:
ABCDE@@@@ (@ indicates a space.)
If this option is not selected, all characters up to the null character at the end of the
string will be written to the specified address.
For example, if the string already set to the address is ABCDEFG, when A is written
to the address, 0 will be written in the place of B, and C and the other characters
will not be written.
The data is written in word format, so when the string AB is written in ASCII, CD will
be 0.
Details
2-184
2-11 Multifunction Objects
1
2
3
4
5
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents