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

Page 24

Advertising
background image

SDM-SIO4 User Guide

3-8

z273 – This outputs the fixed string ‘CrLf (carriage return line feed)’.

*Table 1 Program

01: 2 Execution Interval (seconds)

;get battery voltage.

1: Batt Voltage (P10)

1: 2 Loc [ Batt_v ]

;get panel temperature.

2: Internal Temperature (P17)

1: 1 Loc [ Temp_C ]

;send battery voltage and temperature to port 2 on the SDM-SIO4.

3: SDM-SIO4 (P113)

1: 1 Reps

2: 0 Address

3: 2 Send/Receive Port 2

4: 2304 Command

;see Section 5 for explanation of

5: 9123 1st Parameters

;Command 2304 and its Parameters

6: 0 2nd Parameters

;

7: 2 Values per Rep

8: 1 Loc [ Temp_c ]

9: 1.0 Mult

10: 0.0 Offset

*Table 2 Program

02: 0.0000 Execution Interval (seconds)

*Table 3 Subroutines

End Program

Advertising