SO3 Function Test

From ShapeOko
Jump to: navigation, search

Connection

When launched, Carbide Motion 4 will load and allow one to connect to the machine:

CM4 screen notconnected.png

Carbide Motion 4 requires Grbl 1.1, and if connected to a machine running 0.9 will display the following error message:

CM error grbl version.png

Once connected, it will show:

CM4 screen jobinfo.png

If the machine fails to connect see http://docs.carbide3d.com/software-faq/can-t-connect-to-machine-or-jog/ or contact support@carbide3d.com

Screens

Carbide Motion 4 affords the following screens/options:

  • Info/Load (shown above)
  • Jog --- this will immediately require that one allow the machine to home if it has not yet
  • Run --- this is for running G-Code files, such as from a CAM program which have been loaded using Info/Load
  • MDI --- Manual Data Input --- this allows for direct control of the machine using G-Code or special instructions for Grbl
  • Settings --- allows one to select machine type, send the default configuration and open the Log window (in your default web browser)

Settings

Note that after re-flashing you must send the configuration data for your machine. If you have any customizations, make note of them before re-flashing and re-apply them afterwards.

CM4 screen settings.png

Log

The browser log window affords controls which allow one to start/stop new messages, and to selectively show / hide the settings.

CM4 screen log.png

Homing

When using Carbide Motion 4 the machine will want to home before sending a file or jogging the machine. The sequence for this is:

  • Z-axis will lift until it contacts and homes against the Z-axis switch --- if it moves downward, the Z-axis spindle carriage plate is likely installed upside down (the static pulley should be on the left)
  • the machine will move diagonally to the right (X-axis) and towards the back of the machine (Y-axis) --- if it moves forward instead, the Y-axis is reversed --- this may be easily addressed by powering down and swapping the Y-axis connectors on the controller. If it moves to the left, the X-axis is most likely mis-wired, see Direction Correction below
  • once it reaches to top-right-back corner it will home and back off the switches 4mm

MDI

Manual Data Input allows one to send commands directly to the machine.

When first started, before homing, the machine will accept the current position as machine origin, X0 Y0 Z0

CM4 screen MDI.png

One can interact with this to test the machine functionality. The command for a rapid movement, no feedrate required is G0 specifying a position will cause the machine to move to that position:

G0 Z10

and pressing Send

CM4 screen MDI G0Z10.png

should cause the spindle to lift by 10mm.

Function Test

For this test, it is best if one starts up the machine by resting it on a block a bit thicker than 10mm, and positioned so that the machine is at least 10mm away in each direction from the top rear right corner.

The assumption is the machine has just powered up, and that this position is X0 Y0 Z0, and that absolute coordinates are being used. Note that if a machine is at a position, and then told to move to that position when in absolute coordinates, no motion will result.

Movement

Sortable table
Command Direction and Amount of Movement from X0 Y0 Z0 Notes
G0 Z10 Upward 10mm (depicted above) For the Z-axis, up is positive, down negative as noted in the Glossary
G0 Z-10 Downward 10mm The machine will move down 20mm if currently at 10mm above 0
G0 X10 Rightward 10mm For the X-axis, right is positive, left negative
G0 X-10 Leftward 10mm
G0 Y10 10mm toward the rear of the machine For the Y-axis, away is positive, toward front negative
G0 Y-10 10mm toward the front

Homing

After verifying machine motion above, one can test the functionality of homing. This is easily done on the later board revisions which have lights to indicate homing switch activation. Once one has used the machine motion to determine which homing switch will be activated by movement along a given axis, one can manually press it to verify that it lights, and then examine the machine mechanically to verify that the switch will be the first part of the machine to contact along a given axis. If it isn't, then one should square or adjust the machine as needed (see Calibration and Squaring the Machine, or (last resort) add a small block for the switch to hit.

Direction Correction

For the Shapeoko 3, there are two axes which can easily be reversed electro-mechanically:

  • Z-axis --- mounting the Z-axis spindle carriage plate upside down will cause this axis to run in reverse --- the static pulley should be on the left when viewed from the front
  • Y-axis --- the two motors must counter-rotate to move the carriage --- if running in reverse, power down and swap the connectors

If the X-axis is running backwards, this is usually because it is miswired (but this can happen to any axis) --- all wiring extensions should be straight through, and all wiring connectors should be consistent, stepper motors may be reversed in several ways:

  • swap the left and right pair of wires
  • reverse the ordering of the wires in the left or the right pair
  • reverse all four wires

Do whichever is appropriate to match the other wiring connectors --- use a small tool to pop out the wiring lead pins and when reinserting them, make certain that they click into place.

The other possibility is Grbl is mis-configured, re-send the defaults or adjust as necessary.

Distance of travel

When the machine is first homed, it will back 4mm off the home position.

The NE corner is a further 5mm off that along the X and Y axes.

XL

On an XL, setting the SW corner as the origin yields the following positions:

NW = 0, 350 N = 405, 350 E = 810, 350
W = 0, 215 C = 405, 215 E = 810, 215
SW = 0,0 S = 405, 0 SE = 810, 0

Y0 is ~16.5mm in from the front edge of the wasteboard --- if Y0 is set there, then we have a wasteboard area of:

  • Width = 810mm
  • Depth = 366.5mm

See http://community.carbide3d.com/t/notes-on-rapid-positions-and-wasteboard-leveling/8131 for a C2D file. (Note that all positions are approximate / nominal based on where the machines pulley positioning grid lines up based on the setting of steps / mm for each axis)

XXL

>shapeoko 3 XXL, rapid position center, no offsets X=-415.000, Y=-355.000, rapid position SW X=-820.000, Y=-780.000, manually jog off front of table = X=820.000, Y=-845.000. [1]

Verifying Parts Functionality

This can easily be done by swapping parts around if only one axis doesn't work. Based on which axis is bad, and whether or no there are wiring extensions involved.

Always power down before swapping connectors.

Z-axis not working properly

  • Power down
  • Connect Z-axis motor (unknown if good or bad) to X-axis wiring extension (known good) to X-axis stepper driver (known good)
  • Connect X-axis motor (known good) to Z-axis wiring extension (unknown if good or bad) to Z-axis stepper driver (unknown if good or bad)

Connect and test the machine by jogging --- if the problem switches sides we know the motors are good, and the problem is in either the wiring extension or stepper driver.

Z-axis motor tests good

  • Power down
  • Connect Z-axis motor (tested good) to X-axis wiring extension (known good) to Z-axis stepper driver (unknown if good or bad)
  • Connect X-axis motor (known good) to Z-axis wiring extension (unknown if good or bad) to X-axis stepper driver (known good)

X-axis not working properly

  • Power down
  • Connect X-axis motor (unknown if good or bad) to Z-axis wiring extension (known good) to Z-axis stepper driver (known good)
  • Connect Z-axis motor (known good) to X-axis wiring extension (unknown if good or bad) to X-axis stepper driver (unknown if good or bad)

Connect and test the machine by jogging --- if the problem switches sides we know the motors are good, and the problem is in either the wiring extension or stepper driver.

X-axis motor tests good

  • Power down
  • Connect X-axis motor (tested good) to Z-axis wiring extension (known good) to X-axis stepper driver (unknown if good or bad)
  • Connect Z-axis motor (known good) to X-axis wiring extension (unknown if good or bad) to Z-axis stepper driver (known good)

Y-axis not working properly

This can be tricky to puzzle out since one motor can move the gantry --- usually best to connect, home, slacken/remove belts, attach bits of tape to the pulleys, then test.

Y1 not working properly

  • connect Y2 stepper driver (known good) using Y1 stepper driver extension (unknown if good or bad) to Y2 motor (known good)
  • connect Y1 stepper driver (unknown if good or bad) to Y2 stepper driver extension (known good) to Y1 motor (unknown if good or bad)

Y2 not working properly

  • connect Y1 stepper driver (known good) using Y2 stepper driver extension (unknown if good or bad) to Y1 motor (known good)
  • connect Y2 stepper driver (unknown if good or bad) to Y1 stepper driver extension (known good) to Y2 motor (unknown if good or bad)