Generic ASCII Transmit View

Use Generic ASCII Transmit view to configure parameters for transmitting ASCII data through serial module.
Generic ASCII Transmit View Example
Generic ASCII Transmit View Parameters
Parameter
Definition
Available Choices
Swap Mode
Determines how the data that is transmitted to the Serial port is arranged. The swap is performed before the module sends output data.
  • No Change (default)
  • Word Swap (ABCD → CDAB)
  • Byte Swap (ABCD → BADC)
  • Word and Byte Swap (ABCD → DCBA)
TIP: A, B, C, and D represent four adjacent bytes in the received/transmitted data.
Termination Mode
Determines the usage of the Termination Delimiters in the data.
  • Ignore End Delimiter (default) – The End Delimiters are ignored and all data in the ASCII.TxData[] are treated as ordinary data. The number of characters that are sent is based on Ox.ASCII.TxDataLength or 256, if Ox.ASCII.TxDataLength is 0.
  • Exclude – Select this option to use the End Delimiters to mark the end of data in ASCII.TxData when Ox.ASCII.TxDataLength is 0 but excludes the delimiters when data is sent to the serial interface.
  • Include – Select this option to use the End Delimiters to mark the end of data in ASCII.TxData when Ox.ASCII.TxDataLength is 0 but includes the delimiters when data is sent to the serial interface.
TIP: The End Delimiter is only applied when the tag OxASCII.TxDataLength is set to 0. When the Ox.ASCII.TxDataLength is greater than 0, the effective Termination Mode is Ignore End Delimiter.
Termination Delimiter 1
Specifies the channel's first Termination Delimiter. The Termination Delimiter is used to signal the end of the data.
  • For 7-bit data – $00...$7F
  • For 8-bit data – $00...$FF
Termination Delimiter 2
Specifies the channel's second Termination Delimiter.
  • For 7-bit data – $00...$7F and $
  • For 8-bit data – $00...$FE and $
If you enter $, it means that the Termination Delimiter 2 is not used.
Diagnostics
When the controller status is online, open the Diagnostics dialog to view the diagnostic counters for performance and error management with the Generic ASCII communication.
Select Diagnostics to see the diagnostic information of the Generic ASCII Transmit/Receive channel.
Generic ASCII Transmit/Receive Channel Diagnostics
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal