YOKOGAWA GX10 User Manual page 137

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

Advertisement

Binary Output
IM 04L51B01-17EN
The responses to output commands consisting of binary data output requests are in binary.
Format
The following figure shows the binary output format. The recorder adds a header to the front
of binary output data and a checksum at the end. The request data is entered in the data
block.
4 bytes
2 bytes
1 byte
'E'
'B'
CR
Data length
Flag
Reserved area 1
Reserved area 2
Header sum
Data block
Data sum
EBCRLF
The EBCRLF block stores ASCII code "E," ASCII code "B," followed by "CR" "LF." This
indicates that the output data is binary.
Data length (32 bits, big endian)
The data length block indicates the length of "flag + reserved area 1 + reserved area 2 +
header sum + data block + data sum" in bytes.
Flag (16 bits, big endian)
The flag block indicates information of the entire data block.
Bit
Flag Value
0
1
15
Always zero
14
No
Yes
13
Always zero
:
1
0
Intermediate
Last data
data
Reserved area 1 (16 bits), reserved area 2 to (16 bits)
Not used
Header sum (16 bits, big endian)
The header sum block indicates the sum of "data length + flag + reserved area 1 + reserved
area 2."
LF
Flag Meaning
Not used
Data sum inclusion
Not used
If the output data is continuous data, this flag
indicates whether the last value in the data block
is intermediate data or last data.
2.9 Responses to Commands
2-119
1
2
App

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm10Gx20Gp20Gp10

Table of Contents