beautypg.com

Chapter 7 response, 1 response syntax, Affirmative response – Yokogawa Data Acquisition with PID Control CX2000 User Manual

Page 193: Single negative response, Multiple negative responses

background image

7-1

IM 04L31A01-17E

7

Response

7.1

Response Syntax

The following table shows the types of responses for the various commands described in
the previous chapter.
The CX returns a response (affirmative/negative response) to a command that is delimited
by a single terminator. The controller should follow the one command to one response
format. When the command-response rule is not followed, the operation is not guaranteed.

Function

Setting/
Measurement
Server

Affirmative
response

Command

Command Type

Setting command

Control

Control

Response
Affirmation

Negation

Basic setting command

Output
command

Measurement

Setup, measured, and
computed data output

RS-422/485 dedicated

ASCII output

ASCII output

BINARY output

Dedicated response

Single
negative
response or
multiple
negative
responses

No response

*

For the responses to the instrument information server function, see section 7.4.

Note

The “

CRLF

” used in this section denotes carriage return line feed.

Affirmative Response

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

E0

CRLF

Example

E0

Single Negative Response

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

E1_nnn_mmm...m

CRLF

nnn

Error number (001 to 999)

mmm...m

Message (variable length, one line)

_

Space

Example

E1 001 "Ststem 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:nnn

CRLF

(When there is only one error)

E2_ee:nnn,ee:nnn,...,ee:nnn

CRLF

(When there are multiple errors)

ee

Error position (01 to 10)

nnn

Error number (001 to 999)

_

Space

Example

E2 02:001

Chapter 7 Response