Print text command, Function key led command, Status led command – Maple Systems STEPware-100 User Manual

Page 64: System led command, Request keyboard buffer status command

Advertising
background image

Print Text Command

ESC

P text terminator

text:

up to 40 ASCII characters (printable or control)

Response: none

Description: Allows the host controller to send ASCII characters to a serial printer

attached to the OIT’s second serial port (OIT3250, OIT4450, and OIT5400 only).

Example: PRINT CHR(27); “PPrint this text!”; CHR(2)

Function Key LED Command

ESC

X functionLED# mode terminator

functionLED#:00 = all LEDs, 01 to 16 = function key LED#

mode:

0 = off, 1 = on, 2 = blink

Response: none

Description: Allows the host controller to control the OIT’s function key LEDs

(OIT3250, OIT4450, and OIT5400 only).

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

Status LED Command

ESC

Y statusLED# mode terminator

status LED#: 0 = all LEDs, 1 to 8 = status LED#

mode:

0 = off, 1 = on, 2 = blink

Response: none

Description: Allows the host controller to control the OIT’s status LEDs (OIT3250,

OIT4450, and OIT5400 only).

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

System LED Command

ESC

Z systemLED# mode terminator

system LED#: 0 = all LEDs, 1 = run LED, 2 = print LED, 3 = alarm LED, 4 = message LED

mode:

0 = off, 1 = on, 2 = blink

Response: none

Description: Allows the host controller to control the OIT’s system LEDs (OIT3250,

OIT4450, and OIT5400 only).

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

Request Keyboard Buffer Status Command

ESC

? terminator

Response: status terminator

status:

0 = buffer empty

1 = keyboard input in progress (Block and Network modes)

2 = entire message buffered, waiting for Poll OIT Buffer control

command (Network mode)

Description: Allows the host controller to determine the status of the OIT’s Keyboard

Input Buffer.

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

Appendix A: Control Commands

A-7

1010-0096, Rev. 04

Advertising