The text of a manual · part 36 of 47
PDT 1100 Terminal Programmer's Guide: Appendix C Character Sets, pages 325 to 333
Pages 325 to 333 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 325
PDT 1100 Terminal Programmer’s Guide
4
The sleep time feature interrupts program execution if the PDT 1100 receives no input within the length of time set by bit 7 to 0. Shown below are examples of OUT statements. Setting 0 to this byte disables the sleep timer feature. (Refer to Sleep Timer on page H-1.) OUT 6,30
'3 seconds
OUT 6,0
'No sleep operation
5 To activate the wake-up function, set this bit to 1; to deactivate it, set it to 0. 6
To make the TIME$ function return or set the system time, set 0 to this bit; to make the TIME$ function return or set the wake-up time, set 1. Executing the TIME$ function after selecting the wake-up time resets this bit to zero. *** reviewers - help!
7
To display the system status on the bottom line of the LCD, set this port to 1; to erase it, set it to 0. 8 This byte sets the re-read prevention enabled time length in units of 100 ms. Specifying zero
(0) permanently enables the re-read prevention so the PDT 1100 does not read same bar codes in succession. 9
An 8-bit binary pattern (bits 7 to 0) on output ports 10h to 24Fh (stored in the 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. If you use the OUT statement to send graphic data to the VRAM area (assigned to the bottom line of the LCD) when the system status is displayed on the LCD, the data is written into that VRAM area but cannot be displayed on the bottom line of the LCD. 10
Refer to APLINT.PD3 Program File on page H-7.
11 If the backlight function is activated with the OUT statement, the KEY statement specification is ignored. For details, refer to Appendix I, Backlight Function. If you set 0 to the ONduration (6021h), the backlight does not come on; if you set 255, it stays on. 12
You can set the time the power key must be held-down to power off the PDT 1100 from 0.1 to 25.5 seconds in increments of 0.1 second. The default is 5 (0.5 second). 13
Use the XFILE statement to set the communications protocol type for transmitting files. To transmit files via the direct-connect interface or via the optical interface (using the CRD1100), set this port to 0 (PDT 1100 protocol). To transmit files between the PDT 1100 and IrDA-compliant equipment (e.g., personal computers having an IR interface port or an IrDA adapter) or between the PDT 1100 and CRD-1100 optically, set this port to 1 (PDT 1100-Ir
D-6
Page 326
I/O Ports protocol). For the details about the communications protocols, refer to the PDT 1100 Terminal Product Reference Guide. 14
You may set the PDT 1100's ID number to be used for 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 setting range is from 1 to FFFFh. Set the ID number to 1234h as follows: OUT &h6061h,&h34
'Sets 34h to the lower byte of the ID
OUT &h6062h,&h12
'Sets 12h to the upper byte of the ID
15
For data transmission via the optical interface, this bit sets the output pulse width of IR beam in accordance with the IrDA physical layer (IrDA-SIR 1.0). The default width is 1.63 µs.
16
If you set this bit to 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), characters are displayed as follows: (W) x (H) Single-byte ANK mode
6 dots x 6 dots
D-7
Page 327
PDT 1100 Terminal Programmer’s Guide
D-8
Page 328
Appendix E Key Number Assignment on the Keyboard Key Number Assignment The keys on the PDT 1100 keyboard are assigned numbers as shown below. Non-shift mode
30
35
Shift mode
31
36
34
33
37
38
17
18
19
21
22
23
25
26
27
28
29
1
2
3
4
9
10
11
12
5
6
7
8
13
14
15
16
24
20
35864090.eps
35864090.eps
E-1
Page 329
PDT 1100 Terminal Programmer’s Guide
Figure E-1. Key Number Assignments
Default Data Assignment The default data assignment is shown below. Non-shift mode
TRG
Shift mode
TRG
7
8
9
Q
R
S
4
5
6
U
V
W
1
2
3
Y
Z
+
0
.
CR
-
.
A
B
C
D
I
J
K
L
E
F
G
H
M
N
O
P
BS
C
X
T
35864090.eps
Figure E-2. Default Data Assignments
E-2
35864090.eps
Page 330
Appendix F Memory Area Memory Map Figure F-1 illustrates the PDT 1100 memory map.
System Program Area (196 KB)
ROM
User Area (60 KB) System Work Area (48 KB or 172 KB) RAM User Area (464 AKB or 1976 KB)
Figure F-1. Memory Map The size and area allocation of the memory incorporated in the PDT 1100 differ depending upon the following models. F-1
Page 331
PDT 1100 Terminal Programmer’s Guide
ROM (Flash ROM) ROM size (KB)
System program area (KB)
User area (KB)
512
160
64
1024
160
568
RAM RAM size (KB)
System work area (KB)
User area (KB)
512
48
464
2048
72
1976
In the system program area, the system programs (the drivers, BASIC 3.0 Interpreter, and System Mode) are resident. The system work area is shared by the system parameters, work variables, common variables, directories, etc. The user area stores application programs and collected data. The size of the user area is [Memory size - System area size].
Memory Management The PDT 1100 manages the user area of the memory by a 4-kilobyte or 8-kilobyte segment called a “cluster,” for user programs and data files. In units with 2048-kilobyte RAM, the cluster size is 8 kilobytes; in other units, it is 4 kilobytes. The maximum allowable size for a single user program is 64 kilobytes excluding register variables.
Battery Backup of Memory The PDT 1100 backs up user programs and data files stored in the memory with dry batteries or a battery cartridge so data is not lost if the program is terminated or the unit is powered off. Backed-up data is listed below. ! ! ! ! !
F-2
User programs Execution status of a current user program Data files Register variables Screen contents
Page 332
Memory Area
!
Keyboard status.
Memory Space Available for Variables Listed below are the maximum memory spaces available for work, common, and register variables. Variables
Maximum memory space
Work and common variable area
6 KB
Register variable area
64 KB
Each variable occupies the memory space listed below. Variables
Memory occupation
An integer variable
2 bytes
A real variable
6 bytes
A string variable
2 to 256 bytes (including a single character count byte)
An array variable occupies the memory space by [number of bytes per array element x number of array elements].
F-3
Page 333
PDT 1100 Terminal Programmer’s Guide
F-4