General purpose control commands, Set line terminator command, Echo back text command – Maple Systems STEPware-100 User Manual

Page 62: Sound bell command, Display message command, Clear output buffer command

Advertising
background image

Set Line Terminator Command

ESC

T lineterminator terminator

line terminator: 0 =

ETX

, 1 =

CR

, 2 =

LF

, 3 =

CR/LF

Response: none

Description: Allows the host controller to change the line terminator.

Example: PRINT CHR(27); “T1”; CHR(2)

General Purpose Control Commands

Echo Back Text Command

ESC

e text terminator

Response: text terminator

Description: Causes the OIT to echo back the ASCII characters sent (up to 40

characters). Each character is stored by the OIT until the terminator is received,

at which time the entire string is sent back to the host controller.

Example: PRINT CHR(27); “eHello!”; CHR(2)

Sound Bell Command

ESC

g seconds terminator

seconds:

0 = turn bell off, 1 to 60 = sound bell for n seconds

Response: none

Description: Allows the host controller to sound the OIT’s transducer.

Example: PRINT CHR(27); “g3”; CHR(2)

Display Message Command

ESC

m message# terminator

message#:

0 = clear screen and return cursor to first position of first line

1 to 500 = predefined message to display

Response: none

Description: Displays a predefined text string starting at the current cursor position.

If the text string is longer than the remaining line, only the first part of the string is

displayed. The text string is displayed until the OIT operator presses the Clear key

or the host controller calls message #0 to clear the screen.

Example: PRINT CHR(27); “m2”; CHR(2)

Clear Output Buffer Command

ESC

o terminator

Response: none

Description: Clears the contents of the OIT’s Keyboard Input Buffer and Keyboard

Output Buffer when the OIT is in Block or Network modes.

Example: PRINT CHR(27); “o”; CHR(2)

Appendix A: Control Commands

A-5

1010-0096, Rev. 04

Advertising