5 string data storage method, String data storage method -40 – IDEC High Performance Series User Manual

Page 552

Advertising
background image

2 Character Input

10-40

WindO/I-NV2 User’s Manual

Without Pressing the Character Input, Directly Entering Text from a Keypad on the Same Screen
Arrange a Character Input and a keypad on the same screen. In the properties dialog box for the Character Input, on
the General tab, under Keypad, select Current Screen for Type and select the Always Entry Mode check box.

Changing the Language and Entering Text
Select the Change Font with Device check box on the Format tab in the properties dialog box.
It is convenient to use this setting together with the text group settings.
The font and popup screen with this setting will change simultaneously with the text group change and text can be
entered with the same font as the text group.
Select the Use Dynamic Text check box in the Text Group Settings dialog box and specify the same device in
Trigger Device as the Trigger Device for this setting.

2.5 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-26.

Example: When the destination device is LDR 100 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

Host

MICRO/I

HG_

HG SERIES_

HG SERIES

D100 :

4847

(Hex)

‘H’ ‘G’

D100 :

D101 :

4847

(Hex)

‘H’ ‘G’

2053

(Hex)

4552

(Hex)

4945

(Hex)

5300

(Hex)

‘E’ ‘R’

D102 :

D103 :

D104 :

D100 :

D101 :

4847

(Hex)

‘H’ ‘G’

2053

(Hex)

4552

(Hex)

4945

(Hex)

5300

(Hex)

‘E’ ‘R’

D102 :

D103 :

D104 :

‘ ’ ‘S’

‘ I ’ ‘E’

‘S’

(NULL)

‘ ’ ‘S’

‘ I ’ ‘E’

‘S’

(NULL)

Write text character

codes to devices

Press ENT

Display values of devices as text

(Entry mode)

Display values of devices as text

(Entry mode)

Display values of devices as text

(Entry mode)

Enter text as

"HG SERIES"

Device

Stored value

Upper byte

Lower byte

LDR 100

'A' = 41 (hex)

'B' = 42 (hex)

LDR 101

'C' = 43 (hex)

'D' = 44 (hex)

LDR 102

'E' = 45 (hex)

0

NULL terminating character

Device

Stored value

Upper byte

Lower byte

LDR 100

'B' = 42 (hex)

'A' = 41 (hex)

LDR 101

'D' = 44 (hex)

'C' = 43 (hex)

LDR 102

0

'E' = 45 (hex)

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.

Advertising
This manual is related to the following products: