3-46
3
3.9.7
SERkybd Program
ICS supplies an interactive SERkybd program that lets you send commands
to any serial unit and receive back responses. SERkybd can operate with
basic serial messages, in the Network Address protocol and in Network
Packet protocol. SERkybd is in its own directory on the Support CD-ROM
that is shipped with the 2363. SERkybd is installed by copying the files in
the SERkybd directory to your hard disk. Place a short cut to SERkybd on
your desktop.
SERkybd is run by double clicking on the program name or on the shortcut.
Next click on the 'Initialize COM Port' button to display the COM Port form.
Set the baud rate and click on the appropriate COM port button. Use the
default 9600 baud setting unless you have set the serial device to a different
baud rate. Click the 'Return to Main Form' button to exit the COM Port
form.
Enter any commands to be sent to the 2363 in the Device Command
window. The default settings add a linefeed to the message and use a basic
serial protocol. Press SEND to transmit the command. If the command is
a query and contains a '?', the Auto Query function will read the Receive
Buffer and display its contents in the Device Response window.
The Network Protocol and Device Address frame contains three radio
buttons that let the user select the serial protocol. The default selection is
OFF or none. The OFF protocol sends messages just as they would be sent
by a terminal emulation program. The Addr selection is for Network
Addressing and prefixes a STX character and an address character at the
start of each message. The user enters the serial device's address in the
window and presses the 'Set Address' button to enter the address into the
program. A device address is required for the Addr and Packet protocols.
Use the default address of 4 unless you have changed the 2363's address.
(See paragraph 2.7 for directions on changing the 2363's address.)
The Packet button selects the Network Packet protocol which causes the
SERkybd program to format all massages as a packet and to attach a
checksum to each packet. The SERkybd program looks for a response
packet from the serial device and displays the packet type (ACK of NAK)
received in the Device Response window along with any response message.