WindO/I-NV4 User’s Manual 10-55
2 Character Input
10
Data Displays
2.6 String Data Storage Method
The entered text is stored in the upper byte and lower byte according to the Storage Method of String Data
setting. Storage Method of String Data is configured on the System tab in the Project Settings dialog box.
For details, refer to Chapter 4 “3.1 System Tab” on page 4-25.
Example 1:When the destination device address is “LDR100” and the entered text is “ABCDE”
•When from Upper byte is selected for Storage Method of String Data
•When from Lower byte is selected for Storage Method of String Data
Example 2:When the destination device address is “LDR100” and the entered text is “ 完了 ”
•When from Upper byte is selected for Storage Method of String Data
•When from Lower byte is selected for Storage Method of String Data
2.7 Advanced Usage
● Using the System Area
• When finished entering text by pressing ENT, 1 is written to the System Area 2 Character Input Setting Complete
bit (address number+3, bit 5).
•When CAN is pressed, entry mode is canceled and 1 is written to the System Area 2 Character Input Setting Cancel
bit (address number+3, bit 6). However, if the keypad is closed by pressing (close) on the popup screen's title
bar or another Character Input is pressed and selected before finished entering the text by pressing ENT, entry
mode is canceled and 1 is not written to the System Area 2 Character Input Setting Cancel bit (address number+3,
bit 5).
• To clear the System Area 2 character input setting complete bit or the character input setting cancel bit, write 1 to
System Area 1 Character Input Setting Clear bit (address number+1, bit 11). To automatically clear these bits when
the Character Input keypad is pressed in entry mode, select the Clear Keypad bit in System Area
automatically check box on the System tab in the Project Settings dialog box.
Device address
Stored value
Upper byte Lower byte
LDR100 'A' = 41 (Hex) 'B' = 42 (Hex)
LDR101 'C' = 43 (Hex) 'D' = 44 (Hex)
LDR102 'E' = 45 (Hex) 0
NULL terminating character
Device address
Stored value
Upper byte Lower byte
LDR100 'B' = 42 (Hex) 'A' = 41 (Hex)
LDR101 'D' = 44 (Hex) 'C' = 43 (Hex)
LDR102 0 'E' = 45 (Hex)
NULL terminating character
Device address
Stored value
Upper byte Lower byte
LDR100 8A (Hex) AE (Hex)
'
完 '
LDR101 97 (Hex) B9 (Hex)
'
了 '
LDR102 0
NULL terminating character
Device address
Stored value
Upper byte Lower byte
LDR100 AE (Hex) 8A (Hex)
'
完 '
LDR101 B9 (Hex) 97 (Hex)
'
了 '
LDR102 0
NULL terminating character
When handling strings, 0 is written to the device as the NULL terminating character and treated as the end
of the string.