beautypg.com

Chapter 5 responses, 1 response syntax, Affirmative response – Yokogawa µR20000 User Manual

Page 77: Single negative response, Multiple negative responses, 1 response syntax -1, App index

background image

5-1

IM 04P01B01-17E

Responses

1

2

3

4

5

6

App

Index

5.1 Response Syntax

The following table shows the types of responses for various commands described in the
previous chapter.
The recorder returns a response (affirmative/negative response) to a command that is
separated by a single terminator. The controller should follow the one command to one
response format.

Command

Function

See section 4.9.
See section 4.10.

Setting/Measurement

server

Maintenance/Test Server
Instrument Information server

Response

Command Type

Affirmation

Negation

Setting command

Basic setting command

Control command

Output

command

RS-422A/485 dedicated Dedicated response No response

Setup, measurement,

and computation data

output

ASCII output
BINARY output

Affirmative

response

Single

negative

response

or

Multiple

negative

responses

Note

The “CRLF” used in this section denotes a terminator.

Affirmative Response

When the command is processed correctly, an affirmative response is returned.

• Syntax

E0CRLF

• Example

E0

Single Negative Response

When the command is not processed correctly, a single negative response is returned.

• Syntax

E1_nnn_mmm···mCRLF

nnn Error number (001 to 999)
mmm···m Message (variable length, one line)
_ Space

• Example

E1 001 "System error"

Multiple Negative Responses

• If there is an error in any one of the multiple commands that are separated by sub

delimiters, multiple negative responses are returned.

• The response is generated for each erroneous command.
• If there are multiple commands that have errors, the negative responses are

separated by commas.

• The error position number is assigned to the series of commands in order starting with

“1” assigned to the first command.

• Syntax

E2_ee:nnnCRLF

(When there is only one error)

E2_ee:nnn,ee:nnn,···,ee:nnnCRLF

(When there are multiple errors)

ee Error position (01 to 10)
nnn Error number (001 to 999)
_ Space

Chapter 5

Responses

This manual is related to the following products: