I’m writing my own posts for a V2-10 on Kinetic Control 5.8.2 and want to get M428 right before I air-cut anything.
Penta’s TCPC page shows turning to G0 A45 B0, then the lead-in G6.2 X2 Y1.5 Z2 I1 J1 K0 P0, a plunge at P1 F20, then M428. The lead-in uses the A0 B0 numbers, not numbers converted for A45. So I read TCPC words as the part’s coordinates in G54 as it stands at A0 B0, with the control turning them with A and B.
For anyone who has run TCPC programs on a V2:
Does that match what you’ve seen? In particular, after M429, do the axes stay where TCPC put them?
Has anyone run M428 with G59.3 set by M254 earlier in the same program? Did it behave?
Any experience with a G54 touched off away from A0 B0 and then used under M428?
On a speed change mid-program (S… M3), have you needed a dwell before cutting?
G6.2 allows you to move individual axes to a coordinate in TCPC space while not in TCPC. This allows you to move in only X and Y and then plunge in Z before switching to TCPC mode. The axes don’t move when issuing M428 or M429. They only change the machine into or out of TCPC, with your current coordinates updating to match your physical location.
If you’re doing 3+2 machining for a tool path, M254 can be used to convert your current work offset (G55, G55, etc.) by rotating them by your current rotary positions and storing them in the specified work offset (it doesn’t have to be G59.3). This is the same math that TCPC performs continuously, but it does it just once when M254 is called and then the tool path should be commanded in only X, Y and Z (which align with the machine’s physical axes, rather than the part space).
You should only touch off at A0 B0 unless you know how to rotate those coordinates appropriately.
Thanks John, that clears up a lot, and G6.2 is the piece I was missing for getting into position before switching to TCPC.
Let me say back what I understood, so you can correct me:
M428 and M429 don’t move anything. Only the displayed coordinates change to match where the machine physically is.
TCPC does the same rotation M254 does, but continuously. So under M428 my X, Y, Z words are the part’s coordinates in the work offset as I touched it off at A0 B0, whatever A and B are at the time.
I touch off at A0 B0 only.
Three things I’m still unsure of:
A move that turns A or B under M428. For a G1 with X, Y, Z and A or B words together, does the tool tip travel a straight line on the part, between the two programmed points, while A and B turn evenly over the move? I check these moves for collisions, so I need to model the path between the endpoints the way the control does.
M428 after M254 in the same program. If an earlier 3+2 section set G59.3 with M254, should I switch back to the original offset (G54) before M428? My guess is yes, because otherwise the rotation would be applied twice, but I’d rather not guess.
Spindle speed changes. After a mid-program S… M3 to a new speed, does the control wait for the spindle to reach speed before the next feed move, or should I post a dwell?
I’ll run what I post through sim.pentamachine.com as well. Thanks again for taking the time.
Yes, it’s a linear interpolation of each axis. A and B determine the orientation of the tool, but the tip will be along the linear path toward the X, Y, Z position.
Yes, switch back to the original G5X offset prior to using M254 before using M428.
The control does not wait for the spindle to reach the commanded speed, but I’ve never seen a post add a dwell for that purpose. If you’re concerned about it reaching speed, you could add a dwell.
Thanks John, that answers all three. Good to have the linear interpolation confirmed: it matches what I see in sim.pentamachine.com, so I’ll model the moves that way. I’ll switch back to the original G5x offset before M428, and leave the dwell out unless I find I need it. Much appreciated.