My company has developed a Win-IoT based instrument for use in the bio-process market to measure process output. Each measurement result and supporting information is written to a line in a .csv file. We are working on creating a background app that will upload the latest data segment to a DeltaV network. We are considering using the Modbus protocol via TCP. Our goal is to create the most "universal" data transfer style possible that can transmit a line of up to 82 ASCII characters. As this is our first foray into this market, we have a limited understanding of data types and conversion functions that exist and might be considered "standard". For reference, a new line of data would be available no sooner than 4 minutes after the last line of data.
Could the Modbus ASCII protocol be used to send a line of .csv data directly? Everything I have read suggests that the Modbus RTU protocol is preferable to the Modbus ASCII protocol. One option we are looking at would be to use the onboard app to convert the ASCII characters to their HEX values, and use the first 41 Input Registers to transmit the HEX encoded ASCII data. Is there a function that can be used on the Client side to convert the HEX values back to ASCII characters for data storage? Is there an even better way?
For full disclosure, I also posted a similar question on the Life Sciences forum before I found this forum.
Thank you for your time and consideration.
John Barnacle
Andre Dicaire
In reply to Andre Dicaire:
In reply to John Barnacle: