Lantronix MPS100 EPS Reference Manual - Page 52

Serial Configuration

Page 52 highlights

Port Commands Ports To log into a port locally and Telnet to a remote host, set the port for local or dynamic access. To configure port access, use the Define Port Access command. Access must be configured with Define commands since the configuration is reset to the saved values every time a user logs in or connects to a service on that port. Figure 5-3: Configuring Connection Type Local>> DEFINE PORT 2 ACCESS DYNAMIC If a connection to a service is failing, check the port's access mode first. 5.1.2 Serial Configuration 5.1.2.1 Baud Rate The Server and attached serial device, such as a modem, must agree on a speed or baud rate to use for the serial connection. The default speed is 9600 baud. Other baud rates can be set with the Set/Define Port Speed command followed by a baud rate number. Figure 5-4: Changing the Baud Rate Local>> DEFINE PORT 4 SPEED 2400 5.1.2.2 Flow Control Flow control enables two connected devices to control the amount of data transmitted between them. When flow control is enabled on a Server port and a connected device (for example, a modem), it ensures that data sent from the sending device will not overflow the receiving device's buffers. The Server supports both hardware (RTS/CTS) and software (XON/XOFF) flow control. Hardware flow control is recommended. The two methods are described in the following sections. Note: The Server and the device with which it is communicating must agree on the type of flow control used. 5.1.2.2.1 Hardware Flow Control (RTS/CTS) When hardware flow control is used, the flow of data is controlled by two serial port signals (typically RTS and CTS). Two connected devices will assert and de-assert RTS and CTS to indicate when they are ready to accept data. For example, the Server will assert RTS when it is ready to accept data. When it can no longer accept data (its buffers are full) it will de-assert RTS. A connected device will monitor the assertion and de-assertion of this signal and will only send data when RTS is asserted. Along the same lines, a device will assert CTS when it is ready to accept data. When its buffers are full, it will de-assert CTS to tell the Server to stop sending. Note: Modem control only works with CTS/RTS flow control on the EPS1, EPS2-100, and EPS4-100. If you wish to use modem control on other models, you must use XON/XOFF flow control. 5-2

  • 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

Port Commands
Ports
5-
2
To log into a port locally and Telnet to a remote host, set the port for local or dynamic access. To configure
port access, use the
Define Port Access
command. Access must be configured with Define commands since
the configuration is reset to the saved values every time a user logs in or connects to a service on that port.
Figure 5-3:
Configuring Connection Type
If a connection to a service is failing, check the port’s access mode first.
5.1.2
Serial Configuration
5.1.2.1
Baud Rate
The Server and attached serial device, such as a modem, must agree on a speed or baud rate to use for the
serial connection. The default speed is 9600 baud. Other baud rates can be set with the
Set/Define Port
Speed
command followed by a baud rate number.
Figure 5-4:
Changing the Baud Rate
5.1.2.2
Flow Control
Flow control enables two connected devices to control the amount of data transmitted between them. When
flow control is enabled on a Server port and a connected device (for example, a modem), it ensures that data
sent from the sending device will not overflow the receiving device’s buffers.
The Server supports both hardware (RTS/CTS) and software (XON/XOFF) flow control. Hardware flow
control is recommended. The two methods are described in the following sections.
Note:
The Server and the device with which it is communicating must agree on the type
of flow control used.
5.1.2.2.1
Hardware Flow Control (RTS/CTS)
When hardware flow control is used, the flow of data is controlled by two serial port signals (typically RTS
and CTS). Two connected devices will assert and de-assert RTS and CTS to indicate when they are ready
to accept data.
For example, the Server will assert RTS when it is ready to accept data. When it can no longer accept data
(its buffers are full) it will de-assert RTS. A connected device will monitor the assertion and de-assertion of
this signal and will only send data when RTS is asserted. Along the same lines, a device will assert CTS
when it is ready to accept data. When its buffers are full, it will de-assert CTS to tell the Server to stop
sending.
Note:
Modem control only works with CTS/RTS flow control on the EPS1, EPS2-100,
and EPS4-100. If you wish to use modem control on other models, you must use
XON/XOFF flow control.
Local>> DEFINE PORT 2 ACCESS DYNAMIC
Local>> DEFINE PORT 4 SPEED 2400