Port parameters, Mvi71-gsc configuration parameters – ProSoft Technology MVI71-GSC User Manual
Page 22

MVI71-GSC ♦ PLC Platform
Installing and Configuring the Module
Generic Serial Communication Module
Page 22 of 82
ProSoft Technology, Inc.
January 31, 2008
Port Parameters
These parameters define the operation of each of the GSC ports on the module.
These parameters are contained in the configuration file at offsets 1 to 46. Care
must be taken when filling in this data area for successful operation of the
module in the user application.
MVI71-GSC Configuration Parameters
Backplane Setup
Block Offset
Parameter
Description
0
BPFail
This parameter specifies the number of successive transfer errors that
must occur before the communication ports are shut down. If the
parameter is set to zero, the communication ports will continue to
operate under all conditions. If the value is set larger than 0 (1 to
65535), communications will cease if the specified number of failures
occur.
Port 1 Setup
Block Offset
Content
Description
1
Enable
This parameter defines if this port will be utilized. If the parameter is
set to 0, the port is disabled. A value of 1 will enable the port.
2
Type
This parameter specifies the receive termination characteristics for the
port. This value is bit mapped as follows: Bit 0 = Termination
character(s) used, Bit1=Message timeout used, Bit2=Intercharacter
delay timeout used and Bit3=Packet size limit used. If the parameter is
set to zero, the port is placed in stream mode.
3
Baudrate
This is the baud rate to be used on the port. Enter the baud rate as a
value. For example, to select 19K baud, enter 19200. Valid entries for
this field include: 110, 150, 300, 600, 1200, 2400, 4800, 9600, 19200,
28800, 38400, 57600 and 115.
4
Parity
This is the Parity code to be used for the port. The coded values are
as follows: 0=None, 1=Odd, 2=Even, 3=Mark and 4=Space.
5
Data Bits
This parameter sets the number of data bits for each word used by the
protocol. Valid entries for this field are 5, 6, 7 and 8.
6
Stop Bits
This parameter sets the number of stop bits to be used with each data
value sent. Valid entries for this field are 1 and 2.
7
RTS On
This parameter sets the number of milliseconds to delay after RTS is
asserted before the data will be transmitted. Valid values are in the
range of 0 to 65535.
8
RTS Off
This parameter sets the number of milliseconds to delay after the last
byte of data is sent before the RTS modem signal will be set low. Valid
values are in the range of 0 to 65535.
9
Handshaking
This parameter specifies the handshaking used on the port. The code
values are as follows: 0=No hardware or software handshaking,
1=RTS/CTS hardware handshaking, 2=DTR/DSR hardware
handshaking and 3=XON/XOFF software handshaking.
10 Receive
Termination
Character Count
This parameter is used if bit 0 of the Type parameter is set. This value
(0 to 12) defines the number of termination characters used to define
the end of received message.
11 to 16
Receive Termination
Characters
This array of 12 characters define the termination characters at the
end of each received message. Each character occupies one position
in the array. The number of characters to be used in the array is set in
the RTermCnt parameter.