Manual · Symbol
PDT 1100 Terminal Programmer's Guide
Manual413 pagesPDF 3.5 MB
Programmer's guide for the Symbol PDT 1100 terminal: writing, compiling and running BASIC 3.0 application programs.
Covers · 1 model
The models it covers
Summary
What is in it
Symbol's programmer's guide for the PDT 1100 terminal. It explains the terminal's software structure (drivers, BASIC 3.0 Interpreter, System Mode and font files in flash ROM), how to set up the development environment on a PC, compile source programs and download them to the terminal, and then covers program structure, data types, expressions, I/O facilities, files, event and error trapping, and full statement and function references.
Its parts
- Software Overview
- Development Environment and Procedures
- Program Structure
- Basic Program Elements
- Data Types
- Expressions and Operators
- I/O Facilities
- Files
- Event Polling and Error/Event Trapping
- Statement Reference
- Function Reference
From the manual
Key facts from this manual
Each line names its page in the PDF.
The Symbol PDT 1100 Terminal Programmer's Guide (70-36099-01, Revision B, May 2001) explains how to write BASIC 3.0 programs for the PDT 1100 terminal. It covers the development tools and steps, every statement and function, the optical and direct-connect communications interfaces, the memory layout and the full lists of error codes.
- Memory
- RAM 512 KB (464 KB user area) or 2048 KB (1976 KB user area); flash ROM 512 KB or 1024 KB, depending on model p. 330, 331
- Interfaces
- Optical interface through the CRD 1100 optical communications unit/cradle, or a direct-connect interface p. 27
- Memory backup
- Dry batteries or a battery cartridge keep user programs, data files, register variables and screen contents p. 331
- Programming language
- BASIC 3.0, with syntax very similar to Microsoft BASIC; no line numbers required p. 23, 24
- Optical baud rates
- 115200, 57600, 38400, 19200, 9600 (default) or 2400 bps p. 207
- Direct-connect baud rates
- 38400, 19200, 9600 (default), 4800, 2400, 1200, 600 or 300 bps p. 207
- Optical range
- Up to 80 cm, with the IR beam within a 10° angle p. 369
- Port defaults
- 9600 bps, no parity, 8 bits, 1 stop bit, no RS/CS control, 3 second timeout p. 206
- Program size
- Up to 64 kilobytes for a single user program, excluding register variables p. 331
- Development PC
- Windows PC with an RS-232C interface and at least 640 kilobytes of RAM p. 27
- Development software
- BASIC 3.0 Compiler (BHTC3W.EXE), Ir-Transfer Utility C (TU3W.EXE, TU3C2W.EXE), Ir-Transfer Utility E (ITEW32.EXE) p. 28
- Built-in software
- Drivers with bar code decoder, BASIC 3.0 Interpreter, System Mode and font files in flash ROM; Easy Pack data collection application p. 21, 22, 23
- Extension programs
- FN3 files from the BASIC 3.0 Extension Library add ruled lines on the LCD and X-MODEM/Y-MODEM file transfer p. 22
- Variable memory
- 6 KB for work and common variables, 64 KB for register variables p. 332
What this manual walks you through
- How the PDT 1100 software is laid out in flash ROM and RAM p. 21, 22
- Setting up a development PC and the steps from source program to running program p. 27, 28, 29
- How the Compiler and Interpreter turn a source program into a running user program p. 24, 25
- Opening the communications port with OPEN "COM:" and setting baud rate, parity and RS/CS p. 205, 206, 207
- Looking up execution, fatal and syntax error codes p. 306, 307, 308, 309, 310, 311, 312
- Reading the memory map and how memory is managed in clusters p. 330, 331, 332
- Communications specifications and the ENQ, ACK and NAK handshake p. 368, 369
Good to know
- Flash ROM can be rewritten only about 10,000 times, and application programs cannot write data to it. p. 22
- Leaving the terminal without batteries may damage files in RAM, though files in flash ROM are kept. p. 22
- The optical and direct-connect interfaces cannot be open at the same time, nor the optical interface and the bar code device file. p. 206
- The RS-232C cable must have the connector and pin assignment the PC needs; the PDT 1100 Product Reference Guide gives the CRD 1100 pinout. p. 27
- Memory is managed in 8-kilobyte clusters on units with 2048-kilobyte RAM and 4-kilobyte clusters on others. p. 331
Questions this manual answers
What language are Symbol PDT 1100 programs written in?
BASIC 3.0, which is very close to Microsoft BASIC. Programs are compiled on a PC and downloaded to the terminal with Ir-Transfer Utility C. p. 23, 28
What does PDT 1100 error 35h mean?
Execution error 35h means File not found; Appendix A lists all execution, fatal and syntax errors. p. 307
How much memory does the PDT 1100 have?
Depending on the model, 512 KB or 2048 KB of RAM and 512 KB or 1024 KB of flash ROM. p. 330, 331
What baud rates does the PDT 1100 optical interface support?
115200, 57600, 38400, 19200, 9600 (the default) or 2400 bps. p. 207
Contents
Chapters and sections
Each line opens the PDF at its page.
- 70-36099-01 Revision B, May 20012
- Symbol Technologies, Inc. One Symbol Plaza, Holtsville N.Y. 11742-13002
- Programmer’s Guide1
- Chapter 2 Development Environment and Procedures27
- Chapter 10 Statement Reference111
107 more lines, from page 160 on
- GOSUB160
- GOTO162
- IF...THEN...ELSE...END IF163
- INPUT165
- INPUT #168
- KEY171
- KEY ON and KEY OFF176
- KILL178
- LET180
- LINE INPUT182
- LINE INPUT #184
- LOCATE186
- ON ERROR GOTO188
- ON...GOSUB and ON...GOTO190
- ON KEY...GOSUB192
- OPEN194
- OPEN “BAR:”197
- OPEN “COM:”205
- OUT209
- POWER211
- PRINT213
- PRINT #216
- PRINT USING218
- PUT221
- READ223
- REM225
- RESTORE227
- RESUME228
- RETURN230
- SCREEN231
- SELECT...CASE...END SELECT233
- WAIT236
- WHILE...WEND238
- XFILE240
- $INCLUDE247
- Chapter 11 Function Reference249
- ABS250
- ASC251
- BCC$252
- CHKDGT$254
- CHR$257
- COUNTRY$259
- CSRLIN261
- DATE$262
- EOF264
- ERL266
- ERR267
- ETX$268
- FRE270
- HEX$272
- INKEY$273
- INP274
- INPUT$276
- INSTR278
- INT280
- LEFT$281
- LEN282
- LOC283
- LOF285
- MARK$287
- MID$289
- POS291
- RIGHT$292
- SEARCH293
- SOH$295
- STR$297
- STX$299
- TIME$301
- TIMEA/TIMEB/TIMEC303
- VAL305
- Appendix A Error Codes and Error Messages306
- Syntax Errors310
- Appendix C Character Sets316
- Character Set316
- National Character Sets318
- Display Mode and Letter Size319
- Appendix D I/O Ports320
- Appendix E Key Number Assignment on the Keyboard328
- Appendix F Memory Area330
- Appendix H Programming Notes340
- Appendix I Backlight Function348
- Appendix J Program Samples352
- Appendix K Quick Reference for Statements and Functions356
- Handling Errors357
- Controlling the LCD Screen358
- Controlling the Keyboard Input359
- Manipulating System Date, Current Time, or Timers360
- Communicating with Bar Code Device361
- Manipulating Data Files and User Program Files362
- Communicating with Communications Devices363
- Commenting a Program364
- Defining User-Created Functions365
- Appendix M Communications368
The whole text · 47 parts
Read the manual here as text
Its text as extracted from the PDF, unedited, in parts; each page opens the PDF at that page.
- 70-36099-01 Revision B, May 20011-4
- Contents, pages 5 to 115-11
- Contents, pages 12 to 1912-19
- Contents, pages 20 to 2620-26
- Chapter 2 Development Environment and Procedures, pages 27 to 3627-36
- Chapter 2 Development Environment and Procedures, pages 37 to 4637-46
- Chapter 2 Development Environment and Procedures, pages 47 to 5647-56
- Chapter 2 Development Environment and Procedures, pages 57 to 6657-66
- Chapter 2 Development Environment and Procedures, pages 67 to 7667-76
- Chapter 2 Development Environment and Procedures, pages 77 to 8677-86
- Chapter 2 Development Environment and Procedures, pages 87 to 9687-96
- Chapter 2 Development Environment and Procedures, pages 97 to 10697-106
- Chapter 2 Development Environment and Procedures, pages 107 to 110107-110
- Chapter 10 Statement Reference, pages 111 to 120111-120
- Chapter 10 Statement Reference, pages 121 to 130121-130
- Chapter 10 Statement Reference, pages 131 to 140131-140
- Chapter 10 Statement Reference, pages 141 to 150141-150
- Chapter 10 Statement Reference, pages 151 to 160151-160
- Chapter 10 Statement Reference, pages 161 to 170161-170
- Chapter 10 Statement Reference, pages 171 to 180171-180
- Chapter 10 Statement Reference, pages 181 to 190181-190
- Chapter 10 Statement Reference, pages 191 to 200191-200
- Chapter 10 Statement Reference, pages 201 to 210201-210
- Chapter 10 Statement Reference, pages 211 to 220211-220
- Chapter 10 Statement Reference, pages 221 to 230221-230
- Chapter 10 Statement Reference, pages 231 to 240231-240
- Chapter 10 Statement Reference, pages 241 to 250241-250
- Chapter 10 Statement Reference, pages 251 to 260251-260
- Chapter 10 Statement Reference, pages 261 to 270261-270
- Chapter 10 Statement Reference, pages 271 to 280271-280
- Chapter 10 Statement Reference, pages 281 to 290281-290
- Chapter 10 Statement Reference, pages 291 to 300291-300
- Chapter 10 Statement Reference, pages 301 to 309301-309
- Syntax Errors310-315
- Appendix C Character Sets, pages 316 to 324316-324
- Appendix C Character Sets, pages 325 to 333325-333
- Appendix C Character Sets, pages 334 to 342334-342
- Appendix C Character Sets, pages 343 to 351343-351
- Appendix C Character Sets, pages 352 to 356352-356
- Pages 357 to 359357-359
- Pages 360 to 362360-362
- Pages 363 to 367363-367
- Appendix M Communications, pages 368 to 377368-377
- Appendix M Communications, pages 378 to 387378-387
- Appendix M Communications, pages 388 to 397388-397
- Appendix M Communications, pages 398 to 407398-407
- Appendix M Communications, pages 408 to 413408-413
The file



