beautypg.com

Campbell Scientific IRS21 Road Weather User Manual

Page 25

background image

IRS21 Lufft Intelligent Road Surface Sensor

;start irs21 sensor 1
;the polling string to send to the sensor for measurement is strst 1 "&26&41&0D&0A"
;the filter string for the sio4 is fltst 12 "n9Fn1Fn1fn3Fn1Fn3fff"
;the port setup is portset 3 13 3 0 0 9 0
;this sensor is set up for 19.2 kbaud, no parity, 8 data bits, 1 stop bit

;dtr hi to power the interface and puck and rts high for data to logger

1: SDM-SIO4 (P113)
1: 1

Reps

2: 0

Address

3: 3

Send/Receive

Port

3

4: 1027

Command

5: 0022

1st

Parameters

6: 0000

2nd

Parameters

7: 0

Values

per

Rep

8: 1

Loc [ dummy ]

9: 1.0

Mult

10: 0.0

Offset


2: Delay w/Opt Excitation (P22)
1: 1

Ex

Channel

2: 0

Delay W/Ex (0.01 sec units)

3: 250

Delay After Ex (0.01 sec units)

4: 0

mV

Excitation


;rts lo to send data to sensor

3: SDM-SIO4 (P113)
1: 1

Reps

2: 0

Address

3: 3

Send/Receive

Port

3

4: 1027

Command

5: 0010

1st

Parameters

6: 0000

2nd

Parameters

7: 0000

Values

per

Rep

8: 1

Loc [ dummy ]

9: 1.0

Mult

10: 0.0

Offset


;&A to sensor

4: SDM-SIO4 (P113)
1: 1

Reps

2: 0

Address

3: 3

Send/Receive

Port

3

4: 1024

Command

5: 0001

1st

Parameters

6: 0000

2nd

Parameters

7: 0

Values

per

Rep

8: 1

Loc [ dummy ]

9: 1.0

Mult

10: 0.0

Offset

21