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 revision Previous revision
Next revision
Previous revision
mycnc:mpg_through_binary_inputs [2019/08/23 09:49]
ivan
mycnc:mpg_through_binary_inputs [2019/11/11 09:34] (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 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 |}}   * 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 |}}   * 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 |}}
Line 50: Line 51:
 |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 |}} {{ :​mycnc:​2018-08-20_11-34-09.jpg?​nolink |}}
   * Next we select the length of displacements with the help of MPG. Number of movements in mm per pulse MPG:   * Next we select the length of displacements with the help of MPG. Number of movements in mm per pulse MPG:
 {{ :​mycnc:​2018-08-20_11-34-48.jpg?​nolink |}} {{ :​mycnc:​2018-08-20_11-34-48.jpg?​nolink |}}
-  * We set the resolving power of the PGM - the number of pulses per one revolution of PGM +  * We set the resolving power of the MPG - the number of pulses per one revolution of MPG. Note that since this number will be counting not the number of clicks (for example, 100 clicks/​markings around the MPG wheel dial), but rather the number of pulses sent by going through one full rotation of the MPG wheel. Therefore, this number is typically found by taking the number of markings/​lines for one full rotation of the MPG wheel and multiplying it by 4 (for example, 400 pulses for 100 clicks). ​{{:mycnc:encoders-007-mpg-0.png}} 
-{{ :mycnc:2018-08-20_11-35-44.jpg?nolink |}}+
  
-====ET10 MPG connection through ​encoder ​inputs====+    * This is different from encoder ​setup in the Settings > Config > Hardware > Encoders section. In here, it is the number of lines/​markings on the MPG wheel for one full rotation that must be specified, as opposed to the number of pulses. Therefore, you would put ''​100''​ if your MPG wheel had 100 lines in this section: 
 +{{:​mycnc:​encoders-005-config-0.png}}
  
-The following diagram shows an example of an MPG wheel connection to the ET10 controller (encoder #5):+The following diagram 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-002.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) or to jog axes, 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 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 us to use the MPG wheel connected to the encoder inputs to change a number of myCNC parameters ​of the fly
mycnc/mpg_through_binary_inputs.1566568176.txt.gz · Last modified: 2019/08/23 09:49 by ivan