Manual

5 Message Display
10-86 WindO/I-NV2 User’s Manual
5.4 String Data Storage Method
The values of devices read as character codes are stored in the upper byte and lower byte of words 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-26.
Example: When reference device D 100 = 3132 (hex), D 101 = 3334 (hex), D 102 = 3500 (hex)
•When from Upper byte is selected for Storage Method of String Data
•When from Lower byte is selected for Storage Method of String Data
NULL terminang character
Device
Stored value
Displayed string
Upper byte Lower byte
D 100 31 (hex) 32 (hex) 12
D 101 33 (hex) 34 (hex) 34
D 102 35 (hex) 0 5
NULL terminang character
Device
Stored value
Displayed string
Upper byte Lower byte
D 100 32 (hex) 31 (hex) 21
D 101 34 (hex) 33 (hex) 43
D 102 0 35 (hex)
When handling values of devices as character codes,
0 is handled as the NULL terminating character to
end the string. Therefore, when the upper byte is 0,
nothing is displayed.
When handling values of devices as character codes, 0 is handled as the NULL terminating character to
end the string. Therefore, when the upper byte is 0, nothing is displayed.
To display only a single character, set the lower byte to 0.
Example:To display a single-byte 7
3700
(Hex)
‘7’