Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact
Page 1 of PDT 1100 Terminal Programmer's Guide

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.

Download the PDF3.5 MB

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

  1. Software Overview
  2. Development Environment and Procedures
  3. Program Structure
  4. Basic Program Elements
  5. Data Types
  6. Expressions and Operators
  7. I/O Facilities
  8. Files
  9. Event Polling and Error/Event Trapping
  10. Statement Reference
  11. 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.

Read for this summary: pages 3 to 4, 12, 15 to 17, 21 to 25, 27 to 29, 205 to 207, 306 to 312, 330 to 332 and 368 to 369 of 413.

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

What do I need to develop programs for the PDT 1100?

A Windows PC with an RS-232C port, the CRD 1100 cradle (unless the terminal is connected directly), an RS-232C cable, the BASIC 3.0 Compiler and Ir-Transfer Utility C. p. 27, 28

Contents

Chapters and sections

Each line opens the PDF at its page.

  1. 70-36099-01 Revision B, May 20012
  2. Symbol Technologies, Inc. One Symbol Plaza, Holtsville N.Y. 11742-13002
  3. Programmer’s Guide1
    1. Symbol Technologies, Inc. One Symbol Plaza Holtsville, New York 11742-1300 http://www.symbol.com4
    2. PDT 1100 Terminal Programmer’s Guide3
    3. About This Guide15
    4. Service Information17
  4. Chapter 2 Development Environment and Procedures27
    1. Overview of Development Environment27
    2. Overview of Developing Procedures28
    3. Writing of a Source Program30
    4. Compiling in Windows32
    5. Downloading42
    6. Executing a User Program43
    7. Chapter 3 Program Structure45
    8. Chapter 4 Basic Program Elements51
    9. Chapter 5 Data Types59
    10. Variables61
  5. Chapter 10 Statement Reference111
    1. Introduction111
    2. APLOAD112
    3. BEEP115
    4. CALL119
    5. CHAIN121
    6. CLFILE123
    7. CLOSE125
    8. CLS127
    9. COMMON128
    10. CURSOR130
    11. DATA132
    12. DEFREG134
    13. DEF FN (Single-line form)139
    14. DEF FN...END DEF (Block form)143
    15. DIM147
    16. END150
    17. ERASE151
    18. FIELD153
    19. FOR...NEXT155
    20. GET158
107 more lines, from page 160 on
  1. GOSUB160
    1. GOTO162
    2. IF...THEN...ELSE...END IF163
    3. INPUT165
    4. INPUT #168
    5. KEY171
    6. KEY ON and KEY OFF176
    7. KILL178
    8. LET180
    9. LINE INPUT182
    10. LINE INPUT #184
    11. LOCATE186
    12. ON ERROR GOTO188
    13. ON...GOSUB and ON...GOTO190
    14. ON KEY...GOSUB192
    15. OPEN194
    16. OPEN “BAR:”197
    17. OPEN “COM:”205
    18. OUT209
    19. POWER211
    20. PRINT213
    21. PRINT #216
    22. PRINT USING218
    23. PUT221
    24. READ223
    25. REM225
    26. RESTORE227
    27. RESUME228
    28. RETURN230
    29. SCREEN231
    30. SELECT...CASE...END SELECT233
    31. WAIT236
    32. WHILE...WEND238
    33. XFILE240
    34. $INCLUDE247
    35. Chapter 11 Function Reference249
    36. ABS250
    37. ASC251
    38. BCC$252
    39. CHKDGT$254
    40. CHR$257
    41. COUNTRY$259
    42. CSRLIN261
    43. DATE$262
    44. EOF264
    45. ERL266
    46. ERR267
    47. ETX$268
    48. FRE270
    49. HEX$272
    50. INKEY$273
    51. INP274
    52. INPUT$276
    53. INSTR278
    54. INT280
    55. LEFT$281
    56. LEN282
    57. LOC283
    58. LOF285
    59. MARK$287
    60. MID$289
    61. POS291
    62. RIGHT$292
    63. SEARCH293
    64. SOH$295
    65. STR$297
    66. STX$299
    67. TIME$301
    68. TIMEA/TIMEB/TIMEC303
    69. VAL305
    70. Appendix A Error Codes and Error Messages306
  2. Syntax Errors310
    1. Table A-3 lists the syntax errors and their meanings.310
    2. Table A-3. Syntax Errors (Continued)310
    3. Appendix B Reserved Words314
  3. Appendix C Character Sets316
    1. Character Set316
    2. National Character Sets318
    3. Display Mode and Letter Size319
    4. Appendix D I/O Ports320
    5. Appendix E Key Number Assignment on the Keyboard328
    6. Appendix F Memory Area330
    7. Appendix H Programming Notes340
    8. Appendix I Backlight Function348
    9. Appendix J Program Samples352
    10. Appendix K Quick Reference for Statements and Functions356
  4. Handling Errors357
    1. Defining and Allocating Variables357
  5. Controlling the LCD Screen358
  6. Controlling the Keyboard Input359
    1. Beeping359
  7. Manipulating System Date, Current Time, or Timers360
    1. Communicating with I/Os360
  8. Communicating with Bar Code Device361
  9. Manipulating Data Files and User Program Files362
  10. Communicating with Communications Devices363
  11. Commenting a Program364
    1. Manipulating Numeric Data364
    2. Manipulating String Data364
  12. Defining User-Created Functions365
    1. Specifying Included Files365
    2. Appendix L Unsupported Statements and Functions366
  13. Appendix M Communications368
    1. Basic Communications Specifications368
    2. Communications Protocols373
    3. IR Protocol388
    4. Numerics406

From the PDF’s own bookmarks.

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.

  1. 70-36099-01 Revision B, May 20011-4
  2. Contents, pages 5 to 115-11
  3. Contents, pages 12 to 1912-19
  4. Contents, pages 20 to 2620-26
  5. Chapter 2 Development Environment and Procedures, pages 27 to 3627-36
  6. Chapter 2 Development Environment and Procedures, pages 37 to 4637-46
  7. Chapter 2 Development Environment and Procedures, pages 47 to 5647-56
  8. Chapter 2 Development Environment and Procedures, pages 57 to 6657-66
  9. Chapter 2 Development Environment and Procedures, pages 67 to 7667-76
  10. Chapter 2 Development Environment and Procedures, pages 77 to 8677-86
  11. Chapter 2 Development Environment and Procedures, pages 87 to 9687-96
  12. Chapter 2 Development Environment and Procedures, pages 97 to 10697-106
  13. Chapter 2 Development Environment and Procedures, pages 107 to 110107-110
  14. Chapter 10 Statement Reference, pages 111 to 120111-120
  15. Chapter 10 Statement Reference, pages 121 to 130121-130
  16. Chapter 10 Statement Reference, pages 131 to 140131-140
  17. Chapter 10 Statement Reference, pages 141 to 150141-150
  18. Chapter 10 Statement Reference, pages 151 to 160151-160
  19. Chapter 10 Statement Reference, pages 161 to 170161-170
  20. Chapter 10 Statement Reference, pages 171 to 180171-180
  21. Chapter 10 Statement Reference, pages 181 to 190181-190
  22. Chapter 10 Statement Reference, pages 191 to 200191-200
  23. Chapter 10 Statement Reference, pages 201 to 210201-210
  24. Chapter 10 Statement Reference, pages 211 to 220211-220
  25. Chapter 10 Statement Reference, pages 221 to 230221-230
  26. Chapter 10 Statement Reference, pages 231 to 240231-240
  27. Chapter 10 Statement Reference, pages 241 to 250241-250
  28. Chapter 10 Statement Reference, pages 251 to 260251-260
  29. Chapter 10 Statement Reference, pages 261 to 270261-270
  30. Chapter 10 Statement Reference, pages 271 to 280271-280
  31. Chapter 10 Statement Reference, pages 281 to 290281-290
  32. Chapter 10 Statement Reference, pages 291 to 300291-300
  33. Chapter 10 Statement Reference, pages 301 to 309301-309
  34. Syntax Errors310-315
  35. Appendix C Character Sets, pages 316 to 324316-324
  36. Appendix C Character Sets, pages 325 to 333325-333
  37. Appendix C Character Sets, pages 334 to 342334-342
  38. Appendix C Character Sets, pages 343 to 351343-351
  39. Appendix C Character Sets, pages 352 to 356352-356
  40. Pages 357 to 359357-359
  41. Pages 360 to 362360-362
  42. Pages 363 to 367363-367
  43. Appendix M Communications, pages 368 to 377368-377
  44. Appendix M Communications, pages 378 to 387378-387
  45. Appendix M Communications, pages 388 to 397388-397
  46. Appendix M Communications, pages 398 to 407398-407
  47. Appendix M Communications, pages 408 to 413408-413

The file

Revision and size

Revision70-36099-01 Revision B, May 2001
PublisherSymbol Technologies, Inc.
Pages413
PDF3.5 MB
TextText from the PDF itself; pages 1, 91 and 298 are scans, read by OCR, which may hold reading errors.

The first pages · 3 of 413

Look before you download

Each page opens the PDF at that page.

Page 1
Page 1of 413
Page 2
Page 2of 413
Page 3
Page 3of 413