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
Last revisionBoth sides next revision
mycnc:host_modbus_api [2019/07/29 15:45] ivanmycnc:host_modbus_api [2019/08/01 15:05] ivan
Line 15: Line 15:
 | GVAR_XMODBUS_READ | 5756 | Writing to this register initiates Modbus Read operation. \\ Written value is a Modbus Server Register address (for Read). \\ Writing to this register will clear READY_READ register (5753). The READ_READY register value will be set to "1" when Read completed successfully. The READ_READY register will be set to "-1" if Read Error happens | | GVAR_XMODBUS_READ | 5756 | Writing to this register initiates Modbus Read operation. \\ Written value is a Modbus Server Register address (for Read). \\ Writing to this register will clear READY_READ register (5753). The READ_READY register value will be set to "1" when Read completed successfully. The READ_READY register will be set to "-1" if Read Error happens |
 | GVAR_XMODBUS_ADDR2READ | 5761 | Writing to this Register sets **Address of Global register** to put a result of **Modbus Read** operation | | GVAR_XMODBUS_ADDR2READ | 5761 | Writing to this Register sets **Address of Global register** to put a result of **Modbus Read** operation |
-|GVAR_XMODBUS_READ_INPUT_BITS | 5763 | Read the input bits |+|GVAR_XMODBUS_READ_INPUT_BITS | 5763 | Read the input bits. This will read the digital inputs/outputs in the  |
 | GVAR_XMODBUS_READ | 5764 | Read Modbus register (specify the particular register to read such as 5764,0) | | GVAR_XMODBUS_READ | 5764 | Read Modbus register (specify the particular register to read such as 5764,0) |
  
Line 111: Line 111:
 };</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