Chapter 2 Commands And Responses; Command Transmission And Recorder Responses; General Communication; Command Types And Functions - YOKOGAWA GX10 User Manual

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

Advertisement

Chapter 2 Commands and Responses

2.1
Command Transmission and Recorder
Responses
2.1.1

General Communication

2.1.2

Command Types and Functions

2.1.3

Command Syntax

A Single Command
Commands in a Series (Setting commands only)
IM 04L51B01-17EN
The recorder can work with various applications through the use of commands.
The communication that is achieved through commands is referred to as "general
communication."
The following types of commands are available. The first character of command names
represents the command type. For example, in the command "SRangeAI," "S" represents
the command type. The second and subsequent characters represent the contents of
commands.
Type
Operation commands
Example:
OSetTime
Setting commands
Example:
SRangeAI
Output commands
Example:
FData
Communication Control commands
Example:
CCheckSum
Instrument information output
commands
Example:
_MFG
A single command consists of a command name, parameters, delimiters, and terminator.
The command name is written in the beginning, and parameters follow. Delimiters are used
to separate the command name from parameters and between each parameter. A delimiter
is a symbol that indicates a separation. A terminator is attached to the end of a command.
Command name,parameter 1,parameter 2 terminator
Example of a Command
SRangeAI,0001,VOLT,2V,OFF,-15000,18000,0
You can send multiple setting commands in a series. When writing a series of commands,
separate each command with a sub delimiter. A sub delimiter is a symbol that indicates a
separation. A terminator is attached to the end of the series. The maximum number of bytes
that can be sent at once is 8000 bytes (8000 characters).
Command name,parameter 1,parameter 2;command name,parameter1 terminator
(Command 1)
Description
Commands that start with "O." These commands are used
to operate the recorder.
Commands that start with "S." These commands change
the recorder settings.
Commands that start with "F." These commands cause the
recorder to output measured data and other types of data.
Commands that start with "C." These commands control the
communication with the recorder.
Commands that start with an underscore. These commands
cause the recorder to output its instrument information.
(Command 2)
Sub delimiter
Delimiters
2-1
1
2
App

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm10Gx20Gp20Gp10

Table of Contents