Campbell Scientific CS135 CS135 Lidar Ceilometer - Page 28

Terminal mode command examples

Page 28 highlights

CS135 Ceilometer The following settings are used: RS232/422/485 interface (default) RS232 Full Duplex Baud rate: 115200 Data bits: 8 Parity: none Stop bits: 1 Flow control: none USB service port Baud: rate 115200 Data bits: 8 Parity: none Stop bits: 1 Flow control: none Ensure that if the baud rate of the unit has been adjusted and then the corresponding bits per second value are entered in the port settings of the terminal emulator. The CS135 should now be ready to accept commands. Note: commands will always output all parameters on a new line after a CR LF & then the CS135 prompt 'CS135>'. If you only want to see parameter values without changing them then enter the command without parameters. If a particular parameter did not need changing then the parameter can be replaced with a comma (,). Back space will abort the command. 5.1.3 Terminal mode command examples NOTE The following text shows an example of setting up the CS135 serial port. This example would set the serial port to RS232 full duplex at 115200bps, 8 data bits, no parity and if it was in RS485 mode then a 100mS turn around delay. serial 0 10 0 100 You could also type the following to obtain the same results as the RS485 turn around delay is not needed: serial 0 10 0 If all you wish to do is change the data baud rate and nothing else you can replace the first number, the mode parameter, with a ',' as shown below. serial , 10 Alternatively if you just wished to change the parity to 8-bits no parity then type the following: serial , , 0 You do not need to replace the remaining parameters with ',' you only need to replace the ones up to the parameter you wish to edit. Remember to leave a space character between the command and the parameters as shown in the examples. 20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70

CS135 Ceilometer
20
The following settings are used:
RS232/422/485 interface (default)
USB service port
RS232 Full Duplex
Baud: rate 115200
Baud rate: 115200
Data bits: 8
Data bits: 8
Parity: none
Parity: none
Stop bits: 1
Stop bits: 1
Flow control: none
Flow control: none
Ensure that if the baud rate of the unit has been adjusted and then the
corresponding bits per second value are entered in the port settings of the terminal
emulator. The CS135 should now be ready to accept commands.
Note: commands will always output all parameters on a new line after a
CR LF
&
then the CS135 prompt ‘CS135>’. If you only want to see parameter values
without changing them then enter the command without parameters. If a particular
parameter did not need changing then the parameter can be replaced with a
comma (,).
Back space will abort the command.
5.1.3
Terminal mode command examples
The following text shows an example of setting up the CS135 serial port.
This
example would set the serial port to RS232 full duplex at 115200bps, 8 data bits,
no parity and if it was in RS485 mode then a 100mS turn around delay.
You could also type the following to obtain the same results as the RS485 turn
around delay is not needed:
If all you wish to do is change the data baud rate and nothing else you can replace
the first number, the mode parameter, with a ‘,’ as shown below.
Alternatively if you just wished to change the parity to 8-bits no parity then type
the following:
You do not need to replace the remaining parameters with ‘,’ you only need to
replace the ones up to the parameter you wish to edit.
Remember to leave a space character between the command and the
parameters as shown in the examples.
NOTE
serial 0 10 0 100
serial 0 10 0
serial , 10
serial , , 0