Navigation

  • Page 1

    CNC USB Controller Mk2User manual2014-10-221

  • Page 2

    DisclaimerCONTROLLER AND CONTROLLER SOFTWARE ARE PROVIDED TO YOU "AS IS," WITHOUTWARRANTY. THERE IS NO WARRANTY FOR THE CONTROLLER AND CONTROLLERSOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PU...

  • Page 3

    1 Introduction1.1 OverviewThe PlanetCNC series of USB CNC motion controllers is link between a personal computer and motor drivers supporting step/direction control. PlanetCNC series of motion controllers are compatible with most motor drivers. The controllers use the USB port, available on all m...

  • Page 4

    1.2 Features and specifications:•USB (V2.x) from PC/Laptop running Windows XP, Vista, Windows 7, 8 or 8.1 (32 bit or 64bit)•motor driver connector pin-out is compatible with 10 pin open source interface (Linistepper, PICStep)•controller works with most step/dir stepper and servo motor drive...

  • Page 5

    •tool change procedure•tool length sensor support•sensor for capturing and measuring•digitizing probe support•transformation matrix•soft limits•slave axes•backlash compensation•API1.3 System RequirementsMinimum system requirements:•1 GHz or faster processor •512MB RAM•500 ...

  • Page 6

    2 Hardware2.1 InstallationInstallation of PlanetCNC CNC USB Controller requires a USB equipped PC or laptop along with motor drivers appropriate to the motors in use. The USB CNC controller is compatible with the vast majority ofmotor drivers that use step/direction signals. Optional support hard...

  • Page 7

    2.2 Mk2 - 9 axis CNC USB controller description7

  • Page 8

    2.2.1 Mk2 AXIS connectorEach connector controls one motor driver. Controller has 4 connectors for axes 1-4. Axes 5-9 use common connector described in next chapter. In total this means 9 axes which all can be moved at same time.Axes are usually named like this: Axis 1=X, Axis 2=Y, Axis 3=Z...On s...

  • Page 9

    2.2.2 Mk2 AXES 5-9 connectorThis connector controls up to 5 motor drivers. It can also provide an ENABLE signal to motor drivers that can take advantage of these feature.CONNECTOR PIN DESCRIPTION:+5V:+5V power. Motor drivers can take power for logic circuit or common anode connection from the USB...

  • Page 10

    2.2.3 Mk2 JOG connectorSwitched operation of JOG 1-8 controls manual jogging. Jogging keyboards can use a ‘SHIFT’ key, allowing Mk2 controller users to jog additional axes or togglethe option of jog ‘step’ mode. ‘SHIFT’ key function is defined in settings, as is the ‘step’ value f...

  • Page 11

    2.2.4 Mk2 LIMIT connectorLIMIT 1-8 connects limit switches. It’s recommended that a 100nF capacitor is connecteddirectly across switch terminals. The 'SHIFT' key toggles limit options using one of two possible configurations. The chosen configuration determines hardware connections. Limit switc...

  • Page 12

    SINGLE INPUT:Both axis limit switches are connected to one pin. Direction of travel determines if positive or negative switch is triggered.LIMIT 1: Axis 1 negative and positive limit.LIMIT 2: Axis 2 negative and positive limit.LIMIT 3: Axis 3 negative and positive limit.LIMIT 4: Axis 4 negative ...

  • Page 13

    2.2.5 Mk2 CTRL connectorThis connector provides inputs for use of MPG pendant devices and E-Stop.Spindle speed encoder for spindle synchronization can also be connected. GND pins provide ‘Ground’ or common connections.An E-Stop switch attached to this connector can be configured in software t...

  • Page 14

    2.2.6 Mk2 INPUT connectorThis connector provides input for user-assigned functions. CONNECTOR PIN DESCRIPTION:INPUT1:PauseINPUT2:StartINPUT3:StopINPUT4:E-StopINPUT5:Tool sensorGND: Ground connections14

  • Page 15

    2.2.7 Mk2 OUTPUT connectorThis connector provides 7 digital outputs for control of external devices. The optional ‘Output board’ links to the Mk2 controller using this connector. Output assignment is controlled in software. CONNECTOR PIN DESCRIPTION:OUT 1 - 7: Digital OutputGND: Ground connec...

  • Page 16

    2.2.8 Mk2 EXT connectorThis connector allows use of SD Card with Planet-CNC SD card adapter and I2C protocol devices. An inexpensive I2C LCD digital readout has been successfully prototyped, tested and documented.CONNECTOR PIN DESCRIPTION:SDMISO: SignalSDMOSI: SignalSDSSEL: SignalSDSCK: SignalI2C...

  • Page 17

    2.2.9 Mk2 POT connectorA potentiometer attached to this connector provides a manual jog speed control when using jogging keyboard connected to JOG connector.CONNECTOR PIN DESCRIPTION:+3.3V:+3.3V power supply for use with potentiometers. POT: 5k or 10k ohm, logarithmic taper potentiometer can be ...

  • Page 18

    2.2.10Mk2 USB connectorThe Mk2 USB CNC controller connects to computer via the USB port. The port uses the USB 2.x standard.2.2.11Mk2 Power terminalThe controller should be powered with an external power supply.Mk2 - 9 Axis controller hardware requires 8 - 24V DC supplyPower supply should be at l...

  • Page 19

    3 Connection diagrams3.1 Wiring of limit switchesMk2 controller has 8 designated limit switch inputs. In software you can set which wiring methodis used. You can use 'Normal' or 'Single Input' method of wiring. -When 'Normal' method is used, each axis limit switch has its designated limit pin. -W...

  • Page 20

    3.1.1 'Normal' wiring methodNO or NC type switches can be used. When NC type switches are used, 'Invert Limit' function must be enabled in software. Each limit switch is connected to its own input limit pin.20

  • Page 21

    'Normal' wiring method of limit switches* using Planet-CNC 16-pin adapter board:*On this picture only for axis one.21

  • Page 22

    3.1.2 'Single input' wiring method:3.1.2.1 Parallel wiring of NO type switches:22

  • Page 23

    Parallel wiring of NO type limit switches* using Planet-CNC 16-pin adapter board: *On this picture only for axis one.23

  • Page 24

    3.1.2.2 Serial wiring of NC type limit switches:24

  • Page 25

    Serial wiring of NC type limit switches* using Planet-CNC 16-pin adapter board:*On this picture only for axis one. 25

  • Page 26

    3.2 Wiring inputs of Mk2 controllerMk2 has 5 designated inputs for 'Start', 'Pause', 'Stop', 'E-Stop' and 'Tool Sensor'. Bellow is wiring diagram of tool sensor and Mk2 controller using Planet-CNC 10-pin adapter board.Pin description of 10-pin adapter board when connected to Mk2 Input connector:26

  • Page 27

    3.3 Connecting motor driver to Mk2 controller Wiring diagrams for COMMON CATHODE and COMMON ANODE connection of motor driver: *STEP input on motor drivers can be also labeled as PUL or CLK.27

  • Page 28

    Picture bellow demonstrates the connection of 2.5A Motor driver to Mk2 controller and connection of stepper motor and power supply to 2.5A motor driver. Since this motor driver uses 10-pin header and ribbon cable, connection is pretty much trivial:28

  • Page 29

    Picture bellow demonstrates connection of motor driver to Mk2 controller with screw type adapter and connection of controllers external power supply:29

  • Page 30

    3.4 Shielded cablesWe always recommend the use of shielded cables for wiring. Whether you are connecting limit switches, input switches, output devices, motor drivers or motors etc... The shielded cables should be properly maintained and set with insulated ferrules or crimp terminals. Picture bel...

  • Page 31

    Shield of the cable should be connected to GND only at the end which is connected to controllers input:31

  • Page 32

    Table of Contents1 Introduction........................................................................................................................................ 31.1 Overview.................................................................................................................

x