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

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

Pages 31 to 40 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 31

I/O System Programming

Command

Type

Pg.# Command

Type

Pg.# 2-60

RIT

System

2-87

RS2

Digital

RKC

System

2-99

RSI

Auxiliary 2-34

RKE

System

2-96

RSA

Auxiliary 2-28

RKH

System

2-95

RSB

Bar Code 2-83

RKR

System

2-98

RSC

Bar Code 2-81

RKT

System

2-97

RSH

Host

RM1

Digital

2-64

RSI

Auxiliary 2-34

RM2

Digital

2-64

RSM

Bar Code 2-82

ROB

System

2-111 RSO

Auxiliary 2-32

ROO

Auxiliary 2-45

RSS

System

2-109

ROU

Auxiliary 2-46

RT1

Digital

2-66

RPS

Bar Code 2-73

RT2

Digital

2-66

RP5

Bar Code 2-70

RTC

Auxiliary 2-49

RP9

Bar Code 2-70

RUP

Bar Code 2-79

RPA

Auxiliary 2-48

RVA

System

2-93

RPE

Bar Code 2-84

RVR

System

2-103

RPI

Auxiliary 2-33

S1D

System

2-101

RPO

Auxiliary 2-31

S1M

Digital

2-65

RPP

Bar Code 2-72

S1U

System

2-101

RPT

Bar Code 2-71

S25

Bar Code 2-77

RR1

Digital

2-63

S28

Bar Code 2-80

RR2

Digital

2-63

S2D

System

2-101

RRA

Auxiliary 2-25

S2M

Digital

2-65

RRD

Digital

2-58

S2U

System

121

RRI

System

2-91

S39

Bar Code 2-76

RRP

Bar Code 2-75

S3D

System

2-101

RS1

Digital

S3U

System

2-101

2-60

2-17

2-11

Page 32

FMT1000 Series Programmer’s Guide

Command

2-12

Type

Pg.# Command

Type

Pg.#

S4D

System

2-101 SHA

Auxiliary 2-29

S4U

System

2-101 SHH

Host

2-18

SAD

System

2-94

SI1

Digital

2-59

SAE

Auxiliary 2-50

SI2

Digital

2-59

SAP

Auxiliary 2-22

SIB

Auxiliary 2-39

SAS

Auxiliary 2-23

SIC

Auxiliary 2-35

SAT

Auxiliary 2-21

SII

Auxiliary 2-38

SBA

Auxiliary 2-24

SIM

Auxiliary 2-37

SBE

System

2-112 SIO

Auxiliary 2-36

SBH

Host

2-15

SIP

System

SBL

System

2-92

SIR

Auxiliary 2-40

SBP

System

2-108 SIS

System

2-89

SBS

System

2-113 SIT

System

2-87

SCB

Bar Code 2-78

SKC

System

2-99

SCD

System

2-100 SKE

System

2-96

SDA

Auxiliary 2-27

SKH

System

2-95

SDE

Digital

2-67

SKR

System

2-98

SDH

Host

2-16

SKT

System

2-97

SDP

Digital

2-55

SM1

Digital

2-64

SDS

Digital

2-56

SM2

Digital

2-64

SDT

Digital

2-54

SOC

Auxiliary 2-44

SEA

Auxiliary 2-24

SOO

Auxiliary 2-45

SED

Digital

2-57

SOW

Auxiliary 2-43

SEE

System

2-105 SP5

Bar Code 2-70

SEI

System

2-90

SP9

Bar Code 2-70

SEP

Bar Code 2-74

SPA

Auxiliary 2-48

SFD

System

2-104 SPE

Bar Code 2-84

2-88

Page 33

I/O System Programming

Command

Type

Pg.# Command

Type

Pg.#

SPI

Auxiliary 2-33

SSB

Bar Code 2-83

SPO

Auxiliary 2-31

SSC

Bar Code 2-81

SPP

Bar Code 2-72

SSH

Host

SPS

Bar Code 2-73

SSI

Auxiliary 2-34

SPT

Bar Code 2-71

SSM

Bar Code 2-82

SR1

Digital

2-61

SSO

Auxiliary 2-32

SR2

Digital

2-61

SSS

System

2-109

SRA

Auxiliary 2-25

ST1

Digital

2-66

SRD

Digital

2-58

ST2

Digital

2-66

SRI

System

2-91

STC

Auxiliary 2-49

SRP

Bar Code 2-75

SUP

Bar Code 2-79

SSA

Auxiliary 2-28

SVA

System

2-17

2-93

2-13

Page 34

FMT1000 Series Programmer’s Guide

Host Comm Port Commands The host comm port commands configure the coprocessor port that is connected to COM2 of the CPU. Ordinarily there is no reason to change them. The commands are: Command SBH, RBH

Description Set and Return Host Baud Rate

Pg.# 2-15

SDH, RDH Set and Return Host Data Bits and Parity 2-16

2-14

SSH, RSH

Set and Return Host Stop Bits

2-17

SHH,RHH

Set and Return Host Handshake Type

2-18

Page 35

I/O System Programming

SBH, RBH – Set and Return Host Baud Rate Format SBH <0-6>

0=300 baud 1=600 2=1200 3=2400 4=4800 5=9600 * 6=19200

Summary Returns or sets the data speed for the coprocessor host communications port. This setting is preserved in EEPROM.

Returns Baud rate flag value.

Description The factory default setting is 9600 baud.

Example rem echo

Set host baud rate to 9600 SBH5 > COM2

2-15

Page 36

FMT1000 Series Programmer’s Guide

SDH, RDH – Set and Return Host Data Bits and Parity Format SDH <0-6>

0=7 bits, even parity 1=7 bits, odd parity 2=7 bits, space parity 3=7 bits, mark parity 4=8 bits, even parity 5=8 bits, odd parity 6=8 bits, no parity *

Summary Sets the character length and parity check for the coprocessor host communications port. This setting is preserved in EEPROM.

Returns Host data bits and parity flag value

Description The factory default is 8 data bits, no parity.

Example rem Set data bits and parity rem to 7 bits odd echo SDH1 > COM2

2-16

Page 37

I/O System Programming

SSH, RSH – Set and Return Host Stop Bits Format SSH 0 | 1

0 = 1 stop bit * 1 = 2 stop bits

Summary Sets the number of stop bits for the coprocessor host communications port. This setting is preserved in EEPROM.

Returns Stop bit flag value, 0 or 1.

Description The factory default is 1 stop bit.

Example rem Set Host Stopbits to 1 echo SSH0 > com2

2-17

Page 38

FMT1000 Series Programmer’s Guide

SHH, RHH – Set and Return Host Handshake Type Format SHH 0 | 1

0=None 1=XON/XOFF *

Summary Sets the type of hardware handshaking between the coprocessor host communications port and the host CPU communications port COM2. This setting is preserved in EEPROM.

Returns Handshake value flag, 0 or 1.

Description Enables or disables the use of XON/XOFF handshaking for flow control between the coprocessor and CPU. If no handshaking is established, data from the CPU can overrun the FMT1000 Series computers's buffer without any control or warning. Likewise, data from the FMT1000 Series computers can overrun the CPU's buffer. Enabling XON/XOFF will send the XOFF code when the 100-character input buffer contains 88 characters and then XON when it is empty. DOS does not provide handshaking on COM2: by default. Either an XON/XOFF handler must be loaded or the port must be driven by other software that does support handshaking. The factory default is ON (1).

Example rem Echo

2-18

Set Host Handshake type to none SHH0 > com2

Page 39

I/O System Programming

Auxiliary RS-232 Port Commands There are many modes of auxiliary port operation. Using combinations of the features described below, you can readily manipulate almost any RS-232 device. The first group sets the reply format, as defined earlier: Command

Description

Pg.#

SAT, RAT

Set and Return Aux Comm Response Tag

2-21

SAP, RAP

Set and Return Aux Response Prefix

2-22

SAS, RAS

Set and Return Aux Response Suffix

2-23

SEA, REA

Set and Return Aux Response Autoenter Mode 2-24

SRA, RRA

Set and Return Aux Comm Response Path

2-25

The next group of commands sets data formats and handshaking with the external device. Command

Description

Pg.#

SBA, RBA

Set and Return Aux Baud Rate

2-26

SDA, RDA

Set and Return Aux Data Bits and Parity 2-27

SSA, RSA

Set and Return Aux Stop Bits

2-28

SHA, RHA

Set and Return Aux Handshake Type

2-29

The next group sets prefixes and suffixes for RS-232 auxiliary port operation: Command

Description

Pg.#

SPO, RPO

Set and Return Output Prefix

2-31

SSO, RSO

Set and Return Aux Output Suffix

2-32

SPI, RPI

Set and Return Aux Input Prefix

2-33

SSI, RSI

Set and Return Aux Input Suffix

2-34

2-19

Page 40

FMT1000 Series Programmer’s Guide

The RS-232 auxiliary port can perform I/O asynchronously while the CPU does other tasks. Input can occur continuously - desirable if a device that produces data only on demand, e.g., a large fixed station laser scanner, is connected. Or, if your device constantly streams data readings, you can set the port to capture a single reading and hold it. Further, data may be processed using the prefix and suffix capabilities described earlier, or just passed through without interpretation. Commands related to configuring the input are: Command

Description

Pg.#

SIC

Aux Input Cancel

2-35

SIO, RIO

Set and Return Aux Input Timeout

2-36

SIM, RIM

Set and Return Input String Max Length

2-37

SII

Input Buffer Initialize

2-38

SIB, RIB

Input Beep Enable

2-39

SIR, RIR

Set and Return Input Read Mode

2-40

STC, RTC

Set and Return Passthrough Termination Characters 2-49

RIN

Return Input Status

2-41

Commands related to configuring the output mode are: Command

Description

Pg.#

SOW

Set Output Write String

2-43

SOC

Aux Output Cancel

2-44

SOO, ROO

Set and Return Aux Output Timeout

2-45

ROU

Return Output Status

2-46

General configuration commands are: Command

2-20

Description

Pg.#

SPA, RPA

Set and Return Aux Passthrough Mode

2-48

SAE, RAE

Set and Return Aux Communication Port Enable

2-50