113
Using the RS-232C interface
Setting the baud rate
Set the baud rate to a desired rate.
1.
Access the SYSTEM SETTING screen from the MAIN MENU
screen (p. 99).
2.
Click the menu on the right side of “RS-232C BAUD RATE,”
and select the baud rate.
Baud rate = 1,200/2,400/4,800/9,600/19,200/38,400 bps
Set the same baud rate as the control PC.
3.
When a “Takes effect after restart.” dialogue window
appears, click [Close].
4.
When you click [MAIN MENU] on the lower right side of the
display, a “Save changes?” dialogue window appears. Click
“Yes.” and the display returns to the MAIN MENU.
5.
Click [SHUTDOWN], and when the RG-100 turns to standby
mode (the SHUTDOWN indicator lights in red), press the
SHUTDOWN button.
When the unit starts up again, the baud rate is set to the newly
changed rate.
The transmissions between the RG-100 and the control PC are
relayed by commands. There are certain types of commands.
To control the RG-100, the commands vary depending on the
purpose.
A command basically consists of an ASCII code sequence containing
“stx,” two letters of the alphabet, and a “;” (semicolon). The two
letters indicate the command type. There are several types of
commands. For more information, refer to “About the command
types.”
• “stx”: The ASCII code signal name (code number: 02H
[hexadecimal]) that signals the command START.
• “;”: Code used by the RG-100 to signify the end of a command.
Ex. To start mute, send the ASCII command: <stx>MT;.
About the protocol
Depending on the command, there are 4 different types of
communication protocols.
Specifying an action and making settings for
the RG-100
These are the control commands and query commands that are
covered in a later section.
fig.232c01.eps
a.
Transmit a command from the control PC to the RG-100.
b.
If received correctly, the RG-100 returns ACK, and if an
error occurs, the RG-100 returns ER.
• An error occurs in a case when, for instance, the code sequence
was incorrect.
• “ACK” is an ASCII code signal name (code number 06H
[hexadecimal]) that tells the control PC that the command was
correctly received.
RS-232C command
reference
Command overview
PC
a. <stx> + command
RG-100
b. <ack> or <stx>ER;
000RG-100.book 113 ページ 2004年8月6日 金曜日 午後5時37分