Kepware Knowledge Base: Solution
Descriptions of the ASCII, ASCII Hex, and Binary Data Protocols
Last Update: 11/7/2018
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.
©
2019
PTC Inc. All Rights Reserved.