
Appendix III: RS-485 Interface
25
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 4 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 (global command to require ID prefix)
S>#01NAVG=4 (set number of measurements per sample to 4 for SBE 38 with ID=01)
S>#02NAVG=4 (set number of measurements per sample to 4 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)
Comentários a estes Manuais