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 revision
Previous revision
Next revisionBoth sides next revision
mycnc:modbus_setup [2019/07/29 15:52] ivanmycnc:modbus_setup [2019/09/12 10:40] ivan
Line 7: Line 7:
 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 "RS485/Modbus communication"  +<code>NOTE: In order for the Modbus device to connect properly, the  
-checkbox should be UNCHECKED in the Config > Technology > Mill/Lathe > Spindle configuration dialog</code>+"RS485/Modbus communication" checkbox should be UNCHECKED in the  
 +Config > Technology > Mill/Lathe > Spindle configuration dialog</code>
  
 {{:mycnc:modbus-io-004.png}} {{:mycnc:modbus-io-004.png}}
Line 42: Line 43:
 Using the I/O Expand cards mapping window allows for a guaranteed signal delivery even if the Modbus device was turned off when the initial signal was sent (for example, when changing the Binary Outputs status from OFF to ON in the System Diagnostics window). However, a certain amount of latency (up to 100-200 ms) is introduced, as the system has to regularly loop through and check for the inputs/outputs on the Modbus device. Therefore, using I/O expansions via a Modbus device is recommended on systems which are less time-critical.  Using the I/O Expand cards mapping window allows for a guaranteed signal delivery even if the Modbus device was turned off when the initial signal was sent (for example, when changing the Binary Outputs status from OFF to ON in the System Diagnostics window). However, a certain amount of latency (up to 100-200 ms) is introduced, as the system has to regularly loop through and check for the inputs/outputs on the Modbus device. Therefore, using I/O expansions via a Modbus device is recommended on systems which are less time-critical. 
  
-**NOTE:** The latency becomes larger when more mapping devices are introduced, as the system loops through each such device one at a time. +**NOTE:** The latency will increase as more mapping devices are introduced, as the system loops through each such device one at a time. 
  
 ====Using Modbus through PLC commands==== ====Using Modbus through PLC commands====
mycnc/modbus_setup.txt · Last modified: 2020/07/03 11:26 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki