50
7. How to use the communication interface
Terminal command
<ESC>#nn
Purpose
Open/Close of the BF500 communication terminal.
Parameter
nn, where nn is an integer between 01 to 15.
Description
A command beginning with <ESC> is a terminal command. When a BF500 whose
ID number is nn receives this command from the host, it opens the communication
circuit to enable communication. If another BF500 with a different ID number has
been connected while communication was established, the communication line of
that BF500 is closed. Note, however, that all lines will be closed if nn is other than
00 to 15. Ecoh back from BF500 to a terminal command is as follows:
<ESC>#nn:<BS><BS><BS><BS><BS><CR><LF>
(No echo back will be returned when nn is other than 01 to 15.)
Caution
Response of BF500 to the terminal command is different from response to other
commands in the following points.
・
BF500 will not send an echo back until it completes reception of all character
strings and the delimiter.
・
BF500 sends an echo back after appending 5 back spaces to <ESC>#nn.
Caution
The default communication ID number of BF500 is 01 and hereafter the ID prompts
are indicates as <01>.
General command
who
Purpose
Requests for identification information of the communicating controller
Description
BF500 sends a controller message after an echo back when it receives this
command from the host. The controller message is “Hitec-IV(FR)”. The echo back
and the transmission data are as follows:
who <CR> <LF>
message <CR> <LF>
01>
The controller installed in BF500 is Hitec-IV. There are two types of Hitec-IV
controllers, with names FR and CR. The type of the Hitec-IV controllers connected
in a multi-drop network may be necessary information in some cases. The
controller identification messages are as follows:
Hitec-IV(FR): FR controller
Hitec-IV(CR):CR controller