title: Modbus RTU Implementation in embedded C
body: <p>My question would be weird so I do apologize for that. </p>
  
  <p>I am going to implement Modbus RTU Master in an electronic device Called "DiGi Module Connect Me 9210". From this device I will request some data from PIC, data like Nodes and Temperatures and Some other data. I just want to Implement FC 04/03/16 in my device.</p>
  
  <p>The Digi Module is an electronic device so for this purpose I am going to create C# GUI to request data from the PIC Using GUI via DiGi Module because Digi will be connected with PIC using Modbus RTU Protocol. And after getting the data in Digi we will send that data on cloud using REST APIs.</p>
  
  <p>From GUI to DIgI I will have TCP/IP and from DIGI to PIC I will have Modbus RTU and between Cloud and DiGi I will have REST APis.</p>
  
  <p>I want to strip out my data in C# so I will just send request from the GUI to PIC via DIGI (so my DIGI would a bridge between GUI and PIC) to configure the node or get node data from PIC. I have to read almost 9999 registers in one go using 80 request or something else to get the data from 3X / 4X registers. Now the questions are.</p>
  
  <p>☺ How to implement Modbus RTU in a device or a system.?</p>
  
  <p>☺ How can I read all the 9999 registers via GUI because I might want to read all the RunTime data from the 3X registers.?</p>
  
  <p>☺ How can I write/Read all the 4X registers in one shot as well.?</p>
  
  <p>We are also implementing the paging technique so it means that page 0 will have 9999 registers and then page 1 will have 9999 registers. So if I want to read temperatures I have to go to page 0 and read the registers and if I want to read Speed values I have to go to page 1 and check all the registers.?</p>
  
  <p>The GUI would look like some thing</p>
  
  <p>User will add Node Number and then Temperature and Submit the request.</p>