Section 5. Programming the Datalogger

Second Value Returned

CTS status (0=CTS low, 1=CTS high) DSR status (0=DSR low, 1=DSR high) RI status (see below)

DCD status (0=DCD low, 1=DCD high)

x x x x

For the RI (Ring Indicator):

0 = no trailing edge seen since last read

1 = trailing edge seen since last read

Third Value Returned

Framing errors

Overrun errors

x x x x

Framing errors is a count from 0-99. This count shows how many times there has been a receive error, caused by a character corruption or incorrect set-up.

Overrun errors is a count from 0-99. This count shows how many times characters have been lost due to data being sent too quickly for the SDM-SIO4 to process the data.

Fourth Value Returned

NOT

USED - SET TO ZERO

Line break errors

x

x

x x

Line break errors is a count from 0-99. This count shows how many times the line has been broken or disconnected.

First Command Option — Reset Error Counters

When command 1026 is specified in parameter 4 of Instruction 113, this additional option can be used (parameter 5 of Instruction 113) to force the error counters to be reset to zero.

This means that command 1026 requests data from the SDM-SIO4 and can also be used to send these reset commands to the SDM-SIO4.

NOTE The command to reset the error counters has no effect on a port if the command line is active.

Break reset

Framing reset Overrun reset

Parity reset

x x x x

5-9

Page 39
Image 39
Campbell Hausfeld SDM-SIO4 manual Second Value Returned, Third Value Returned, Fourth Value Returned