User Tools

Site Tools


mycnc:mpg_through_binary_inputs

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:mpg_through_binary_inputs [2019/08/22 11:58] ivanmycnc:mpg_through_binary_inputs [2019/12/30 11:41] (current) ivan
Line 3: Line 3:
 Basic functions: Basic functions:
 {{ :mycnc:mpg_1.png?nolink |}} {{ :mycnc:mpg_1.png?nolink |}}
 +\
 ===== Mpg/Encoder throught binary inputs ===== ===== Mpg/Encoder throught binary inputs =====
   * To activate the MPG, it is necessary to check the box next to the MPG number:{{ :mycnc:2018-08-20_11-27-39.jpg?nolink |}}   * To activate the MPG, it is necessary to check the box next to the MPG number:{{ :mycnc:2018-08-20_11-27-39.jpg?nolink |}}
Line 31: Line 32:
   * If necessary, select the coordinate axis, which will be controlled by the MPG   * If necessary, select the coordinate axis, which will be controlled by the MPG
 {{ :mycnc:2018-08-20_11-30-32.jpg?nolink |}} {{ :mycnc:2018-08-20_11-30-32.jpg?nolink |}}
-  * Next we select the length of displacements with the help of an MPG. Number of movements in mm per pulse MPG:+  * Next we select the length of displacements with the help of an MPG. Number of movements in mm per pulse MPG. If using a software pendant approach while having selected a particular axis (for example, by using the hotkeys to switch the step size while only using the MPG wheel to control the X axis), you can enter ''soft'' into the Dimension field so that the length of displacements uses the software pendant value:
 {{ :mycnc:2018-08-20_11-31-02.jpg?nolink |}} {{ :mycnc:2018-08-20_11-31-02.jpg?nolink |}}
   * We set the resolving power of the MPG - the number of pulses per one revolution of the MPG   * We set the resolving power of the MPG - the number of pulses per one revolution of the MPG
Line 38: Line 39:
 NOTE: The ET7 controller has two encoder slot reserved for the ET7 keyboard panel. These are permanently assigned to inputs #16, 17, 18, and 19, and cannot be changed despite editing the Config window (the preset cannot be overridden). If encoder input slots are to be used on the ET7 board, the latter two slots (2 and 3) should be used. This preset is not present on the ET6/ET10/ET15 boards where encoder slots 0-3 can all be used.  NOTE: The ET7 controller has two encoder slot reserved for the ET7 keyboard panel. These are permanently assigned to inputs #16, 17, 18, and 19, and cannot be changed despite editing the Config window (the preset cannot be overridden). If encoder input slots are to be used on the ET7 board, the latter two slots (2 and 3) should be used. This preset is not present on the ET6/ET10/ET15 boards where encoder slots 0-3 can all be used. 
  
-===== Mpg/Encoder ET10 throught binary inputs =====+=====ET10 MPG connection through encoder inputs=====
  
-If you use the ET10 controller [[https://shop.pv-automation.com/et10/9-mycnc-et10.html]], you can utilize not only the MPG function, but also the dedicated encoder inputsto monitor the current position of any of the machine axes. In this way, it is not necessary to specify two binary inputs but rather one specific encoder input.  +If you use the [[https://shop.pv-automation.com/et10/9-mycnc-et10.html|ET10 controller]], you can utilize the dedicated encoder inputs instead of connecting the MPG wheel to the binary inputs of this controller. In this way, it is not necessary to specify two binary inputs but rather one specific encoder input.  
-  * To activate the MPG or Encoder, it is necessary to check the box next to required MPG/encoder number:{{ :mycnc:2018-08-20_11-32-57.jpg?nolink |}} + 
-  * After activation, you can select the encoder number on the controller for to specify which encoder will be operated {{ :mycnc:2018-08-20_11-33-05.jpg?nolink |}} +{{ :mycnc:encoders-013.png? |}} 
-  * It is also necessary to select the MPG function (MPG wheel/THC/Spindle Sync):{{ :mycnc:2018-08-20_11-33-34.jpg?nolink |}}+ 
 +  * To activate the MPG or Encoder, it is necessary to check the box next to required MPG/encoder number 
 +  * After activation, you can select the encoder number on the controller for to specify which encoder will be operated 
 +  * It is also necessary to select the MPG function (MPG wheel/THC/Spindle Sync):
  
 ^Functions^Discriptions^ ^Functions^Discriptions^
Line 50: Line 54:
 |Spindle Sync|Spindle control, via the analog output to control the spindle speed.| |Spindle Sync|Spindle control, via the analog output to control the spindle speed.|
  
-  * If necessary, select the coordinate axis which will be controlled by MPG +  * If necessary, select the coordinate axis which will be controlled by MPG. This will allow to move the machine along that axis when the MPG wheel is turned.  
-{{ :mycnc:2018-08-20_11-34-09.jpg?nolink |}} +  * Next we select the length of displacements with the help of MPG. This specifies the length of each movement per one click of the MPG wheel (turning by one mark). //Note that this number is IGNORED when using the ''Pendant'' option - the software value will be chosen instead//
-  * Next we select the length of displacements with the help of MPG. Number of movements in mm per pulse MPG: +    If using a software pendant approach while having selected a particular axis (for example, by using the hotkeys to switch the step size while only using the MPG wheel to control the X axis), you can enter ''soft'' into the Dimension field so that the length of displacements uses the software pendant value.  
-{{ :mycnc:2018-08-20_11-34-48.jpg?nolink |}} +{{:mycnc:encoders-011-x-soft.png}} 
-  We set the resolving power of the PGM - the number of pulses per one revolution of PGM +  * The encoder resolution is hard-coded to be 65536 (as of November 2019). 
-{{ :mycnc:2018-08-20_11-35-44.jpg?nolink |}} +
- +
-====ET10 MPG connection through encoder inputs====+
  
-The following diagram shows an example of an MPG wheel connection to the ET10 controller (encoder #5):+The diagram below shows an example of an MPG wheel connection to the ET10 controller (in this example, the MPG wheel in connected to the encoder input #5):
  
-{{:mycnc:et10-connection-encoders-mpg-001.png}}+{{:mycnc:et10-connection-encoders-mpg-002.png}}
  
-In order to set up this encoder to change some values within the software (such as jog overspeed, motion overspeed, etc), the user can go into Settings > Config > Inputs/Outputs/Sensors > Connections, and add a new connection or edit an existing one.+As already mentioned, axis jog control can be set up directly from the //MPG through binary inputs// settings window. In order to set up this encoder to change some values within the software (such as jog overspeed, motion overspeed, etc), the user can go into Settings > Config > Inputs/Outputs/Sensors > Connections, and add a new connection or edit an existing one.
   * In the **Source** field, select Encoder.    * In the **Source** field, select Encoder. 
   * For the **parameter**, type in some parameter 100-112 for fast encoders (0-16 is reserved for slow encoders). In order to check which particular encoder is used, the user can go into Settings > Config > Hardware > Encoders and note which encoder value changes as the MPG wheel is being turned. For example, for fast encoder #5, parameter 105 will be chosen.    * For the **parameter**, type in some parameter 100-112 for fast encoders (0-16 is reserved for slow encoders). In order to check which particular encoder is used, the user can go into Settings > Config > Hardware > Encoders and note which encoder value changes as the MPG wheel is being turned. For example, for fast encoder #5, parameter 105 will be chosen. 
Line 73: Line 74:
 {{:mycnc:mpg-encoder-setup-002.png}} {{:mycnc:mpg-encoder-setup-002.png}}
  
-This will allow us to use the MPG wheel connected to the encoder inputs to change a number of myCNC parameters. +This will allow the operator to use the MPG wheel connected to the encoder inputs to change a number of myCNC parameters of the fly by simply turning the MPG wheel handle
mycnc/mpg_through_binary_inputs.txt · Last modified: 2019/12/30 11:41 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki