Channel X - Generic ASCII Receive view parameters

Use the
Channel
X
- Generic ASCII Receive
view to configure the Generic ASCII Receive mode.
The
Channel
X
- Generic ASCII Receive
view includes these parameters:
Parameter
Description
Swap Mode
Determines how the data received from the serial port is arranged. The swapping is done after the device receives input data. Available options are:
  • No Change
    (default)
  • Word Swap
    (ABCD = CDAB)
  • Byte Swap
    (ABCD = BADC)
  • Word and Byte Swap
    (ABCD = DCBA)
Handshake Mode
Determines how the device passes the received data from the serial port to the controller. Available options are:
  • Master/Slave handshake
    (default). User logic increments the ASCII.RxID output tag to receive the next packet of data into the ASCII.RxData input tag.
  • Immediate
    . ASCII.RxID input tag increments indicating that the next packet of received data is available in the ASCII.RxData input tag.
Message Timeout
Specifies the receive timeout value (ms). The timer resets every time the device receives a new byte from the serial port.
Valid value is from 0 through 32767 ms. The default is 0.
Tip: Zero disables the message timeout.
Pad Character
Specifies the character that fills the remainder of the receive data buffer when the buffer is not full. Valid values are:
  • 7 bits $00-$7F
  • 8 bits $00-$FF
XON/XOFF
Enables and disables the flow control of the channel. Select the checkbox to enable the functionality.
When enabled, the device sends and receives the XOFF and XON characters to determine when to send and receive data to and from the serial port.
Tip: The availability of this parameter depends on the
Serial Media
and the
Duplex
selections in the
Channel
X
view.
Echo Mode
Enables and disables the character echo. Select the checkbox to cause the device to send immediately all bytes received from the serial port back to the device that sent it.
Tip: The availability of this parameter depends on the
Serial Media
and the
Duplex
selections in the
Channel
X
view.
Delete Mode
Determines the mode of the Delete character and affects the characters echoed back to the remote device.
  • Ignore
    (default). The Delete character is ignored and treated the same as any other character that is read in.
  • CRT
    . When the Delete character is encountered, the device echoes three characters (backspace, space, backspace) to the device.
  • Printer
    . When the Delete character is encountered, the device echoes the slash character followed by the previous character.
Read Buffer Size
Specifies the maximum length (in bytes) of the read buffer.
Valid value is from 1 through 256. The default is 256.
Start Mode
Determines the usage of the start delimiter in the data. Available options are:
  • Ignore Start Delimiter
    (default). The delimiter is ignored and treated as ordinary data.
  • Exclude
    . The delimiter is not in the data.
  • Include
    . The delimiter is always the first byte of the data.
Start Delimiter
Defines the character to signal the beginning of the data. All data received from the serial port before this value is disposed. Valid values:
  • 7 bits $00-$7F
  • 8 bits $00-$FF
Termination Mode
Determines the usage of the termination delimiters in the data. Available options are:
  • Ignore End Delimiter
    (default). End delimiter is ignored and treated as ordinary data.
  • Exclude
    . End delimiter is not included in the send data.
  • Include
    . End delimiter is searched and is always the last byte of the data.
Tip: The termination delimiter is only applied when Ox.ASCII.TxDataLength = 0.
Termination Delimiter 1
Specifies the channel's first termination delimiter. The termination delimiter is used to signal the end of the data. Valid values are:
  • 7 bit - $00 to $7F
  • 8 bit - $00 to $FF
Termination Delimiter 2
Specifies the channel's second termination delimiter. Valid values are:
  • 7 bit - $00 to $7F, $FF
  • 8 bit - $00 to $FF
Tip: To use only the first termination delimiter to signal the end of the data, set
Termination Delimiter 2
to
$FF
.
Diagnostics
When online, opens the diagnostics dialog box to view diagnostic counters for performance and error management with the Generic ASCII Receive/Transmit communication.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal