by mrprecise » Sun Jun 11, 2017 4:13 pm
I have been using 4th axis for many years, and it behaves in strange ways in the three different systems I own. It is always wise to do a dry run with no tool in the spindle for starters.
In the situation here, I would post a short dwell after the A rotation command. The command following the A rotation should not start until after the dwell period, which could be a 1 or 2 seconds. It it does move before the A rotation is finished with a dwell inserted, "we have a problem."
Looking at the code, I would think is would not move Z until the previous line completed.
Another option is insert a stop command, M1, to be totally safe. Go to Z clearance, rotate A axis, Stop, Continue progam.
Also, there does not seem to be a place to input the 4th axis material part radius in UCCNC yet, or else I have not found it. This has a great affect on the cutting speed if the tool is cutting with X,Z, A moving simultaneously. The feedrate will not be the same as a cut in X and Y making a vector cut.
Debugging programs using X,Y, and A is a huge time sink, as opposed to a flat plane with no 4th axis of rotation.
John