GRBL + Gecko G540 Combo Wiring Diagrams

Wiring diagrams for 3Dtek specific GRBL + Gecko G540 Combo.

These may or may not be useful for other Gecko use cases.   Please contact 3DTek for any assistance wiring up or configuring these devices.



GRBL GECKO Power & ABB VFD Connections

GRBL GECKO – Stepper Motor Connections

GRBL GECKO – Limit Switches

Gecko, Cooler and controller Mounting

  • The Gecko G540 and Cooler are mounted and separated using standoffs.
  • The Cooler plate sits below the G540 on its shorter standoffs, with the fan’s sticker side facing the bottom of the G540
  • The Control Card is pressed onto the top of the G540 and holds its self in place firmly.
  • The cooler will be marked for either 12V or 12-48V connection.

Gecko Drive G540 and GRBL Gecko Controller Settings.

For reference, the G540 User manual.  Our implementation of this device overrides some of the information provided in the manual, for example, the motor current tuning and motor wiring.

Please ensure the charge pump switch on the gecko is turned off.

  • The GRBL Gecko controller has a trim pot for setting the current limiting of each stepper motor which are circled red in the image below. This takes place of the resistor to be soldered that is mentioned in the G540 manual.  Note that this is not smoothness tuning the trim pot mentioned in the manual.
  • There is also measurement point beside each trim pot marked in blue. The desired resistance measurement between the two terminals is 2.5 to 3kOhm.    If your motors are running overly hot then turn this down a little, if you are suffering from lack of power turn this up a little.
  • Lastly, an opening in the board to access the smoothness adjust trimpot, which can largely be ignored. see the gecko manual linked above for information on its use.


VFD Spindle Controller

The invertek E3 VFD has several important and several optional parameters to be set before attempting to operate.

Reference: E3 User guide


  • The VFD Wiring Diagram above is for your electrician!  240V wiring and VFD’s are so very dangerous, please don’t risk doing this yourself.
  • Your electrician is welcome to call 3Dtek with any questions
  • The supplied speciality VFD cable must be used
  • The Shielded braid of the VFD cable should be connected to the PE (earth) on the VFD along with wire 4 to achieve best noise suppression.
  • The VFD that this is potentially a very dangerous device that is designed to be commissioned by a licensed electrician. The image below shows the separation of Low and High voltage, ie which parts are safe for user access and which are not.
  • Regardless of the fact you may not be intending to come in to contact or modify the high voltage areas of the device – they are there and accessible! And so ask the electrician to program and complete the entire setup so that you have no reason to interact with this device.  Any wiring changes to the VFD must be done after ensuring the machine has been isolated from the power for 10 minutes.


Configuring the E3

The following information configures the E3 for 3DTeks standard use case and this information may not be appropriate for other uses.

The following diagram describes the control pad functions of an E3 inverter, as described in section 5 of the manual:

To program any parameter, press and hold the navigate button for a few seconds, at which point the keypad will display the last parameter configured, initially 1.

You may use the up and down arrows to skip to a new parameter and a short press of the navigate button to enter and exit a parameter.

For example, to set our first and most important parameter P-08 (Motor Rated Current):

  1. Long press on the navigate button to enter programming mode
  2. up or down arrow until P-08 is displayed
  3. a short press on the navigate button to enter into this parameter
  4. up or down arrow to set the desired motor rated current, as displayed on the spindle it’s self  (10.0 for the 2.2KW spindle)
  5. then a further short press of the navigate button to exit this parameter – our new value is saved at this point.
  6. Another long press of the navigate button to exit programming mode altogether.


Standard Parameters for the VFD

  • P-09: 400
  • P-10: 24000
  • P-08: See spindle for Rated Current – CAREFULL!! Must be set before applying power or spindle could be damaged!
  • P-07:220
  • P-12: 0
  • P-14: 201
  • P-15: 4
  • P-18: 8
  • P19: 15
  • P-30: Auto-0
  • P-51: 1
If you get and “L” flash up on the VFD while setting any parameters, please momentarily disconnect the wire from terminal 1 whilst making the parameter updates and reconnect when finished.


Speciality VFD cable should be used and its shielding should also be terminated to the VFD’s PE Ground Terminal.

Once the above is complete, complete steps 1 through 4 of the software setup steps, and return here to test the motor as per below.

Unlock the machine by clicking unlock as circled below.

In the UGS platform console (also circled above) issue the following commands


Then hit enter.  S10000 means 10,000 RPM.


Then hit enter. M3 mins spindle on clockwise. The spindle should now be running.


Then hit enter.  M5 means spindle stop.

As the spindle is slowing to a stop, check that it is spinning clockwise when looking from above, should it not be any two (only) of the U, V, or W outputs that the spindle cable is connected to can be swapped to change the direction.

Before running any cutting jobs, please ‘run in’ the spindle to allow the bearings to seat under no-load conditions. 
The ‘run in’ procedure is as simple as operating the spindle for 5 minutes each at 5000 RPM, 10000RPM, 15000RPM & 24000RPM.

Should the spindle not follow these commands, please contact 3DTek for troubleshooting.