User Tools

Site Tools


mycnc:modbus_setup

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mycnc:modbus_setup [2020/01/27 11:55] ivanmycnc:modbus_setup [2020/02/06 10:34] ivan
Line 2: Line 2:
  
 This article is designed to introduce the reader to the myCNC Modbus setup, as well as serve as the main reference point for all myCNC Modbus documentation. This article is designed to introduce the reader to the myCNC Modbus setup, as well as serve as the main reference point for all myCNC Modbus documentation.
 +
 +//Note that on the ET10 control board, Port #1 (A/B) is used for all Modbus communication by default. Port #0 (A/B) is reserved for special purpose applications. Please contact the myCNC development team for implementing a special purpose application through port #0.// 
 +
 +====Low-level vs high-level access====
 +
 +
  
 ====I/O expand cards mapping==== ====I/O expand cards mapping====
Line 7: Line 13:
 The transparent mapping of Modbus inputs/outputs can be done through the **I/O Expand cards mapping** window in Settings > Config > Inputs/Outputs/Sensors. In this part, the focus will be on expanding the number of inputs/outputs in a standard myCNC controller using a WELLPRO Modbus device. This process provides the user with a way to easily add 8 more inputs and 8 more outputs per Modbus device connected, allowing to connect more peripherals to the myCNC controller. The transparent mapping of Modbus inputs/outputs can be done through the **I/O Expand cards mapping** window in Settings > Config > Inputs/Outputs/Sensors. In this part, the focus will be on expanding the number of inputs/outputs in a standard myCNC controller using a WELLPRO Modbus device. This process provides the user with a way to easily add 8 more inputs and 8 more outputs per Modbus device connected, allowing to connect more peripherals to the myCNC controller.
  
-<code>NOTE: In order for the Modbus device to connect properly, the  +<code>NOTE: In order for low-level access Modbus devices to connect properly,  
-"RS485/Modbus communication" checkbox should be UNCHECKED in the  +the "RS485/Modbus communication" checkbox should be UNCHECKED in the  
-Config > Technology > Mill/Lathe > Spindle configuration dialog</code>+Config > Technology > Mill/Lathe > Spindle configuration dialog
 +That checkbox is useful for high-level access only. </code>
  
 {{:mycnc:modbus-io-004.png}} {{:mycnc:modbus-io-004.png}}
Line 32: Line 39:
  
 ===Destination port=== ===Destination port===
-Destination port is the port to which the inputs are sent to. There is a number of assigned "virtual" ports in myCNC software which do not typically correspond to any physical ports on the controller itself. These virtual ports can therefore be assigned to the Modbus device for it to send its inputs to. In such a way, for Inputs expansion, the Source port can be set to 0 to correspond to the Modbus configuration, and the Destination port can be set to 2, 3, 4, etc in order to "fill" one of the virtual ports in myCNC software.+Destination port is the port to which the inputs are sent to. There is a number of assigned "virtual" ports in myCNC software which do not correspond to any physical ports on the controller itself. These virtual ports can therefore be assigned to the Modbus device for it to send its inputs to. In such a way, for Inputs expansion, the Source port can be set to 0 to correspond to the Modbus configuration, and the Destination port can be set to 2, 3, 4, etc in order to "fill" one of the virtual ports in myCNC software. Note that since the ET7, for example, has 16 inputs, the Destination port can be set to be 2 and above, while for the ET10 (which has 48 inputs) the virtual Destination ports start from 6 and above
  
 ===Input/Output behaviour switch=== ===Input/Output behaviour switch===
mycnc/modbus_setup.txt · Last modified: 2020/07/03 11:26 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki