HOME Machine Specs
Motor Info
User Apps
Part List
Software Info
User Forum
Software - Getting Started
Windows Setup      Running LoboCNC.exe     Break-in and Calibration               PSCNC Machine Control Program
 lobopscnc.zip (C++ source included)
PSCNC.exe is a G-code interpreter/machine controller application written for use with the S3x3 motor controller board.  It is a modified version of the PSCNC.EXE program developed by JEFFREY KERR, LLC for PIC-SERVO type controllers.  PSCNC.exe cannot be used with traditional stepper motor controllers.  If you are using the S3x3 board in Step & Direction mode, or if you are using traditional stepper drivers, please see the User Apps page.

Windows (XP thru Win7) and Hardware Setup for PSCNC.EXE
1. Make sure the power switch is OFF on the controller box.
2. Plug the 24v power supply into the wall and into the power jack on the controller box.
3. Connect  an A/B style USB cable to the controller box and to a USB port on your PC.
4. Turn on the power switch on the controller box.  Windows should detect a new device and install the proper driver.  If not, you may need to download the Virtual COM Port driver from http://www.ftdichip.com/Drivers/VCP.htm .
5. Once the driver is installed, run the Device Manager (accessed in different ways, depending on your version of Windows).  In the list of devices (under Ports - COM and LPT) you should see a "USB Serial Port" listed.  Double-click on the port and go to the Port Settings tab.  Then click the "Advanced..." button.
6. Make the following changes:
    - Change the COM Port Number to COM5 or COM6 (ignore warnings that the port may be in use)
    - Change the Receive buffer size from 4096 to 64
    - Change the Transmit buffer size from 4096 to 64
    - Change the Latency Timer from 16 to 8
You are now ready to run the LoboCNC machine control software.  Note that as long as you don't switch which USB port the controller box is plugged into, all of these port settings will be retained  whenever you turn on the power.
Running PSCNC.exe
1. Download lobopscnc.zip.  Unzip this file into a single folder labeled LoboCNC.  No formal installation is necessary.  Review the PSCNC.PDF documentation before proceeding.
2. Locate the file pscnc.ini in the LoboCNC folder.  Edit this file using the Notepad editor and change the COM Port parameter from the default of COM5:  to whatever value you set in Step 6 above.
3. Before running PSCNC.exe it is recommended that you close all other applications to avoid causing delays in the operation of PSCNC.exe while machining.  It is also recommended that you turn off networking to keep keep Windows from trying to install updates while you are machining.
4. Now run PSCNC.exe.  The machine control panel shown will be displayed.
5. When prompted, turn the controller box power if it isn't already on.
Lobocnc.exe screen
6. You'll next be prompted to home the milling machine.  This process slowly moves each axis and bumps into  the hard stop at one end of the range of motion.  No limit switches are required for homing.  If one of the axes stops before hitting the end stop, it means there is some excessive binding in drive screw.  Go back and adjust the assembly before proceeding
7. Turn each of the handwheels by hand and verify that the X, Y, Z position display indicates the changed position.
8. Left-click on each of the jog control buttons to move each axis under computer control.  Left-clicking moves each axis at the jog speed set by the slider bar.  Right-clicking the jog control buttons will move at the maximum axis speed - use caution!
9. Read the PSCNC.PDF documentation thoroughly before attempting any machining projects.

Break-in and Calibration

Break-in: Before using your milling machine, it is a good idea to break in the drive-screws and nuts to smooth out any rough spots.  The simplest way is to run PSCNC and then right-click on the jog buttons to run each axis back & forth through their entire range of motion.  Doing this 10 or 15 times for each axis is probably sufficient.  Afterwards, re-apply grease to the drive screws and drive back & forth a few times to distribute the grease evenly.

Calibration: Your the 1/4-20 drive screw will most likely not have exactly 20 threads per inch, but the exact pitch should be pretty consistant withon each screw.  To determine the exact pitch, put a tool in the router collet which has an accurate point on it that you can usef for reference.  Then place an object of exact know length on the table.  Measure the object using X, Y or Z display and using the pointy tool as a reference.  Find the ratio of the exact length to the displayed length.  Do this for all 3 axes.  In the pscnc.ini file, there are 3 parameters: xscale, yscale and zscale, which are the number of encoder counts per inch of travel (nominally 32000 for each axis).  Adjust each of these values by the determined ratios so that the length as measured wiht each axis matches the known length.