Download Print this page

Advertisement

Quick Links

Hello Angles...
A First Use Guide for LCH-45 & LCH-360 Inclinometers:
RS232 Interface with
LD Standard Communication Protocol.
1
A First Use Guide for LCH Inclinometers Using the RS232 Serial Interface.

Advertisement

loading

Summary of Contents for Level Developments LCH-45

  • Page 1 Hello Angles... A First Use Guide for LCH-45 & LCH-360 Inclinometers: RS232 Interface with LD Standard Communication Protocol. A First Use Guide for LCH Inclinometers Using the RS232 Serial Interface.
  • Page 2 Who Is This Guide For? The purpose of this guide is to show the correct procedure for connecting and using digital LCH inclinometers with a Windows PC for the first time. This document can be followed by users of all skill levels including absolute beginners. Preface: Take care while making all connections.
  • Page 3 Step 2: Ensure You Have a Working COM Port (Software): On your computer go to “Device Manager” which can be accessed via the control panel: For Built-In COM ports: In most cases the driver will be installed and working already. Typically this will be called “Communications Port (COM1)”...
  • Page 4 (A good place to start is the website for the manufacturer of the hardware). Step 3: Connect the Inclinometer wires to the COM Port: Full RS232 connections for the LCH-45 inclinometer are as follows: LCH Wire Connects to… …On DB-9 Pin...
  • Page 5 “+” if using a battery. Step 5: Connecting an Inclinometer to the Level Developments Inclinometer App: We recommend using the inclinometer app before attempting to create your own more advanced commands, this ensures that you have the correct connections and your hardware is working as it should.
  • Page 6 You can then change the COM channel (port number) to match the value determined in step 2. The default baud setting for all LCH-45 sensors is 38400, with 8 data bits, 1 stop bit and no parity.
  • Page 7 (highlighted) and created our first command in the sequence window. By default all LCH-45 inclinometers are set to respond in 32bit signed integer mode which can’t be read by eye, so the first command we will send to the device is “setoasc”. This will change the output (response) mode to ASCII format.
  • Page 8 This will save the new command into the sequence list as shown below. You can now send the command to the Inclinometer by clicking on the “—>” button. This will print the command “setoasc” (Tx) into the monitor window & and the inclinometer should respond (Rx) with “OK” to indicate success. You can now create a 2nd command to request the angles from the Inclinometer.
  • Page 9 Send the new command to Inclinometer by clicking on the “—>” button. The inclinometer should now respond with an 18 byte string in the following format: ±xxx.xxx,±yyy.yyy<CR> (For 360° products this will return a 9 byte string such as ±025.430<CR>) &...

This manual is also suitable for:

Lch-360