Preparing The Instrument; Sending Commands And Receiving Responses; Operations Over The Serial Interface (Rs-232, Rs-422/485, Usb, Bluetooth) - YOKOGAWA GX10 User Manual

Gx series; gp series; gm series; smartdac+ communication command
Hide thumbs Also See for GX10:
Table of Contents

Advertisement

1.2
Operations over the Serial Interface (RS-232,
RS-422/485, USB, Bluetooth)
1.2.1

Preparing the Instrument

1.2.2

Sending Commands and Receiving Responses

1-2
You can control the recorder by sending commands from a PC through the serial interface.
There are various types of commands: setting commands, output commands, operation
commands, communication control commands, and instrument information output
commands. Except for a few special commands, the commands are the same as those used
over an Ethernet network.
Connection
See section 1.2.3, "RS-232 Connection Procedure," section 1.2.4, "RS-422/485 Connection
Procedure," section 1.2.5, "USB Connection Procedure," or section 1.2.6, "Bluetooth
Connection Procedure."
Recorder Configuration
Configure the recorder to use serial communication. For instructions on how to configure
the recorder, see section 1.18, "Configuring the Serial Communication Function (/C2 and /
C3 options)" in the Model GX10/GX20/GP10/GP20 Paperless Recorder User's Manual
(IM 04L51B01-01EN) or section 2.19, "Configuring the Serial Communication Function (/
C3 option)," section 2.20, "Configuring the USB Communication Function," or section 2.21,
"Configuring the Bluetooth Communication Functions," in the Data Acquisition System GM
User's Manual (IM 04L55B01-01EN).
PC
The PC that you will use must meet the following requirements.
• The PC is connected to the recorder through the serial interface.
• The PC can run programs that you have created (see section 1.2.2, "Sending Commands
and Receiving Responses," below).
Programs
When you send a command to the recorder, it will return a response. You can control the
recorder by writing a program that sends commands and processes responses and then
executing the program. You need to create the programs.
Example: If you send the command "FData,0,0001,0020" from your PC to the recorder, the
recorder will return the most recent data of channels 0001 to 0020 in ASCII code.
For details on commands and responses, see chapter 2, "Commands and Responses."
Notes on Creating Programs
• For RS-232 (GX/GP), USB communication (GM), Bluetooth (GM, /C8 option)
When you connect a PC to the recorder through the serial interface, the recorder will be
ready to receive commands.
• For RS-422/485
The device that receives an open command (ESC O) from a PC will be ready to receive
commands. The connection will close in the following situations.
• When the recorder receives a connection-close command (ESC C).
IM 04L51B01-17EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm10Gx20Gp20Gp10

Table of Contents