Section 2 NS Series Functions
2-12 Display and Input Objects
2-249
NS Series Programming Manual
No. Setting
Details
1 Object
Comment
Sets an explanatory comment for the pasted object. (Up to 32 characters.) The set
comment can be printed or edited together.
2 String
Display Type
Specifies the number of characters and the string display type. ASCII or Unicode can be
specified for the display type. ASCII express half-size characters as 1 byte and full-size
characters as 2 bytes.
Unicode expresses all characters as 2 bytes.
For example, if “ab” was stored in the start address $W0, the string would be stored as
$W0=0
×
6162 in ASCII. In Unicode the string would be stored as $W0=0
×
61 and
$W1=0
×
62.
3
Pop-up menu Makes settings to enable display strings to be selected from pop-up menus.
At the PT, a scroll bar will be displayed if there are
more than ten items on a pop-up menu, as shown
on the left. Use the scroll bar to display other items
on the menu.
4 Address
information
Sets the address to be accessed and written by string display and input object.
5
Apply to All
Labels
Uses the address of the selected label for all labels. This setting cannot be made in the
following cases.
•
When the
Address of String Display & Input object
Check Box is selected on the
Edit/Display Tab Page of the Option Dialog Box accessed by selecting
Tools - Op-
tion
.
•
When there is only one label.
6 Input
Process
If
the
Fill the blank characters with a specified character
Option is selected, spaces or
nulls 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 characters
ABCDE are input, then 3 spaces will be added: ABCDE
@@@
(
@
indicates a space).
If the
Fill the blank characters with a specified character
Option is not selected, all
characters up to null at the end of the string will be written to the specified address.
For example, if the set string is ABCDEFG, when A is written to the address, 0 will be
written in 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, CD will be 0.
7 Display
on
entry
If the
Display input characters by *
Option is selected, characters input using the virtual
keyboard or the Key Buttons or characters being monitored are indicated by *.
N
N
N
o
o
o
t
t
t
e
e
e
♦
To make settings easier to understand when CX-Designer objects are pasted, the number of char-
acters is indicated by using Xs (e.g., XXXXX).
♦
If the number of characters or the address is set too high, the maximum address for the specified
area may be exceeded, e.g., when the number of words is 256 and the start address is $W2047. If
the maximum address in the area is exceeded, a communications error will occur when the screen to
which the string display and input object is set is opened on the PT. Make sure the maximum address
is not exceeded.
Содержание NS -
Страница 2: ......
Страница 12: ...Contents vi NS Series Programming Manual...
Страница 46: ...Section 1 Overview 1 5 Procedure before Operation 1 33 NS Series Programming Manual...
Страница 590: ...Section 3 Using PTs 3 12 Function Key Settings NS15 Only 3 35 NS Series Programming Manual...
Страница 604: ...Section 4 Using Functions 4 1 Application 4 13 NS Series Programming Manual...
Страница 640: ...Section 5 Troubleshooting and Maintenance 5 2 Error Messages 5 35 NS Series Programming Manual...
Страница 680: ...Appendices Appendix 6 Additional NS Series Functions A 39 NS Series Programming Manual...
Страница 682: ......
Страница 683: ......