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

Page 65

Advertising
background image

Section 6. Data Error Detection

6-9

*Table 1 Program

01: 1.0 Execution Interval (seconds)

;use formatter string 100 to set up the CRC16 on port 1

1: SDM-SIO4 (P113)

1: 1 Reps

2: 0 Address

3: 1 Send/Receive Port 1

4: 2304 Command

5: 9100 1st Parameters

6: 0 2nd Parameters

7: 0 Values per Rep

8: 0000 Loc [ _________ ]

9: 1 Mult

10: 0 Offset

;A minimum delay of 1ms is required after this command

2: 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

;use formatter string 101 to transmit the string ‘get data’ to port 1

3: SDM-SIO4 (P113)

1: 1 Reps

2: 0 Address

3: 1 Send/Receive Port 1

4: 2304 Command

5: 9101 1st Parameters

6: 0 2nd Parameters

7: 0 Values per Rep

8: 0000 Loc [ _________ ]

9: 1 Mult

10: 0 Offset

;a minimum delay of 3.8ms is required after this command

4: 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

;send the ASCII characters ‘Y’ and ‘Z’ to port 1

5: SDM-SIO4 (P113)

1: 1 Reps

2: 0 Address

3: 1 Send/Receive Port 1

4: 2305 Command

5: 89 1st Parameters

6: 98 2nd Parameters

7: 0 Values per Rep

8: 0000 Loc [ _________ ]

9: 1 Mult

10: 0 Offset

Advertising