KeyAT-4 Keyboard Port Adapter
5/19/2007
6
L3 Systems
Turn around setting
Data can be sent and interpreted one line at a time, or be processed immediately. The
default setting is for line turn around mode (~L). This is better for automated control and
provides more reliable interaction. Immediate turn around mode (~I) can better simulate
keyboard operation. The setting persists until the next ~I or ~L command, or until power
is cycled.
~L
Line Turn Around
- Set to a line oriented basis, each line must end with an
<ENTER> or <CR>, hex OD.
~F
Send <CR> mode
- This allows the <CR> to be sent on to the computer as an
<ENTER> key.
~I
Immediate Turn-around
- Data is interpreted 'on-the-fly'. Note that in this
mode <ENTER> or <CR> (Hex 0D) is not a special character, and passed on to
the computer. XON/XOFF flow control is provided. However, caution should
exercised, as it is easy to overrun the PC’s keyboard receive buffer.
~Pnn Set Turn Around Delay (nn milliseconds)
- This sets the delay that the
KeyAT waits before responding to a command. The default setting is 0. (Note:
you must send two digits. For 7 milliseconds, send ~P07.)
Keyboard Monitor
The KeyAT can send either binary key codes (~M) or ASCII translations (~Q) of keys
struck at the local keyboard through to the RS-232 port. The QWERTY monitor can be
used for constructing an RS-232 keyboard, and it will send only keys with ASCII
translations.
~M Monitor ON –
Monitor Key Scan codes.
~Q
QWERTY Monitor ON –
Monitor ASCII translation
~N
Monitor OFF -
Turn keyboard monitor off (default).
Status Request
~?
Request Status
- The format of the response is:
Stat=LDTM
where:
L
LED status : “0”=All Off, “1”=Scroll-Lock ON, “2”=Num -Lock ON
“3”=Scroll-Lock & Num -Lock ON , “4”=Caps -Lock ON
“5”=Scroll-Lock & Caps -Lock ON , “6”=Scroll-Lock & Caps -Lock ON
“7”=Scroll-Lock, Num -Lock & Caps -Lock ON
D
Data mode (C = char, H = Hex, K = Key code, S = Scan code)
T
Turn Around (I = Immediate, L = Line oriented)
M
Monitor mode (M = Monitor on, Q = Qwerty monitor, N = None)