beautypg.com

ProSoft Technology MVI46-GSC User Manual

Page 50

background image

MVI46-GSC ♦ SLC Platform

Reference

Generic Serial Communication Module

Page 50 of 78

ProSoft Technology, Inc.

December 5, 2007

Parameter

N-File
Location

M0:
Offset

Description

Port[0].RTermCnt

N10:10

10

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.

Port[0].RTermChar

N10:11 to
16

11 to 16 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.

Port[0].RPacketLen

N10:17

17

This parameter is used if bit 3 is set in the Type
parameter. The parameter sets the length of data
required to be received on the port before
transferring the data to the processor.

Port[0].RTimeout

N10:18

18

This parameter is used if bit 1 is set in the Type
parameter. The parameter sets the number of
milliseconds to wait after the first character is
received on the port before automatically sending
the data to the processor.

Port[0].RDelay

N10:19

19

This parameter is used if bit 2 is set in the Type
parameter. The parameter sets the number of
milliseconds to wait between each character
received on the port before sending the data to
the processor.

Port[0].RSwap

N10:20

20

This parameter specifies if the bytes received on
the port must be swapped before sending them to
the PLC processor. 0=No or 1=Swap bytes

Port[0].WTermCnt

N10:21

21

Not used in current release of product.

Port[0].WTermChar

N10:22 to
27

22 to 27 Not used in current release of product.

Port[0].WPacketLen N10:28

28

Not used in current release of product.

Port[0].WTimeout

N10:29

29

This parameter specifies the timeout period to
transmit a message out the port. A message must
be transmitted out the port within the specified
timeout period. Message transmission will be
aborted if the timeout is exceeded.

Port[0].WDelay

N10:30

30

Not used in current release of product.

Port[0].WMinDelay

N10:31

31

This parameter specifies the minimum number of
milliseconds to delay before transmitting a
message out the port. This pre-send delay is
applied before the RTS on time. This may be
required when communicating with slow devices.

Port[0].Wswap

N10:32

32

This parameter specifies if the bytes to transmit
must be swapped. 0=No or 1=Swap bytes