Display control commands, Enable block mode command, Disable block mode command – Maple Systems STEPware-100 User Manual

Page 65: Read display variable command, Write display variable command

Advertising
background image

Enable Block Mode Command

ESC

{ start end fill terminator

start:

00 to 39. Starting cursor column number. 00 defaults to the position of

the cursor at the time the command is received.

end:

00 to 39. Ending cursor column number. 00 defaults to the end of the

current line at the time the command is received.

fill:

SPACE to ~. Fill character used to replace any characters affected by

the Clear Output Buffer command or the DEL and CAN control codes.

If not specified, the ASCII space character is used.

Response: none

Description: Allows the host controller to dynamically change from Interactive to Block

mode. The optional start, end, and fill parameters limit the input to a specific area of

the display (up to 40 characters). This command can be used in Network mode.

Example: PRINT CHR(27); “{1520”; CHR(2)

Disable Block Mode Command

ESC

} enable terminator

enable:

0 = no change, 1 = off (disable keyboard entry), 2 = on

Response: none

Description: After sending the Enable Block Mode command, the Disable Block Mode

command allows the host controller to return the OIT to Interactive mode, clears the

OIT’s Keyboard Output Buffer, and enables or disables the keyboard. If the OIT was in

Network mode when the Enable Block Mode command was received, then the block

input field is cleared without changing the operating mode.

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

Display Control Commands

Read Display Variable Command

ESC

u terminator

Response: text terminator

text:

ASCII characters currently in the display variable

Description: Allows the host controller to retrieve the contents of a display variable.

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

Write Display Variable Command

ESC

v text terminator

text:

ASCII characters to be written to the display variable

Response: none

Description: Allows the host controller to change the contents of a display variable.

The old contents of the display variable are not erased until a new character overwrites

the old character. If the text is longer than the display variable, the excess characters

are ignored.

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

A-8

STEP1 Protocol Operation Manual

1010-0096, Rev. 04

Advertising