User Tools

Site Tools


mycnc:mpg_through_binary_inputs

This is an old revision of the document!


MPG through binary inputs

Main window: Basic functions:

Mpg/Encoder throught binary inputs

  • To activate the MPG, it is necessary to check the box next to the MPG number:
  • MPG - designed for manual control of the CNC without resorting to controlling the system from the operator panel. With the help of the control panel, the operator of the CNC machine can change the position of the axes, change the feedrate, adjust the spindle operation, set “0” and perform other operations while in close proximity to the workpiece.
  • MPG examples are shown below:
  • After activation, you can select the operating input numbers for the MPG on the controller - input1 and input2

input1: input2:

  • Timing diagram for the MPG signals:
}
  • It is also necessary to select the MPG function:

FunctionsDiscriptions
MPG wheelDirect control of the MPG
THC/Z axis offsetControlling the tracking (torch height control) while cutting with the help of an MPG
Spindle SyncSpindle control, via the analog output to control the spindle speed.
  • If necessary, select the coordinate axis, which will be controlled by the MPG

  • Next we select the length of displacements with the help of an MPG. Number of movements in mm per pulse MPG:

  • We set the resolving power of the MPG - the number of pulses per one revolution of the MPG

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

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 inputs, to 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.

  • 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):
FunctionsDiscriptions
MPG wheelDirect control of MPG
THC/Z axis offsetControlling the tracking (THC) while cutting with the help of an MPG
Spindle SyncSpindle control, via the analog output to control the spindle speed.
  • If necessary, select the coordinate axis which will be controlled by MPG

  • Next we select the length of displacements with the help of MPG. Number of movements in mm per pulse MPG:

  • We set the resolving power of the PGM - the number of pulses per one revolution of PGM

ET10 MPG connection through encoder inputs

The following diagram shows an example of an MPG wheel connection to the ET10 controller (encoder #5):

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.
  • 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 destination, select Item.
  • For destination parameter, input the parameter you require (for example, jog-overspeed)
  • Set K to 1, leave K0 blank.

The settings window should then look similar to this:

This will allow us to use the MPG wheel connected to the encoder inputs to change a number of myCNC parameters.

mycnc/mpg_through_binary_inputs.1566489537.txt.gz · Last modified: 2019/08/22 11:58 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki