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
Next revisionBoth sides next revision
mycnc:mpg_through_binary_inputs [2019/11/11 09:29] ivanmycnc:mpg_through_binary_inputs [2019/11/14 12:51] ivan
Line 53: Line 53:
   * 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.    * 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. 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//:
 {{ :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 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}} +    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 pendant value 
 +{{:mycnc:encoders-011-x-soft.png}} 
 +  * The encoder resolution is hard-coded to be 65536. 
  
     * 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:     * 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:
Line 64: Line 66:
 {{: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 74: Line 76:
 {{: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.txt · Last modified: 2019/12/30 11:41 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki