The text based Setup Mode of my device server requires a hex number for the Interface Mode. What are the valid hex values for Interface Mode? The User Guide only shows which bits to set with a few examples. Is there an easier way?
Here is a table of Valid Interface Modes.
Do not use Hex mode values not listed in this table
HEX | Stop Bit | Parity | Char Bit | RS Type |
48 | 1 | None | 7 | 232 |
49 | 1 | None | 7 | 422/485 |
4B | 1 | None | 7 | 485 2-wire |
4C | 1 | None | 8 | 232 |
4D | 1 | None | 8 | 422/485 |
4F | 1 | None | 8 | 485 2-wire |
58 | 1 | Odd | 7 | 232 |
59 | 1 | Odd | 7 | 422/485 |
5B | 1 | Odd | 7 | 485 2-wire |
5C | 1 | Odd | 8 | 232 |
5D | 1 | Odd | 8 | 422/485 |
5F | 1 | Odd | 8 | 485 2-wire |
78 | 1 | Even | 7 | 232 |
79 | 1 | Even | 7 | 422/485 |
7B | 1 | Even | 7 | 485 2-wire |
7C | 1 | Even | 8 | 232 |
7D | 1 | Even | 8 | 422/485 |
7F | 1 | Even | 8 | 485 2-wire |
C8 | 2 | None | 7 | 232 |
C9 | 2 | None | 7 | 422/485 |
CB | 2 | None | 7 | 485 2-wire |
CC | 2 | None | 8 | 232 |
CD | 2 | None | 8 | 422/485 |
CF | 2 | None | 8 | 485 2-wire |
D8 | 2 | Odd | 7 | 232 |
D9 | 2 | Odd | 7 | 422/485 |
DB | 2 | Odd | 7 | 485 2-wire |
DC | 2 | Odd | 8 | 232 |
DD | 2 | Odd | 8 | 422/485 |
DF | 2 | Odd | 8 | 485 2-wire |
F8 | 2 | Even | 7 | 232 |
F9 | 2 | Even | 7 | 422/485 |
FB | 2 | Even | 7 | 485 2-wire |
FC | 2 | Even | 8 | 232 |
FD | 2 | Even | 8 | 422/485 |
FF | 2 | Even | 8 | 485 2-wire |
[Originally Published On: 08/04/2006 04:19 PM]