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 10 of 15

FMT1000 Series Programmer's Guide: Chapter 2 I/O System Programming, pages 91 to 100

Pages 91 to 100 of 142, from FMT1000 Series Programmer's Guide

The original document is the PDF (965 KB). 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 FMT-1020

Page 91

I/O System Programming

SPT, RPT – Set and Return Peripheral Response Tag Format SPT <string>

Length: 1

Summary Sets a unique ID tag to prefix all input from the peripheral communications port.

Returns Peripheral tag string, 1 character.

Description The I/O processor can route input via several devices. On occasion, input from several physical devices may be routed to the same system input port. For example, both the RS-232 auxiliary port and peripheral ports can send their data to the keyboard buffer. This tag is a prefix which is added to the input from a given physical device to identify the source of the input.

Example rem echo

Set peripheral response tag to 'P'. SPTP > COM2

2-71

Page 92

FMT1000 Series Programmer’s Guide

SPP, RPP – Set and Return Peripheral Response Prefix Format SPP <string>

Max length: 16

Summary Sets the string to be prepended before each response containing data from a peripheral port.

Returns Response prefix, string of at most 16 bytes.

Description This I/O processor command allows a standard prefix to be added to the response to a string of bar code or magstripe characters read at the peripheral port. There is no factory default for this command, and it will not be reset using the SFD set factory defaults command.

Example rem echo rem rem rem

2-72

Set peripheral response prefix to 'BAR'. SPPBAR > COM2 If the bar code (or magstripe) symbol '13579' is scanned, the string 'BAR13579' will be forwarded to the CPU.

Page 93

I/O System Programming

SPS, RPS – Set and Return Peripheral Response Suffix Format SPS <string>

Max length: 16

Summary Sets the string to be appended to the response to each input from the peripheral port.

Returns Response suffix, string of at most 16 bytes.

Description This I/O processor command allows a standard suffix to be sent after the response to each line of input, but before the terminating character(s) set by the state of the autoenter mode. There is no factory default for this command, and it will not be reset using the SFD set factory defaults command.

Example rem echo rem rem rem

Set peripheral response suffix to 'BAR'. SPSBAR > COM2 If the bar code (or magstripe) symbol '13579' is scanned, the string '13579BAR' will be forwarded to the CPU.

2-73

Page 94

FMT1000 Series Programmer’s Guide

SEP, REP – Set and Return Peripheral Response AutoEnter Mode Format SEP <0-3>

0=Off * 1=CR (carriage return) 2=CR/LF (carriage return/line feed) 3=Tab

Summary Sets the type of terminating characters for data input via the peripheral port. This setting is preserved in EEPROM.

Returns AutoEnter mode setting, integer 0-3.

Description This mode sets the character(s) transmitted to the host CPU after the data input from the peripheral port. For most ordinary I/O, carriage return is appropriate, but Tab may be used if entering data into a multifield screen.

Example rem rem echo

2-74

Set peripheral response autoenter mode to <CR>. SEP1 > COM2

Page 95

I/O System Programming

SRP, RRP – Set and Return Peripheral Port Response Path Format SRP 0 | 1

0=Keyboard * 1=COM2 host port

Summary Sets the peripheral port input path to the keyboard or the host serial port COM2. This setting is preserved in EEPROM.

Returns Response path flag, integer 0 or 1.

Description The data from the peripheral port can be used to simulate input from the keyboard, or it can be transmitted to the host communications port COM2. The advantage to the keyboard input is that no special programming is required to receive the data. However, keyboard input is slower due to the limitations of keyboard input speed. The factory default is keyboard simulation input.

Example rem echo

Set peripheral response path to COM2. SRP1 > COM2

2-75

Page 96

FMT1000 Series Programmer’s Guide

S39, R39 – Set and Return Code 3 of 9 Mode Format S39 <0-3>

0=Off 1=Code 3 of 9 * 2=Code 3 of 9 Mod 43 3=Full ASCII code 3 of 9

Summary Enable and set the type of Code 3 of 9 bar code to decode. This setting is preserved in EEPROM.

Returns Code 3 of 9 setting, integer 0-3.

Description Enables or disables the decoding of Code 39 and sets the variant of the symbology to be decoded if enabled. Note: The decoder must be informed in advance if checksums or full ASCII are to be used, because these variants are formed using the standard 3 of 9 character set. The factory default is standard Code 3 of 9 (parameter 1).

Example rem echo

2-76

Set code 3 of 9 mode to Code 3 of 9. S391 > COM2

Page 97

I/O System Programming

S25, R25 – Set and Return Interleave 2 of 5 Mode Format S25 0 | 1

0=Off 1=On *

Summary Enable or disable bar code type Interleave 2 of 5. This setting is preserved in EEPROM.

Returns Interleave 2 of 5 enable setting, 0 or 1.

Description Enables or disables the decoding of bar code type Interleave 2 of 5. The factory default is ON.

Example rem echo

Set interleaved 2 of 5 code mode to ON. S251 > COM2

2-77

Page 98

FMT1000 Series Programmer’s Guide

SCB, RCB – Set and Return Codabar Mode Format SCB 0 | 1

0=Off 1=On *

Summary Enables or disables the decoding of bar code type CODABAR. This setting is preserved in EEPROM.

Returns Codabar enable setting, string 0 or 1.

Description Enables or disables the decoding of bar code type CODABAR. The factory default is ON.

Example rem echo

2-78

Set Codabar Mode to OFF SCB0 > COM2

Page 99

I/O System Programming

SUP, RUP – Set and Return UPC Mode Format SUP 0 | 1

0=Off 1=On *

Summary Enables or disables the decoding of bar code type UPC. This setting is preserved in EEPROM.

Returns UPC enable setting, string 0 or 1.

Description This command enables or disables the decoding of Universal Product Code (UPC) bar codes. This includes the decoding of EAN codes. All true UPC codes will be 13 digit numbers, prefixed by 0 (for U.S. country code). EAN codes will be prefixed by the appropriate country code. Five-digit UPC-E codes will also be recognized and transmitted. The factory default is ON.

Example rem echo

Set UPC mode to ON. SUP1 > COM2

2-79

Page 100

FMT1000 Series Programmer’s Guide

S28, R28 – Set and Return Code 128 Mode Format S28 0 | 1

0=Off 1=On *

Summary Enables or disables the decoding of bar code type Code 128. This setting is preserved in EEPROM.

Returns Code 128 enable setting, string 0 or 1.

Description Enables or disables the decoding of bar code type Code 128. All three code sets are supported. The factory default is ON.

Example rem echo

2-80

Set Code 128 mode to ON. S281 > COM2