Campbell Scientific CS120A CS120A Visibility Sensor - Page 30

Configuring a PC for talking to the CS120A

Page 30 highlights

CS120A Visibility Sensor 11.1 Configuring a PC for talking to the CS120A Described below is the procedure for setting up communications using a terminal emulator program. The terminal emulators built into many Campbell Scientific software products can also be used. The following settings should then be used by default: Bits per second: 38400 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 is entered in the port settings of the terminal emulator. The CS120A should now be ready to accept commands. It is possible to set the CS120A into the default communication state via one of the internal switches on the CS120A main board. See Section 9. 12. Definition of the variables that can be set by the user on the CS120A Both DevConfig and the command line interface can access all the user configurable variables within the CS120A. The acceptable range and the identification number for these variables are listed below along with a short description. ID Name Range 1 Sensor ID 0-9 2 User Alarm 1 0-1 Enabled 3 User Alarm 1 Active 0-1 4 User alarm 1 Distance 5 User Alarm 2 Enabled 060000 0-1 Description Separate ID used as an extra identifier for a particular CS120A on a network. User alarm one activation state 0=Alarm one disabled 1=Alarm one enabled 0=Check if distance is less than 'User alarm 1 Distance' 1=Check if distance is greater than 'User alarm 1 Distance' Distance value that alarm one will trigger against. This value will correspond to metres or feet depending upon which is selected in 'Visibility Unit' User alarm two activation state 0=Alarm two disabled 1=Alarm two enabled Factory default 0 0 0 10000 0 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

CS120A Visibility Sensor
20
11.1
Configuring a PC for talking to the CS120A
Described below is the procedure for setting up communications using a terminal
emulator program. The terminal emulators built into many Campbell Scientific
software products can also be used.
The following settings should then be used by default:
Bits per second: 38400
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 is entered in the port settings of the terminal
emulator. The CS120A should now be ready to accept commands.
It is possible to set the CS120A into the default communication state via one of
the internal switches on the CS120A main board. See Section 9.
12.
Definition of the variables that can be set by the
user on the CS120A
Both DevConfig and the command line interface can access all the user
configurable variables within the CS120A.
The acceptable range and the
identification number for these variables are listed below along with a short
description.
ID
Name
Range
Description
Factory
default
1
Sensor ID
0-9
Separate ID used as an extra identifier for a
particular CS120A on a network.
0
2
User Alarm 1
Enabled
0-1
User alarm one activation state
0=Alarm one disabled
1=Alarm one enabled
0
3
User Alarm 1 Active
0-1
0=Check if distance is
less than
‘User alarm 1
Distance’
1=Check if distance is
greater than
‘User alarm 1
Distance’
0
4
User alarm 1
Distance
0-
60000
Distance value that alarm one will trigger against.
This value will correspond to metres or feet
depending upon which is selected in ‘Visibility
Unit’
10000
5
User Alarm 2
Enabled
0-1
User alarm two activation state
0=Alarm two disabled
1=Alarm two enabled
0