Manual revision 013
Appendix III: RS-485 Interface
SBE 38
26
Appendix III: RS-485 Interface
Operation Description
Commands can be directed to one SBE 38 or globally to all SBE 38s. If
IDReq=Y
, a command prefix (
#ii
) is used to direct commands to an SBE 38
with the same ID (ii = ID). Global commands do not use a prefix, regardless of
the setting for
IDReq=
, and are recognized by all SBE 38s attached to the
RS-485 interface.
An example follows for a system with two SBE 38s (IDs 01 and 02)
online. Note that the SBE 38’s response to each command is not shown
in the example. Review the commands described in
Command Descriptions
and the example below before setting up your system.
Example:
Wake up all SBE 38s. Set up all SBE 38s to average 40 measurements per sample and output
converted data with 3 digits to the right of the decimal place. Command all SBE 38s to take a sample and hold
data in buffer, and then command each SBE 38 to transmit data from buffer. Repeat sampling sequence a number
of times. (user input in bold)
(Apply power and click Connect on Toolbar to wake up all SBE 38s.)
S>
IDREQ=Y
(command to require ID prefix)
S>
#01NAVG=40
(set number of measurements per sample to 40 for SBE 38 with ID=01)
S>
#02NAVG=40
(set number of measurements per sample to 40 for SBE 38 with ID=02)
S>
#01FORMAT=C
(set output format to converted data for SBE 38 with ID=01)
S>
#02FORMAT=C
(set output format to converted data for SBE 38 with ID=02)
S>
#01DIGITS=3
(set number of digits to right of decimal point to 3 for SBE 38 with ID=01)
S>
#02DIGITS=3
(set number of digits to right of decimal point to 3 for SBE 38 with ID=02)
S>
#01DS
(verify setup with status command for SBE 38 with ID=01)
S>
#02DS
(verify setup with status command for SBE 38 with ID=02)
S>
GDATA
(global command to all SBE 38s to take sample and hold data in buffer)
S>
DATA01
(get data from buffer of SBE 38 with ID=01)
S>
DATA02
(get data from buffer of SBE 38 with ID=02)
(Repeat
GDATA
through
DATA02
as desired)
Notes:
•
IDReq=Y
does
not
require a
#ii
prefix.
IDReq=N
does
require a
#ii
prefix (
#iiIDReq=N
).
•
For customers using their own
terminal program software:
Terminate all commands with CR
only, not CRLF.
30
Summary of Contents for SBE 38
Page 2: ...This page intentionally left blank ...
Page 4: ...Manual Generation Date 26 August 2011 1 ...
Page 6: ...This page intentionally left blank 3 ...
Page 7: ...4 ...
Page 47: ...This page intentionally left blank 44 ...
Page 63: ...60 ...
Page 64: ...61 ...