Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 35 of 47

PDT 1100 Terminal Programmer's Guide: Appendix C Character Sets, pages 316 to 324

Pages 316 to 324 of 413, from PDT 1100 Terminal Programmer's Guide

The original document is the PDF (3.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol PDT-1100

Page 316

Appendix C Character Sets Character Set The following table lists the character set which the PDT 1100 can display on the LCD screen. It is based on the ASCII codes.

C-1

Page 317

PDT 1100 Terminal Programmer’s Guide

3

4

5

[

[

0

@

P

‘ p

[

!

1

A

Q a q

[

“

2

B

R b r

[

#

3

C

S c s

$

4

D

T d t

[

% 5

E

U e u

[

& 6

F

V f v

[

‘

7

G

W g w

8 BS C

(

8

H

X h x

9

[

)

9

I

Y i y

[

*

:

J

Z j z

[

+

;

K

[ k

{

[

,

<

L

\ l

|

[

-

||

M ] m

}

[

.

>

N

^ n

~

/

?

O

_ o

[

0 0 }

▲

2 c

1

3

▲

4

▲ ▼

6 %

B C

[ [

A

[

7 &

[

Lower 4 bits

5 ■

F BS is a backspace code. CR is a carriage return code. C is a cancel code.

is a space code.

C-2

[

E

[

D CR

1

6

7

[

2

[

Upper 4 bits 8

Page 318

Character Sets

Note: You can assign user-defined fonts to codes from 80h to 9Fh with APLOAD statement. (Refer to APLOAD statement in Chapter 10.)

Note: Characters assigned to codes 20h to 7Fh are default national characters when the English message version is selected in the SET DISPLAY menu in the System Mode. Use the COUNTRY$ function to switch to other national characters (see National Character Sets on page C-3). (Refer to COUNTRY$ on page 11-11)

National Character Sets

Country Code ** 23 24

40

5B 5C 5D 5E

60

7B 7C 7D 7E 7F

America (Default)

A #

@

[

‘

{

|

}

~

Denmark

D

æ

ø

å

~

England

E £

France

F

à

º

ç

§

é

ù

è

¨

Germany

G

§

Ä

Ö Ü

ä

ö

ü

ß

[

Italy

I

º

\

é

ù

à

ò

è

ì

[

Japan (Default)

J #

$

@

[

¥

]

^

‘

{

|

}

'

(

Norway

N

¤

É

Æ Ø Å

Ü

é

æ

ø

å

ü

Spain

S Pt

¨

ñ

}

~

[

Sweden

W

ä

ö

å

ü

[

Use the COUNTRY$ function to switch characters assigned to codes 20h to 7Fh of the character set table in Character Set on page C-1 to a national character set. The default national character set is America (code A) or Japan (code J) depending on whether the English or Japanese message version is selected on the SET DISPLAY menu in System Mode. Listed below are national characters different from the defaults.

\

]

^

¤

~

\

É

í

Ñ ¿

Ä

Ö Å

Ü

é

[

$

[

Æ Ø Å

[

[

$

[

Country

** Refer to COUNTRY$ on page 11-11 (COUNTRY$=“countrycode”). C-3

Page 319

PDT 1100 Terminal Programmer’s Guide

Note: Empty boxes in the table are assigned the same characters as the default in Character Set on page C-1.

Display Mode and Letter Size Character Frame and Letter Size in Single-Byte ANK Mode Display font size

Character frame (W x H)

Letter size (W x H)

Standard size

6x8

5x7

Small

6x6

5x5

Generating Small Font Patterns Single-byte ANK characters To display single-byte ANK characters in the small font, small font patterns stored in flash ROM are used and no condensation occurs. The Interpreter condenses patterns loaded by the APLOAD statement as follows: 1 2 3 4 5 6 1 2 3 4 5 6 7 8 36099021.eps

Figure C-1. Condensed ANK Characters The Interpreter ORs adjacent horizontal rows (2nd and 3rd rows and 5th and 6th rows) to produce a single row each. Other rows are displayed as is. In the figure shown above, rows marked with O are displayed as is; adjacent rows without O are condensed into a single row.

C-4

Page 320

Appendix D I/O Ports Input Ports A user program uses the WAIT statement or INP function to monitor the hardware status through the input ports. BASIC 3.0 defines port as a byte. The table below lists the input ports and their monitoring function in the PDT 1100. Table D-1. Input Port Assignments Port No.

Bit Assignment 1

0

0

Keyboard buffer

0: No data

1: Data stored

1

Bar code buffer

0: No data

1: Data stored

2

Trigger switch 2

0: OFF

1: ON

3

Receive buffer

0: No data

1: Data stored

4

Value of TIMEA function

0: Nonzero

1: Zero

5

Value of TIMEB function

0: Nonzero

1: Zero

6

Value of TIMEC function

0: Nonzero

1: Zero

7

CS (CTS) signal 3

0: OFF or file closed 1: ON

3-0

LCD contrast level 4 5

0 to 11 (0: Lowest, 11: Highest)

0

Message version 5 6

0: Japanese

3 4

Monitors the following:

1: English

D-1

Page 321

PDT 1100 Terminal Programmer’s Guide

Table D-1. Input Port Assignments (Continued) 8

0

Wake-Up function

0: Deactivated

1: Activated

1

Initiation of PDT 1100 7

0: Initiated by the Power Key

1: Initiated by the wake-up function

2

TIME$ function

0: System time selected

1: Wake-up time selected

Eh

0

System Status Indication 5 0: OFF

Fh

7-0

Re-read prevention enabled time 9

0 to 255

10h-24Fh

7-0

VRAM 5 10

0: OFF

6010h

7-0

Battery voltage level 11

0 to 255

6011h

0

Battery type

0: NiMH battery cartridge

1: Dry batteries

6040h

0

M Key 1

0: Released

1: Held down

6040h

1

M Key 2

0: Released

1: Held down

6060h

7-0

Communications protocol 0: PDT 1100 12 protocol

6061h

7-0

ID (lower byte) 13

0 to 255

6062h

7-0

ID (upper byte) 13

0 to 255

6070h

0

Output pulse width of IR beam

0: 1.63 µs

1:3/16 bit time

6080h

0

Display font size 14

0: Standard size

1: Small size

8

1: ON

1: ON

1: PDT 1100 Ir protocol

1

BASIC 3.0 represents the bit order by the exponent of each binary digit in the byte. For example, bit 0 means LSB; bit 7 means MSB. 2

Only when the trigger switch function is assigned to an M key (M1, M2, M3, or M4), a user program returns the ON/OFF state of the switch.

D-2

Page 322

I/O Ports

3

During the direct-connect interface operation, a user program regards RD signal as CS signal, when the returned value of CS is specified by RS/CS control parameter in the OPEN “COM:” statement as listed below. OPEN “COM:” statement

Returned value of CS (CTS)

OPEN “COM:,,,,0”

Always 1

OPEN “COM:,,,,1”

Always 1

OPEN “COM:,,,,2”

1 if RD signal is High

OPEN “COM:,,,,3”

1 if RD signal is Low

OPEN “COM:,,,,4”

Depends upon the RD signal state

If the direct-connect interface is closed, the PDT 1100 returns the value 0. 4

Lower four bits (bit 3 to bit 0) in this byte represent the contrast level of the LCD in 0000 to 1011 in binary notation or in 0 to 11 in decimal notation. 0 represents the lowest contrast; 11 the highest. 5 Do not use the WAIT statement to monitor the LCD contrast, message version , system status indication, or VRAM because the program may enter an infinite loop. 6

In System Mode, the message version appears on the LCD.

7

If the PDT 1100 is initiated by the wake-up function, this bit goes ON (1).

8 The PDT 1100 can display the system status on the bottom line of the LCD. 9

The PDT 1100 returns the re-read prevention enabled time length in units of 100 ms. If the returned value is zero (0), the re-read prevention is permanently enabled so that the PDT 1100 does not read same bar codes in succession. 10

An 8-bit binary pattern (bits 7 to 0) on the input ports 10h to 24Fh (which read VRAM) represents a basic dot pattern column of the LCD. Bit value 1 means a black dot. The port number gives the dot column address. 11 A user program returns the A/D converted value (0 to 255) of the battery voltage level (0 to 5V). The returned value is an instantaneous value when data on the input port is read. Use the voltage level as a reference value as it varies depending upon PDT 1100 operation and is not proportional to the battery capacity.

D-3

Page 323

PDT 1100 Terminal Programmer’s Guide

12

A user program returns the communications protocol type used for file transmission with the XFILE statement. For details about the communications protocol, refer to the PDT 1100 User's Manual. 13

A user program returns the PDT 1100's ID number required to use the PDT 1100 Ir protocol. The ID number is expressed by two bytes: lower byte on port 6061h and upper byte on port 6062h. The range of the returned value is from 1 to FFFFh. If the ID number is 1234h, for example, the value on 6061h is 34h and that on 6062h is 12h. 14 If the value of this bit is 0 (standard-size), characters are displayed as follows:

(W) x (H) Single-byte ANK mode

6 dots x 8 dots

If the value of this bit is 1 (small-size), characters will be displayed as follows: (W) x (H) Single-byte ANK mode

6 dots x 6 dots

Output Ports A user program can use the OUT statement to control the hardware through the output ports. BASIC 3.0 defines each port as a byte. The table below lists the output ports and their controlling function in the PDT 1100. Table D-2. Output Port Assignments Port No. Bit Assignment 1

Controls the following:

0

Reading Confirmation LED (red) 2

0: OFF

1: ON

1

Reading Confirmation LED (green) 2 0: OFF

1: ON

3

3-0

LCD contrast level3

0 to 11(0: Lowest, 11: Highest)

4

0

Message version

0: Japanese

7-0

Sleep Timer 4

0 to 255

0

Wake-up function5

0: Deactivates

1: Activates

2

TIME$ function6

0: Selects the system time

1: Selects the wake-up time

1

6 8

D-4

1: English

Page 324

I/O Ports

Table D-2. Output Port Assignments (Continued) 0

System status indication 7

0: OFF

7-0

Re-read prevention enabled time8

0 to 255

7-0

VRAM9

0: OFF

1: ON

6000h

0

Initiation of system mode 10

0: Not initiate

1: Initiates

6020h

0

LCD Backlight 11

0: Turns OFF

1: Turns ON

6021h

7-0

LCD Backlight ON-duration11

0 to 255

6030h

7-0

Effective held-down time of power key 12

1 to 255

6060h

7-0

Communications protocol 13

0: PDT 1100 protocol

6061h

7-0

ID (lower byte) 14

0 to 255

6062h

7-0

ID (upper byte) 14

0 to 255

6070h

0

Output pulse width of IR beam15

0: 1.63 µs

0

Display font size 16

0: Standard size 1: Small size

Eh Fh 10h-24Fh

6080h

1: ON

1: PDT 1100 Ir protocol

1:3/16 bit time

1

BASIC 3.0 represents the bit order by the exponent of each binary digit in the byte. For example, bit 0 means LSB; bit 7 means MSB. 2 The reading confirmation LED is controllable only when the bar code device file is closed.

If the file is open, the OUT statement is ignored. If the confirmation LED is set to OFF in the OPEN “BAR:” statement, a user program can control the reading confirmation LED although the bar code device file is open. 3

Lower four bits (bit 3 to bit 0) in this byte control the contrast level of the LCD in 0000 to 1011 in binary notation or in 0 to 11 in decimal notation. 0 represents the lowest contrast; 11 the highest. Following are examples of OUT statements. OUT 3,11

'Contrast is highest

OUT 3,&h0b

'Contrast is lowest

D-5