Lantronix XPort XChip - User Guide - Page 45

I/F (Interface) Mode, RS-232, RS-485 2-Wire and RS-422 4-Wire

Page 45 highlights

7: Setup Mode: Channel Configuration I/F (Interface) Mode The Interface (I/F) Mode is a bit-coded byte entered in hexadecimal notation. I/F Mode (4C) ? _ RS-232 The following table displays available I/F Mode options: Note: All bit positions in the table that are blank represent "don't care" bits for that particular option, which can be set to either a 0 or 1 value. Figure 7-2. Interface Mode Options I/F Mode Option 7 6 5 4 3 2 1 0 RS-232C (1) 0 0 7 Bit 1 0 8 Bit 1 1 No Parity 0 0 Even Parity 1 1 Odd Parity 0 1 1 stop bit 2 stop bits (1) 0 1 1 1 (1) 2 stop bits are implemented by the software. This might influence performance. The following table demonstrates how to build some common Interface Mode settings: Table 7-3. Common Interface Mode Settings Common I/F Mode Setting Binary Hex RS-232C, 8-bit, No Parity, 1 stop bit 0100 1100 4C RS-232C, 7-bit, Even Parity, 1 stop bit 0111 1000 78 RS-485 2-Wire and RS-422 4-Wire Additional settings for RS-422 4-wire and RS-485 2-wire are available on the XPort models. Note: All bit positions in the table that are blank represent "don't care" bits, for that particular option, which can be set to either a 0 or 1 value. Table 7-4. Interface Mode Options I/F Mode Option 7 6 5 4 3 2 1 0 RS-422 4-wire 0 1 RS-485 2-wire 1 1 XPort User Guide 45

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87

7: Setup Mode: Channel Configuration
I/F (Interface) Mode
The Interface (I/F) Mode is a bit-coded byte entered in hexadecimal notation.
I/F Mode (4C) ? _
RS-232
The following table displays available I/F Mode options:
Note:
All bit positions in the table that are blank represent “don’t care” bits for that
particular option, which can be set to either a 0 or 1 value.
Figure 7-2. Interface Mode Options
I/F Mode Option
7
6
5
4
3
2
1
0
RS-232C
(1)
0
0
7 Bit
1
0
8 Bit
1
1
No Parity
0
0
Even Parity
1
1
Odd Parity
0
1
1 stop bit
0
1
2 stop bits
(1)
1
1
(1) 2 stop bits are implemented by the software. This might influence performance.
The following table demonstrates how to build some common Interface Mode
settings:
Table 7-3. Common Interface Mode Settings
Common I/F Mode Setting
Binary
Hex
RS-232C, 8-bit, No Parity, 1 stop bit
0100 1100
4C
RS-232C, 7-bit, Even Parity, 1 stop bit
0111 1000
78
RS-485 2-Wire and RS-422 4-Wire
Additional settings for RS-422 4-wire and RS-485 2-wire are available on the XPort
models.
Note:
All bit positions in the table that are blank represent “don’t care” bits, for that
particular option, which can be set to either a 0 or 1 value.
Table 7-4. Interface Mode Options
I/F Mode Option
7
6
5
4
3
2
1
0
RS-422 4-wire
0
1
RS-485 2-wire
1
1
XPort User Guide
45