SmartAXIS Touch User’s Manual 9-69
4 Message Display
9
Data Displays
4.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 3 “3.1 System Tab” on page 3-19.
Example: When reference device D100 = 3132 (Hex), D101 = 3334 (Hex), D102 = 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 terminating character
Device
Stored value
Displayed string
Upper byte Lower byte
D100 31 (Hex) 32 (Hex) 12
D101 33 (Hex) 34 (Hex) 34
D102 35 (Hex) 0 5
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.
NULL terminating character
Device
Stored value
Displayed string
Upper byte Lower byte
D100 32 (Hex) 31 (Hex) 21
D101 34 (Hex) 33 (Hex) 43
D102 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.
• To display only a single character, set the lower byte to 0.
Example:To display a single-byte 7