beautypg.com

6 message polling – Campbell Scientific CS135 Lidar Ceilometer User Manual

Page 35

background image

User Guide

27

XXXX XXXX 1000

Photo diode calibrator has failed

XXXX XXXX 0800

The sensor could not reach the desired gain levels

XXXX XXXX 0400

Laser run time has been exceeded

XXXX XXXX 0200

Laser temperature out of range

XXXX XXXX 0100

Laser thermistor failure

XXXX XXXX 0080

Laser is obscured. This can only be set if the laser is on

XXXX XXXX 0040

Laser did not achieve significant output power

XXXX XXXX 0020

Laser max power exceeded

XXXX XXXX 0010

Laser max drive current exceeded

XXXX XXXX 0008

Laser power monitor temperature out of range

XXXX XXXX 0004

Laser power monitor test fail

XXXX XXXX 0002

Laser shutdown by top board

XXXX XXXX 0001

Laser is off

5.1.6 Message Polling

The command 'POLL Sensor_ID Message_ID ' requests the message Message_ID
from sensor Sensor_ID.
Where Message_ID is a CS135message type as defined in Section 5.1.4.

Example of how to use the CS135 POLL command to request preconfigured message
outputs.

First configure the CS135 to use polling mode from the terminal interface via the “MCFG”
command as follows:

CS135> MCFG 0

0 1 0 0 0 0

This configures the CS135 into polling mode leaving your message output configurations
unchanged. Exit the terminal by typing the “close” command. This will save the changes you
just made.

CS135> CLOSE

COMMAND CLOSED

Any automatic message outputs should not have stopped. Type the “POLL” command as
shown below to verify that the system is working as expected. Note: Once you have exited
the terminal characters will not be automatically echoed back to you.

POLL 0

This should return all messages you have set via the MCFG command. In this example, only
one message output was set, the default message. So the POLL command will return text
similar to that shown below. Note: If you have no message configured (i.e. MCFG returned
0 0 0 0 0 0) then nothing will be returned from the command you just typed.

CS0100001

10 100 12345 ///// ///// ///// 000000000000

abcd