X hits on this document

102 views

0 shares

0 downloads

0 comments

29 / 37

MODBUS Communications Driver - Functions

The Parity code must be one of the following values (“No Parity” is the default):

Cod

e

Parity

0

None

1

Odd

2

Even

3

Mark

4

Space

Note: Not all PC serial ports support parity with 8 data bits (8 data bits are required for RTU mode).

EXAMPLE

MB_SetPortSetup(2, 7, 0, 1, 8);

MessageBox(NULL, "Port 2 selected at 9600 baud.", MB_OK);

"SetPortSetup",

Revision 2.210

June 6, 1998

Page 21

Document info
Document views102
Page views104
Page last viewedFri Dec 09 17:26:12 UTC 2016
Pages37
Paragraphs781
Words6172

Comments