User Tools

Site Tools


mycnc:host_modbus_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mycnc:host_modbus_api [2019/08/01 15:05]
ivan
mycnc:host_modbus_api [2019/08/01 15:26] (current)
ivan
Line 51: Line 51:
 **Another read/write example for WP9038ADAM with digital inputs/​outputs and analog inputs** **Another read/write example for WP9038ADAM with digital inputs/​outputs and analog inputs**
  
-The analog inputs in this example are the holding registers, while the bits are the digital inputs and outputs which are dealt with through read/write commands. ​+The analog inputs in this example are the holding registers, while the bits are the digital inputs and outputs which are dealt with through read/write commands. ​The code is using a 3 ms delay in order to loop the timer and to allow the Modbus device to receive/​send all the necessary commands. 
 <code c>main() <code c>main()
 { {
mycnc/host_modbus_api.txt · Last modified: 2019/08/01 15:26 by ivan