18 command 1027: ‘manual’ handshake mode, 19 command 2049: set communications parameters, First command option (parameter 5) – Campbell Scientific SDM-SIO4 4-Channel Serial I/O Interface User Manual

Page 43

Advertising
background image

Section 5. Programming the Datalogger

5-11

Parity reset:
0

Do nothing

1

Reset parity error count to zero

5.2.18 Command 1027: ‘Manual’ Handshake Mode

In this mode, the datalogger can set DTR, RTS and XON/XOFF as required.

Not used - set to zero.
| XON/XOFF
| | RTS
| | | DTR
| | | |
x x x x

XON/XOFF:
0

Leave as set previously

1

XOFF data (stop data transmission from SDM-SIO4)

2

XON data (restart data transmission from SDM-SIO4)

RTS:
0

Leave as set previously

1

Clear RTS to low

2

Set RTS to high

DTR:
0

Leave as set previously

1

Clear DTR to low

2

Set DTR to high

Values per repetition = 0

A 2ms delay is required after this command before the next
SDM-SIO4 command is started.

5.2.19 Command 2049: Set Communications Parameters

This command sets the baud rate, data length, stop bits, parity and handshake
mode as follows (please refer to Appendix B for a more detailed explanation):

Values per repetition = 0

First Command Option (Parameter 5)

Handshake mode
| Stop bits + parity
| | Data length
| | | Baud rate
| | | |
x x x x

NOTE

Advertising