Article - CS333058

Descriptions of the ASCII, ASCII Hex, and Binary Data Protocols

Modified: 02-Nov-2020   


Applies To

  • Kepware Server (formerly KEPServerEX) 5.19.467.0 to 6.8
  • ThingWorx Kepware Server (legacy) 8.0 to 8.4

Description

Descriptions of the protocols are as follows: ASCII Protocol: Each byte is a character. For example, if the byte sent was 0x35, it would be ASCII character 5. ASCII Hex Protocol: Two bytes are used represent a single character. For example, if the device sent 0x33 and 0x35, they would be combined as 0x35 (or the ASCII character 5). Binary Data Protocol: Each byte is the sum of the bits that are set within. For example, for the bits 00000101, the byte value would be 0x05. The decimal value would be 5.
This is a printer-friendly version of Article 333058 and may be out of date. For the latest version click CS333058