beautypg.com

Ascii configuration – ProSoft Technology PLX31-EIP-SIE User Manual

Page 161

background image

PLX3x Series

ASCII Protocol

Ethernet and Serial Gateways

User Manual

ProSoft Technology, Inc.

Page 161 of 218

September 17, 2014

8.2

ASCII Configuration

In order for the ASCII driver to function, a minimum amount of configuration data
must be transferred to the gateway from the gateway's file system. Care must be
taken in constructing the gateway configuration parameters. If the gateway does
not function as expected, examine the configuration parameters using PCB
Diagnostics.

After setting up the configuration in PCB, download it to the gateway.

8.2.1 ASCII Port [x]

Parameter

Value

Description

Enabled

YES or NO

Specifies if the port will be used. If the parameter is set to
No, the port will not be used. If the parameter is set to Yes,
the port will be used supporting the ASCII protocol.

RS Interface

RS-232
RS-485
RS-422

Specifies the electrical interface for the ports.

Rx DB Start

-1
or
0 to 3896

Specifies the starting location in the internal database
where the received data will be stored. The buffer holds 130
words; however, the first three words of the data area
define the sequence number, last write byte count and the
Rx message length. If the parameter is set to -1, the port
will not receive data. Refer to

Receive Data

(page 154) for

detailed information on Rx data structure.

Tx DB Start

-1
or
0 to 3896

This parameter specifies the starting location in the internal
database where the transmit data will be stored. The buffer
holds 130 words; however, the first three words of the data
area define the sequence number, last write byte count and
the Tx message length. If the parameter is set to -1, the port
will not transmit data. Refer to

Transmit Data

(page 155) for

detailed information on Tx data structure.

Baud Rate

Various

Specifies the baud rate to be used on the port.

Parity

None
Odd
Even

Parity is a simple error checking algorithm used in serial
communication. This parameter specifies the type of parity
checking to use. All devices communicating through this
port must use the same parity setting.

Data Bits

7 or 8

Specifies the number of data bits for each word used by the
protocol. All devices communicating through this port must
use the same number of data bits.

Stop Bits

1 or 2

Stop bits signal the end of a character in the data stream.
For most applications, use one stop bit. For slower devices
that require more time to re-synchronize, use two stop bits.
All devices communicating through this port must use the
same number of stop bits.

RTS On

0 to 65535

Specifies the number of milliseconds to delay data
transmission after Ready To Send (RTS) is asserted.

RTS Off

0 to 65535

Specifies the number of milliseconds to delay after the last
byte of data is sent before the RTS modem signal is set
low.