9
RS-232 Command Reference
You can use the REMOTE connector (RS-232) to remotely control the XS-1HD from an external device.
REMOTE Connector (RS-232) Specifications
1 2 3 4 5
6 7 8 9
D-sub 9-pin (male)
Pin No.
Signal
1
N.C.
2
RXD
3
TXD
4
DTR
5
GND
6
DSR
7
RTS
8
CTS
9
N.C.
Communication method
Synchronous (asynchronous),
full-duplex
Communication speed
9600, 38400 bps
Parity
none
Data length
8 bit
Stop bit
1 bit
Code set
ASCII
Flow control
XON/XOFF
Cable wiring diagram
Connect the three lines RXD, TXD, and GND as shown in the
illustration below.
XS-1HD
Controller
N.C.: 1
1:
RXD: 2
2: RXD
TXD: 3
3: TXD
DTR: 4
4:
GND: 5
5: GND
DSR: 6
6:
RTS: 7
7:
CTS: 8
8:
N.C.: 9
9:
* Numbers 4 and 6, and numbers 7 and 8 are internally
connected inside the XS-1HD.
* Use a cross-cable to make connections with the controlling
device (such as a computer that is equipped with RS-232).
Command Summary
The command format consists of the ASCII code string “stx” plus “three alphabetical characters (uppercase)” plus “ ; ” (semicolon).
The three alphabetical characters indicate the type of command.
If the command has an argument, a “ : ” (colon) is inserted between the three alphabetical characters and the argument. If there are multiple
arguments, they are separated by a “ , ” (comma).
stx
This is the name of a signal in ASCII code (code number: 02H); it is a control code that indicates the beginning of a command.
“H” indicates hexadecimal notation.
:
This is the code by which the XS-1HD recognizes the demarcation between the command and the parameter(s).
;
This is the code by which the XS-1HD recognizes the end of the command.
* stx (02H), ACK (06H), and Xon (11H)/Xoff (13H) are control codes.
* When the external device transmits successive commands to the XS-1HD, it must wait for “ACK” to be returned before transmitting the next
command.