153
■
SERIAL (RS232C) Communication Protocol
With the SERIAL (RS232C) interface, you can control functions of this unit by transferring the specified commands from a per-
sonal computer (PC) to this unit.
Notes:
• This unit does not support the communication converted between the SERIAL (RS232C) and USB interface.
• When controlling the unit with the SERIAL (RS232C) interface, the following parameters should be identical between the
communication devices.
The setting is available in "SETUP MENU" – "Comm" – "RS232C Setup".
Baud Rate
Data Bit
Parity
Stop Bit
■
Command Format
The following pages detail how to write the commands.
1. The following details how to write the commands
STX:
This shows the data start. STX (ASCII code: 02h) is always prefixed to data. h shows hexadecimal digit.
Unit address of the unit:
Designate the unit address set for "RS232C" of "Comm" on the SETUP MENU.
Transmission command:
A command shown in the Command List is designated.
ETX:
This shows the data end. ETX (ASCII code: 03h) is always prefixed to data.
The character code is ASCII.
When a command needs a parameter, a colon (:) is used for dividing the command and parameter. The following shows
how to write the commands when two or more commands are specified.
2. Response Command (from the Unit to the PC)
The unit sends back the response command for the transmission command from the PC.
• When the reception was completed successfully
The response command differs between when an ANSWER command (sending back the status or data) is required or
when not required.
• When no ANSWER command is required
The unit sends back the same identifier as that in the transmission command, as shown in the figure.
Code
ASCII
(02H) – – – – – – – – – – – – – – – – – – – – – – – – – – – (03H)
[STX] AD [Unit address of this unit] [Transmission Command] : [p1] : [p2] [ETX]
SERIAL (RS232C) CONNECTOR COMMAND REFERENCE
Code
[STX] AD [Unit address of this unit] [Transmission Command] : [p] [ETX]
[STX]
[ETX]
OPL
Same identifier
Transmission command (
→
The unit)
Response command (
←
The unit)
[STX]
[ETX]
OPL