Download DX2000 User`s Manual

Transcript
Chapter 4
4.1
Responses
Response Syntax
1
The following table shows the types of responses for various commands described in the
previous chapter.
The DX 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.
Commands
Response
Affirmation
Affirmative response
ASCII output
Binary output
Dedicated response
Dedicated response
Negation
Single negative
response or multiple
negative responses
3
4
Responses
Group
Setting commands
Setting
Control
Basic Setting commands
Output commands
Control
Setup, measurement, and
control data output
RS-422/485 dedicated
Special resonse
commands
2
5
No response
6
* For the responses to the instrument information server function, see section 4.4.
For the responses to special commands, see section 3.10.
Note
The “CRLF” used in this section denotes carriage return line feed.
App
Affirmative Response
When the command is processed correctly, an affirmative response is returned.
Index
• Syntax
E0CRLF
• Example
E0
Single Negative Response
When a 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.
IM 04L41B01-17E
4-1