Here are the specs.
a) one (1) UC400ETH controller (with licence).
b) one (1) HDBB2 breakout board.
c) four (4) M542 stepper drivers.
d) one (1) Sherline CNC mill with a CNC rotary table accessory.
e) Windows 7-64 running on an i7 at 3.4 GHz.
Electrically and mechanically it works. I managed to figure out the correct steps/unit and a reliable velocity ( about 12 units/min ) and the jogging controls work like a charm.
The jog controls work, both 'continuous' and 'step', for all four axes.
BUT - the UCCNC does not appear to work correctly when running a file. This is what I see happening.
1) The program runs, stepping through the G-code listing.
2) The yellow TCP marker in the toolpath view does not move. It stays on the 'home' position, even though multiple lines of G1 codes are rolling past.
3) When the end of the G-code is reached - nothing happens for about 30 seconds to 1 minute.
4) After this inexplicable delay, the TCP marker on the screen and the mill both move in a straight line from 'home' to the end position it should be in if it had run all the G-codes in the file.
One other really annoying thing. When I use the 'step' jog control. There is a large delay between hitting the jog button and movement occurring on the mill.
For tiny steps (.001) it is not noticeable.
For large ( 1 unit ) steps, the delay is on the order of 10 seconds.
For larger (2 or 3 unit ) steps, the delay will typically reach 40 to 50 seconds before the mill table starts to move. (Z axis has similar delays too.)
For reference, this is the simple test file that I wrote.
%
(FILENAME: test1.nc)
G17
S2000
G0 Z0.4
G04 P2
G1 F3.0
G0 X0.5 Y0.5
G1 Y-0.5
G1 X-0.5
G1 Y0.5
G1 X0.5
G4 P3
G0 Z-0.2
S0
(END)
(OF PROGRAM)
The only movement the machine makes, is to move in a straight line to X0.5 Y0.5 Z-0.2. But that occurs more than 30 seconds after it reaches the final 'S0' G-code.
So, any ideas as to what is happening?