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 revisionPrevious revision
Next revision
Previous revision
mycnc:host_modbus_api [2019/07/29 15:48] ivanmycnc: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()
 { {
Line 111: Line 112:
 };</code> };</code>
  
-The WP9038ADAM Modbus device for which the previous example was written has the following digital/analog diagram+The specifications for the Modbus devices that are currently sold through the myCNC shop can be found here:  
- +[[mycnc:modbus_devices|Modbus Devices available]]
-Digital input diagram: +
-{{:mycnc:9038-digital-input-diagram.jpg}} +
- +
-Digital output diagram: +
-{{:mycnc:9038-digital-output-diagram.jpg}} +
- +
-Analog input diagram: +
-{{:mycnc:9038-analog-input-diagram.jpg}}  +
mycnc/host_modbus_api.txt · Last modified: 2019/08/01 15:26 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki