Do you need to write firmware in C for a Modbus RTU Slave device but do not know where to begin? This book takes you through the entire design process by describing the highlights of a robust, fully functional design. All aspects of the design are covered, including data structures, data flow modeling, command parsing and execution, exception processing, and detailed timing. The approach here is not cookbook but seeks to transfer knowledge of the inner workings of Modbus through a "thinking out loud" process. The user ...
Read More
Do you need to write firmware in C for a Modbus RTU Slave device but do not know where to begin? This book takes you through the entire design process by describing the highlights of a robust, fully functional design. All aspects of the design are covered, including data structures, data flow modeling, command parsing and execution, exception processing, and detailed timing. The approach here is not cookbook but seeks to transfer knowledge of the inner workings of Modbus through a "thinking out loud" process. The user interface is based on a high-level model of simply reading and writing user variables. This approach decouples the user's interface from the low level Modbus-related functions implementing the Modbus commands. This stands in contrast to the common approach of assembling together a number of Modbus functions and then requiring the user to write additional code to integrate the user's code with the Modbus functions.
Read Less