Omron NS10-TV Series Programming Manual page 568

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

Advertisement

Section 3 Using PTs
NS Series Programming Manual
Indirectly Specifying Text Character Strings
Text objects normally display fixed character strings, but they can also be used to read and display
character strings from text files. Text files can be selected from any directory but will be copied auto-
matically when the text file is specified under the Properties Setting Dialog Box to the folder where the
screen data files are stored.
1. Select Indirect Reference of string when making the text property setting using CX-Designer and
set text file where the string to be referenced is stored and specify the address.
2. The string from the specified line (when a text file line number is specified) will be displayed when
the contents of the set address are changed during operation.
Refer to Text Objects under 2-13 Display for details.
Text file
st
1
line
Motor 0
nd
2
line
Motor 1
rd
3
line
Motor 2
Create a text file in the following format.
(The text file outlined shown above is used as an example.)
File extension: txt
File name: Up to 8 characters + txt
Text file
Motor 0
Motor 1
Up to
Motor 2
32,767
lines.
N
o
t
e
N
o
t
e
N
o
t
e
Character strings cannot be indirectly specified if vector fonts are specified for the text object.
Up to 32,767 lines can be set but this may depend on the text editor being used.
If the number of characters per line specified in the text file exceed the number of characters that
can be displayed by the text object, only the portion of the character string from the beginning of the
string to the last character that can be displayed by the text object will be displayed.
Example
Text object
Motor 0
st
String from 1
line
Address specifying file line
HOST1: DM00001
HOST1: DM00001
The following characters can be used in file names.
Alphanumeric characters, underscore (_), dollar signs ($), and periods (.).
Up to 64 characters per line.
Full display
Limited display
3-4 Changing Numeral and Character String Display
1
st
1
line specified
nd
2
line specified
2
3-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents