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 38 of 47

PDT 1100 Terminal Programmer's Guide: Appendix C Character Sets, pages 343 to 351

Pages 343 to 351 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 343

PDT 1100 Terminal Programmer’s Guide

Beeper A BEEP statement sounds the beeper at a specified frequency (Hz). If frequency option is omitted, the default frequency is 4,337 Hz. Specification of 0, 1, or 2 to frequency produces the special beeper effects listed below. Specification to frequency

Frequency

Statement example

0

986Hz

BEEP ,,,0

1

1807 Hz

BEEP ,,,1

2

2711 Hz

BEEP ,,,2

When frequency is set to 0, 1, or 2 or the frequency option is omitted, adjust the beeper volume on the LCD when powering on the unit (refer to the PDT 1100 User's Manual.) When frequency is set to a value other than 0, 1, and 2, the beeper volume is set to the maximum and is not adjustable.

RS/CS Control The PDT 1100 supports only the SD (TXD) and RD (RXD) lines during both optical interface and direct-connect interface operations. The CS (CTS) signal may be monitored only if you modify the cable connection and arrange the direct-connect interface port (3-pole plug mini stereo jack) with an OPEN “COM:” statement so that the RD signal is regarded as a CS signal.

Supplemental Codes Specifying an S to the supplemental option of a readcode in an OPEN “BAR:” statement allows the PDT 1100 to read supplemental codes.

Flash ROM The PDT 1100 incorporates a flash ROM and RAM where you can store user program files and data files. The following tips help you use the flash ROM correctly.

H-4

Page 344

Programming Notes

Storing Files To store a file in flash ROM, download it from the DOWNLOAD menu in System Mode or use the XFILE statement in user programs. Copy files stored in RAM into flash ROM with the file copy function (activated by pressing the 1 key while holding down the SF key on the SET SYSTEM screen). The user area of flash ROM is 568 kilobytes or 64 kilobytes (depending upon ROM size). Only the GET statement can be used for files stored in flash ROM; the PUT statement cannot be used.

Deleting Files Delete files stored in flash ROM using the KILL statement or the file deletion function (activated by pressing the 0 key while holding down the SF key on the SET SYSTEM screen). Note: The Interpreter erases the file in flash ROM when the subsequent downloading operation is carried out. Since the Interpreter erases data in units of 128 kilobytes, it temporarily copies the data containing the file to be deleted (128 kilobytes) into RAM and then returns files not to be deleted into flash ROM. If the RAM does not have sufficient space for the data, a system error (or execution error) occurs.

Specifying Files Include the drive name when specifying a file in user programs. The drive name is A: for RAM and B: for flash ROM. If no drive name is specified, the default drive A: (RAM) applies. Specify files with the following statements: CALL, CHAIN, KILL, OPEN, and XFILE

Example:

OPEN “B:DATA1.DAT” AS #1

This example opens the file named DATA1.DAT stored in flash ROM.

Memory Areas Required for User Programs If you store a user program in flash ROM, the area for its register variables is also reserved in flash ROM. When starting the program for the first time, the Interpreter copies the register variables stored in flash ROM into RAM where the user program uses them. If RAM does not have sufficient area for storing the register variables, an execution error occurs. When H-5

Page 345

PDT 1100 Terminal Programmer’s Guide uploading a program file stored in flash ROM, the PDT 1100 combines the program (excluding register variables in flash ROM) with the register variables stored in RAM.

Retained Contents of Flash ROM Files stored in RAM are backed up by the built-in rechargeable lithium battery. The files may be damaged if the unit is left unused long enough for the battery voltage to drop below the specified level. Unlike files stored in RAM, files stored in flash ROM are retained regardless of the voltage level of the lithium battery. Once data is written onto flash ROM, it is retained until deleted.

Wake-up Function The wake-up function allows you to turn on the PDT 1100 from “OFF” at the wake-up time (of the system clock) specified in user programs. To set the wake-up time using the TIME$ function: 1. Set bit 2 on port 8 to 1 to switch the TIME$ function to the setting of the wake-up time. 2. Set the wake-up time using the TIME$ function. 3. Set bit 0 on port 8 to 1 to activate the wake-up function. To confirm the wake-up time preset: 1. Set bit 2 on port 8 to 1 to switch the TIME$ function to the setting of the wake-up time. 2. Retrieve the wake-up time using the TIME$ function. If you set or retrieve the system time or wake-up time using the TIME$ function, the value of bit 2 on port 8 is reset to zero, and you can set or retrieve the current system time with the TIME$ function. The value of bit 1 on port 8 in user programs indicates the initiation option of the PDT 1100. If this bit is 1, the unit is initiated by the wake-up function; if it is 0, by the PW key.

LED and Beeper Control Using the OPEN “BAR:” statement to control whether the reading confirmation LED lights in green (default: light) and whether the beeper beeps (default: no beep) on successful decodes. For setting details, refer to OPEN “BAR:” on page 10-87.

H-6

Page 346

Programming Notes

Controlling Reading Confirmation LED If the OPEN “BAR:” statement activates the reading confirmation LED (in green), the OUT instruction cannot control the LED via output port 1 (refer to Appendix D, I/O Ports) when the bar code device file is opened. If the statement deactivates the reading confirmation LED, the OUT instruction can control the LED even when the bar code device file is opened, enabling: !

!

a user program to check the value of a scanned bar code and turn on the green LED when the bar code has been read successfully. (e.g., the user program can interpret bar code data valued from 0 to 100 as correct data.) a user program to turn on the red LED when the bar code is read.

Controlling the Beeper If the beeper is activated, it beeps once for 100 ms at the frequency of 4337 Hz (equivalent to setting frequency to 2 in the BEEP statement) when a bar code is read successfully.

APLINT.PD3 Program File If a program file named APLINT.PD3 is stored in the PDT 1100, the System Mode initiation sequence (pressing the PW key with the SF and 1 keys held down) does not start System Mode but executes that program. This allows you to: ! !

enter an ID number at the start of System Mode set the condensed System Mode used for maintenance of user programs.

To terminate the APLINT.PD3 file, use the END or POWER OFF statement. When terminating the file with the END statement, start System Mode by setting the port 6000h as listed below. Port No. 6000h

Bit assignment 0

Controls the following: 0: Does not start System Mode (default) 1: Starts System Mode

Modifying PW Key Depression Modify the time the PW key must be depressed for the unit to turn off from 0.1 to 25.5 seconds in increments of 0.1 ms, by setting bits 0 to 7 on port 6030h to 1 to 255 (&h00 to &hFF). The default is 5 (0.5 second). H-7

Page 347

PDT 1100 Terminal Programmer’s Guide

CODE128 Reading CODE128 bar codes are read in the following manner. The start/stop characters and check digits are not transmitted to the bar code buffer. When a code comprised only of special characters (FNC characters, CODE A, CODE B and CODE C characters, and SHIFT character) is read, the data is not transmitted to the bar code buffer. FNC characters are processed as explained below. 1. FNC1 - A FNC1 placed in the first or second position after the start character is not transmitted to the bar code buffer. Any other FNC1 characters are converted into GS characters (1Dh) before they are transmitted to the bar code buffer. When the first character right after the start character is FNC1, this is a EAN-128 code whose code mark is ìWî. 2. FNC2 - If a FNC2 character is included in the code, the data is not temporally stored and all the data excluding the FNC2 character is transmitted to the bar code buffer. 3. FNC3 - If a FNC3 character is included in the code, no read data is transmitted to the bar code buffer. When the LED indicator and/or the buzzer (vibrator) are/is enabled, only these two functions become operable. 4. FNC4 - In a FNC4 character, the data encoded by Code Set A or B is converted into Extended ASCII data (Full ASCII + 128). One FNC4 character converts one subsequent data character into Extended ASCII data. A pair of FNC4 characters in succession keeps converting all of the subsequent data characters into ASCII data until another such pair or the stop character is encountered. However, if only one FNC4 is encountered, the data character right after the FNC4 is excluded from this data conversion. The GS character(s) converted from FNC1 is also excluded from the same conversion.

Field Length Restriction When a data file is transmitted from PDT 1100 according to the communications protocol, the maximum field length is 255 bytes including a character count byte. The host computer should support the same field length.

H-8

Page 348

Appendix I Backlight Function Press the [M1] key while holding down the Shift key to activate or deactivate the backlight function. The default backlight on-time (on-duration) is 3 seconds. You can also use a KEY statement to select the backlight function on/off key and modify the on-duration. For details about the KEY statement, refer to KEY on page 10-61.

I-1

Page 349

PDT 1100 Terminal Programmer’s Guide

The backlight function is OFF when you power on the terminal. Backlight OFF

Press the [M1] key while holding down the Shift key. Or, press the backlight function on/ off key specified by KEY statement.

Backlight ON

Press the [M1] key while holding down the Shift key.

If no key is pressed for at least 3 seconds:

Or, press the backlight function on/ off key specified by KEY statement.

Backlight OFF (The backlight function is ON.)

Press any key except for the backlight function on/off key. Press the [M1] key while holding down the Shift key. Or, press the backlight function on/ off key specified by KEY statement.

Figure I-1. LCD Backlight Function You can control the backlight function using the OUT statement. Set port 6020h to 1 with the OUT statement to activate the LCD backlight function and turn on the backlight. If no key is

I-2

Page 350

Backlight Function pressed for the time length set to port 6021h (default: 5 seconds), the backlight goes off but the backlight function remains activated. Set port 6020h to 0 to deactivate the LCD backlight function and turn off the backlight. When the backlight function is activated with the OUT statement, the backlight function on/off key and ON-duration specified by the KEY statement are ignored.

Backlight OFF

The backlight function is deactivated when the PDT 1100 is powered on.

With the OUT statement, set port 6020h to 1.

Backlight ON With the OUT statement, set 0 to port 6020h.

If no key is pressed for the time length set to port 6021h, the backlight goes off.

Press any key.

Backlight OFF The backlight function remains activated.

With the OUT statement, set 0 to port 6020h.

Figure I-2. Setting Backlight Function via OUT Statement

I-3

Page 351

PDT 1100 Terminal Programmer’s Guide

I-4