web
You’re offline. This is a read only version of the page.
close
Support Portal

Setting up a serial communication (RS232 or RS422) to the OD7000

Related Products
OD7000

Table of Contents

The OD7000 is equipped with a serial interface that can be either used to set up a serial connection via RS232 or via RS422.

Please note following key facts:

  • The hardware connection is made at "Interface A" terminal.
  • The interface can be used either to parameterize the sensor or to continuously stream measurement data.
  • All commands are documented in the "Protocol and Command Reference" document.
  • The commands are sent in ASCII format ("Dollar protocol") followed by two characters: <DC3> <DLE> (0x13 0x10)
  • After establishing a communication to the sensor, the OD7000 will immediately start streaming measurement data
  • The default baud rate is 115.2 kBaud
  • The default serial port configuration is RS232. If RS422 is needed please use the command terminal in the OD7000 Engineering tool to switch the port configuration (Command: "SRPT 1")

RS232 wiring

Note: It is mandatory to connect RTS and CTS

RS422 wiring

Example

Attached you can find an example project for the terminal software "Docklight"

 

The following screenshot shows a typical serial communication:

  1. The baud rate is set to 115.2kBaud 
  2. After establishing a connection the OD7000 immediately starts streaming the distance value + intensity value
  3. By sending the command $STO<DC3><DLE> (HEX: 24 53 54 4F 13 10) the streaming stops (it takes a short moment until the streaming really stops)
  4. By sending e.g. $SHZ ?<DC3><DLE> (HEX: 24 53 48 5A 20 3F 13 10) you will receive the current sampling rate setting
Keywords:
od7000, rs232, rs422, serial, communication