beautypg.com

Con fig u ra tion con trol com mands 29, Set lcd viewing an gle com mand 29, Save con fig u ra tion pa ram e ters com mand 29 – Maple Systems MAP450D User Manual

Page 30: Re quest con fig u ra tion data com mand 29, Request configuration data control command 29, Save configuration parameters control command 29, Cr 29, 36, Esc 29, Etx 29, Lf 29, 36

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 Command

ESC

a bias terminator

bias:

0 = 90º, 1 = 75º

Response: none

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

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)

Request Configuration Data Command

ESC

c terminator

Response: class version revision serial terminator

class:

C = MAP450D

version:

Two digits for the firmware version.

revision:

Two digits for the firmware revision level.

serial:

0 = RS-232, 1 = RS-422/485, 2 = both active

Description: Returns six ASCII digits representing the OIT’s current product model,

version, revision, and serial interface type.

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

29

MAP450D Operation Manual

1010-0101, Rev. 00