SerialOpenFormat (Error Detection Format)
The Format parameter is used to specify the type of error detection to be used for the exchange of data.
If you are using SerialOpen to control a SDM-SIO1A, SDM-SIO4A, or SDM-SIO2R module, click here for details on SerialOpen format parameters that are specific for SDM-SIO devices.
NOTE: Typical RS-232 connections use logic 1 low. Typical TTL connections use logic 1 high.
NOTE: With RS-485 and RS-422 communications, logic level is ignored. You must select the parity, stop, and data bits. However, either logic level can be used.
NOTE: All formats use one start bit.
Code | Description |
---|---|
0 |
|
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
9 |
|
10 |
|
11 |
|
13 |
|
14 |
|
15 |
|
C Terminals Only
Code | Description |
---|---|
16 | Logic 1 high; No parity, one stop bit, 8 data bits; No error checking; PakBus communication can occur concurrently on the same port |
17 | Logic 1 high; Odd parity, one stop bit, 8 data bits |
18 | Logic 1 high; Even parity, one stop bit, 8 data bits |
19 | Logic 1 high; Binary, no parity, one stop bit, 8 data bits |
20 | Logic 1 high; PakBus protocol active, 2 stop bits, 8 data bits |
21 | Logic 1 high; Odd parity, two stop bits, 8 data bits |
22 | Logic 1 high; Even parity, two stop bits, 8 data bits |
23 | Logic 1 high; Binary, no parity, two stop bits, 8 data bits |
25 | Logic 1 high; Odd parity, one stop bit, 7 data bits |
26 | Logic 1 high; Even parity, one stop bit, 7 data bits |
27 | Logic 1 high; Binary, no parity, one stop bit, 7 data bits |
29 | Logic 1 high; Odd parity, two stop bits, 7 data bits |
30 | Logic 1 high; Even parity, two stop bits, 7 data bits |
31 | Logic 1 high; Binary, no parity, two stop bits, 7 data bits |
By default, the RS-232 is set up for PakBus communication (i.e., PakBus active),
unless changed by SerialOpen. However, the control
NOTE:
When disabling PakBus communication on the RS232 port, an alternative method of connection should be used, such as the ComUSB port.
Type: Constant