ASCII HEX MODE
76
HYDRO-VIEW USER GUIDE
D0022
REV 1.06
Field
Format
Description
REQUEST Two
ASCII-Hex
characters
Two ASCII Hex characters representing a request to
be processed. Valid request codes are in the range
01-FF, but only certain commands will be recognised
by the Hydro-View - see below.
DATA Two
ASCII-Hex
characters per
byte of data
As required by the COMMAND field.
Data entities larger than one byte are transmitted
low-byte first in keeping with the order used by Intel
family processors (such as those in the IBM-PC)
which allows data to be streamed directly into a ‘C’
data structure (for example) without re-ordering of
data. Motorola family processors will need to
assemble the data bytes accordingly for both
transmission and reception.
CHECKSUM Two
ASCII-Hex
characters
Byte-wise exclusive-OR (XOR) of all characters from
the station number to the end of data inclusive.
ETX
03
End of frame.
Frame types
The master device issues
request
frames. These frames either solicit data from the slave
or send information to the slave for it to process, or a combination of both. The slave can
respond to a request in one of four ways...
It processes the request and issues an
acknowledge
frame back to the master.
It processes the request and issues a
reply
frame back to the master containing some
data.
It does not process the request because the request was invalid although not
corrupted. An
acknowledge
frame is then sent containing an error code.
It does nothing. In this case, the slave may have detected an error (usually corruption)
but cannot reply because to do so may result in further errors. An example of this may
be a faulty checksum in the request - the slave cannot reply here since it would not be
certain that the station number itself had not been corrupted. In this case the slave will
ignore the faulty frame and attempt to synchronise to the next STX character.
Request frame format
Issued by the master station. Format as per table in
Basic Frame Format
above.
Acknowledge frame format
Issued by slave stations.
The station number has the top bit set as described in
Basic Frame Format
above.
The request field is returned unaltered.
The data field is a single byte (two hex digits) code from the following table...
Code
Mnemonic
Description
00
OK
The request frame was received and processed without
error.
01
BAD_REQUEST
The request field of the request frame was not
understood by the slave. This may mean that the
version number of the firmware running in the slave is
out of date.
Содержание Hydro-View HV02
Страница 20: ...20 HYDRO VIEW USER GUIDE D0022 REV 1 06 Notes ...
Страница 30: ...MATERIAL IN USE 30 HYDRO VIEW USER GUIDE D0022 REV 1 06 Notes ...
Страница 42: ...SUGGESTED WORKING VALUES 42 HYDRO VIEW USER GUIDE D0022 REV 1 06 Notes ...
Страница 48: ......
Страница 53: ...GROUPING CHANNELS HYDRO VIEW USER GUIDE D0022 REV 1 06 53 Figure 17 Four bin grouped system ...
Страница 54: ...EXAMPLE A FOUR BIN GROUPED SYSTEM USING RS485 54 HYDRO VIEW USER GUIDE D0022 REV 1 06 Notes ...
Страница 69: ...INSTALLATION HYDRO VIEW USER GUIDE D0022 REV 1 06 69 Notes ...
Страница 70: ......
Страница 80: ...ELECTROMAGNETIC COMPATIBILITY DIRECTIVE 89 336 EEC 80 HYDRO VIEW USER GUIDE D0022 REV 1 06 Notes ...
Страница 82: ...82 HYDRO VIEW USER GUIDE D0022 REV 1 06 Notes ...