Multiple negative response, Ascii output, Binary output – Yokogawa Standalone MW100 User Manual
Page 52
2-2
IM MW100-17E
2.1 Response Format
Multiple Negative Response
If one of several commands delimited with a sub-delimiter results in an error, a multiple
negative response is returned. The response consists of E2 followed by the error
position, error number, and CRLF, on one line.
• It is only output for the portion of the command that was erroneous. If multiple
commands resulted in errors, the responses are delimited with commas.
• The position of the error is indicated by a 1 for the first command, 2 for the second
command, and so on.
Syntax
E2_ee:nnnCRLF
(if only one error occurred)
E2_ee:nnn,ee:nnn,...,ee:nnnCRLF
(if multiple errors occurred)
ee
Error position (01 to 99)
nnn
Error number (001 to 999)
_
Blank
Example
E2 03:123,07:456
ASCII Output
For the format of each, see section 2.2.
Syntax
EACRLF
.......................CRLF
:
.......................CRLF
.......................CRLF
ENCRLF
Binary Output
Overview Diagram
'E'
'B'
CR
LF
Data length
Flag
Identifier
Header sum
ASCII data
Binary data
Data sum
Binary data
1 byte
EBCRLF
Indicates that data is in binary.
Data Length
The number of bytes equalling flag + indentifier + header sum + binary data + data
sum.
Header Sum
Sum value of data length + flag + identifier.
Binary Data
For the output format of each data, see section 2.3.