Configuration control commands, Set lcd viewing angle or brightness level command, Save configuration parameters command – Maple Systems STEPware-100 User Manual

Page 59

Advertising
background image

Control

Character

Decimal

Notation

Hexadecimal

Notation

BASIC

Command

Terminal Keyboard

Keypresses

ESC

27

1B

CHR$(27)

CTRL [

STX

2

02

CHR$(2)

CTRL B

CR

13

0D

CHR$(13)

CTRL M

LF

10

0A

CHR$(10)

CTRL J

ETX

3

03

CHR$(3)

CTRL C

Control Command Format

initiator commandletter commanddata terminator

initiator =

ESC

command letter = printable ASCII character a, b, c, d, e, f, g, k, m, o, p, r, t, u,

v, w,x, y, z, B, H, K, L, M, O, P, T, X, Y, Z, ?, {, }

command data = any data required by the specified command

terminator = command terminator

STX

or line terminator

CR

,

LF

,

CR/LF

, or

ETX

Command Response Format

commanddata lineterminator

command data = any data required by the specified command

line terminator =

CR

,

LF

,

CR/LF

, or

ETX

Configuration Control Commands

Set LCD Viewing Angle or Brightness Level Command

ESC

a bias/brightness terminator

bias:

0 = 90º, 1 = 75º

or brightness: 0 = 30%, 1 = 50%, 2 = 75%, 3 = 100%

Response: none

Description: Allows the host controller to control the viewing angle of the LCD or the

display brightness of the VFD.

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

Save Configuration Parameters Command

ESC

b terminator

Response: none

Description: Saves the OIT’s current setup permanently into the Flash PROM.

The saved parameters become the defaults used at power-up.

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

A-2

STEP1 Protocol Operation Manual

1010-0096, Rev. 04

Advertising