Lantronix G520 G520 User Guide - Page 198

: Serial, Serial Line Statistics, Serial Line Configuration

Page 198 highlights

15: Serial The G520 series gateways offer two serial ports. Serial port 1 uses a standard RS-232 interface and Serial port 2 uses the RS-485 interface. All serial settings such as baud rate, parity, data bits, stop bits, and flow control apply to these lines. For wiring configuration details for the RS-485 port in half-duplex mode, see B: Power Cable Schematic. The default serial settings:  Baud rate: 115200  Parity: None  Data bits: 8  Stop bits: 1  Flow control: None Serial Line Statistics Serial line statistics contain information on bytes, queued bytes, breaks, flow control, parity errors, framing errors, overrun errors, no Rx buffer errors, CTS input, RTS output, and DTR output. To view line statistics, go to Serial and select Serial 1 or Serial 2. Serial Line Configuration Note: Serial port 1 uses standard RS-232 interface and Serial port 2 uses RS-485 interface. To configure Serial line settings: 1. Go to Serial > Serial 1 or Serial 2. 2. Enter the line configuration settings. See Table 15-1. 3. Click Save & Apply. Parameters Name Enabled Interface Termination Table 15-1 Serial Line Configuration Description Descriptive name. Select to enable the line on the serial port. The interface of the Serial Port.  If Serial 1 is selected, the interface is RS232.  If Serial 2 is selected, the interface options are RS485 Full-Duplex (default) or RS485 Half-Duplex. Termination of the RS485 bus, if available. G520 Series IoT Cellular Gateway User Guide 198

  • 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
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225

G520 Series IoT Cellular Gateway User Guide
198
15: Serial
The G520 series gateways offer two serial ports. Serial port 1 uses a standard RS-232 interface
and Serial port 2 uses the RS-485 interface. All serial settings such as baud rate, parity, data bits,
stop bits, and flow control apply to these lines.
For wiring configuration details for the RS-485 port in half-duplex mode, see
B: Power Cable
Schematic
.
The default serial settings:
Baud rate: 115200
Parity: None
Data bits: 8
Stop bits: 1
Flow control: None
Serial Line Statistics
Serial line statistics contain information on bytes, queued bytes, breaks, flow control, parity errors,
framing errors, overrun errors, no Rx buffer errors, CTS input, RTS output, and DTR output.
To view line statistics, go to Serial and select Serial 1 or Serial 2.
Serial Line Configuration
Note:
Serial port 1 uses standard RS-232 interface and Serial port 2 uses RS-485
interface.
To configure Serial line settings:
1.
Go to Serial > Serial 1 or Serial 2.
2.
Enter the line configuration settings. See
Table 15-1
.
3.
Click
Save & Apply
.
Table 15-1
Serial Line Configuration
Parameters
Description
Name
Descriptive name.
Enabled
Select to enable the line on the serial port.
Interface
The interface of the Serial Port.
If Serial 1 is selected, the interface is RS232.
If Serial 2 is selected, the interface options are RS485 Full-Duplex
(default) or RS485 Half-Duplex.
Termination
Termination of the RS485 bus, if available.