The text of a manual · part 11 of 15
FMT1000 Series Programmer's Guide: Chapter 2 I/O System Programming, pages 101 to 110
Pages 101 to 110 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 101
I/O System Programming
SSC, RSC – Set and Return Concatenate Mode Format SSC 0 | 1
0=Off * 1=On
Summary Selects whether to concatenate bar codes or not. This setting is preserved in EEPROM.
Returns Mode flag, string 0 or 1.
Description When this mode is enabled, all bar codes which have a leading space are sent without the space and the peripheral response tag, prefix, suffix, and autoenter strings are not added to the response data. This may be useful when using bar coded numeric entry keypads or similar constructs to emulate keypad input. The factory default for this mode is OFF.
Example rem echo
Set concatenate mode ON. SSC1 > COM2
2-81
Page 102
FMT1000 Series Programmer’s Guide
SSM, RSM – Set and Return String Match Length Format SSM <0-80>
0=Off (no length matching) Min length for matching: 1 Max length: 80
Summary Sets the length against which input bar codes are matched. This setting is preserved in EEPROM.
Returns Match length, string 0-80.
Description Sets a length against which the input bar code is matched. If it does not match, the bar code input is not accepted or processed. Certain codes, like Interleave 2 of 5, are more reliable when the expected input length can be predicted and checked for. However, this setting affects all bar code inputs and is thus inappropriate when more than one length of code is required, even if two different symbologies are used. The factory default is 0, for no length comparison.
Example rem echo
2-82
Set string match length to 8. SSM8 > COM2
Page 103
I/O System Programming
SSB, RSB – Set and Return Read Beep Enable Format SSB 0 | 1
0=Off 1=On*
Summary Enables or disables a beep upon successful decoding of a bar code. This setting is preserved in EEPROM.
Returns Beep status setting, string 0 or 1.
Description When a bar code has been successfully scanned, by default the coprocessor beeps indicating a successful read. However, if no beep is preferred, it can be disabled with this command.
Example rem echo
Set read beep enable to ON. SSB1 > COM2
2-83
Page 104
FMT1000 Series Programmer’s Guide
SPE, RPE – Set and Return Peripheral Port Enable Format SPE 0 | 1
0=Off 1=On *
Summary Enables or disables transmission peripheral port responses. This setting is preserved in EEPROM.
Returns Peripheral port enable setting, string 0 or 1.
Description Enables or disables transmission peripheral port responses from bar codes or magstripe input. All peripheral port commands that elicit a response are unaffected.
Example rem echo
2-84
Set peripheral port enable to ON. SPE1 > COM2
Page 105
I/O System Programming
System Commands The system commands include commands for controlling the keyboard and display and various other internal functions. The first set of commands configure the response format, defined earlier as the format of messages from the coprocessor to the CPU, in this case for system commands, also referred to as internal commands. Note that this format is used for all replies to CPU commands that come from the coprocessor, regardless of the internal subsystem to which they apply. Command
Description
Pg.#
SIT, RIT
Set and Return Internal Command Response Tag
2-87
SIP, RIP
Set and Return Internal Command Response Prefix
2-88
SIS, RIS
Set and Return Internal Command Response Suffix
2-89
SEI, REI
Set and Return Internal Command Response AutoEnter Mode
2-90
SRI, RRI
Set and Return Internal Command Response Path
2-91
The following commands control display characteristics: Command
Description
Pg.#
SBL, RBL
Set Backlight
2-92
SVA, RVA
Set and Return Viewing Angle
2-93
The following commands control keyboard operation and configuration for various versions of the FMT 1000 Series computer. Command
Description
Pg.#
SAD, RAD
Set and Return Keyboard Auto Detect
2-94
SKH, RKH
Set and Return Keyboard Hardware Reset Enable
2-95
SKE, RKE
Set and Return Keyboard Enable Mode
2-96
SKT, RKT
Set and Return Keyboard Type
2-97
2-85
Page 106
FMT1000 Series Programmer’s Guide
SKR, RKR
Set and Return Keyboard Repeat
2-98
SKC, RKC
Set and Return Keyboard Click
2-99
SCD, RCD
Set and Return Keyboard Intercharacter Delay
2-100
SnD, SnU RnD, RnU
Set and Return User Defined Key Up and Down Scan 2-101 Codes (n=1, 2, 3, or 4)
The following are miscellaneous other commands:
2-86
Command
Description
Pg.#
RVR
Return Firmware Version
2-103
SFD
Reset to Factory Defaults
2-104
SEE
Write Setup to EEPROM
2-105
RER
Return Error Code
2-106
SBP
Set Beeper Tones
2-108
SSS, RSS
Set and Return Startup Message
2-109
RES
Echo String Via Current Internal Response Path
2-110
ROB
Return State of Battery Sense
2-111
SBE, RBE
Set and Return Battery Sense Enable
2-112
SBS, RBS
Set and Return Switch to Battery String
2-113
Page 107
I/O System Programming
SIT, RIT – Set and Return Internal Command Response Tag Format SIT <string>
Length: 1
Summary Sets a unique ID tag to prefix all input from the I/O processor in response to an internal command.
Returns Aux 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 or data source to identify the source of the input.
Example rem echo rem rem rem
Set internal command response tag to 'I'. SITI > COM2 If the data '10' is returned as a response to an internal command, the string 'I10' will be forwarded to the CPU.
2-87
Page 108
FMT1000 Series Programmer’s Guide
SIP, RIP – Set and Return Internal Command Response Prefix Format SIP <string>
Max length: 16
Summary Sets the string to be prepended before each response to an internal command
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 internal command mnemonics. There is no factory default for this command, and it will not be reset using the SFD set factory defaults command.
Example rem rem echo rem rem rem
2-88
Set internal command response prefix to 'INT'. SIPINT > COM2 If the data '10' is returned as a response to an internal command, the string 'INT10' will be forwarded to the CPU.
Page 109
I/O System Programming
SIS, RIS – Set and Return Internal Command Response Suffix Format SIS <string>
Max length: 16
Summary Sets the string to be appended to the response to each internal command.
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 a command mnemonic, but before the terminating character 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 rem echo rem rem rem
Set internal command response suffix to '_INT'. SIS_INT > COM2 If the data '10' is returned as a response to an internal command, the string '10_INT' will be forwarded to the CPU.
2-89
Page 110
FMT1000 Series Programmer’s Guide
SEI, REI – Set Internal Command Response AutoEnter Mode Format SEI <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 internal commands. This setting is preserved in EEPROM.
Returns AutoEnter mode flag, string 0-3.
Description This mode sets the character transmitted to the host CPU after the data input from internal commands. For most ordinary I/O, carriage return is appropriate, but Tab might be used if entering data into a multifield screen.
Example rem rem echo
2-90
Set internal command response autoenter mode to <CR>. SEI1 > COM2