Campbell Hausfeld Serial I/O Interface SDM-SIO4 User Manual

Page 60

Advertising
background image

SDM-SIO4 User Guide

6-4

*Table 1 Program

01: 1.0 Execution Interval (seconds)

;test flag 1 – if not set tell the SDM-SIO4 to use filter string 100

1: If Flag/Port (P91)

1: 21 Do if Flag 1 is Low

2: 30 Then Do

;tell the SDM-SIO4 to use filter string 100

2: SDM-SIO4 (P113)

1: 1 Reps

2: 0 Address

3: 1 Send/Receive Port 1

4: 2054 Command

5: 9100 1st Parameters

6: 0 2nd Parameters

7: 0 Values per Rep

8: 0000 Loc [ _________ ]

9: 0 Mult

10: 0 Offset

;a minimum delay of 4ms is required by the above P113

3: Excitation with Delay (P22)

1: 1 Ex Channel

2: 0 Delay W/Ex (units = 0.01 sec)

3: 1 Delay After Ex (units = 0.01 sec)

4: 0 mV Excitation

;set flag 1 to instruct the SDM-SIO4 to use the filter once only

4: Do (P86)

1: 11 Set Flag 1 High

;end of filter setup

5: End (P95)

;poll SDM-SIO4 to see if data is available for the datalogger to collect
;the value from the poll is read into location 1

6: SDM-SIO4 (P113)

1: 1 Reps

2: 0 Address

3: 1 Send/Receive Port 1

4: 1 Command

5: 0 1st Parameters

6: 0 2nd Parameters

7: 1 Values per Rep

8: 1 Loc [ _________ ]

9: 1 Mult

10: 0 Offset

Advertising