Verification: 937b329de42152d7

Friday, December 14, 2018

Millplus IT, DMG DMU80T, G7

Change work plane in 4 and 5 axis machines

This is totally new to me, I have to use the machine on and off in a couple of years but never had the energy to take the G7 function to my mind.
It can be a big deal to handle especially on the machine with a rigid table, indexing mill head, and rotating C-axis..
This indexing spindle head can be turned 0 to -90 degrees only.
With the G7 function, you can order the machine to mill/drill of the opposite face of the part where the milling head can not reach. The smart head of the machine knows that it needs to repositioning the C-axis to reach the face automatically, brilliant, I know. Then comes the question, what happens to the zero point, axis and axis directions, and so on.

I will show an easy method to start with the top plane on the workpiece and change to the nearest plane (Right side/ X-) and what happens to the axis and axis directions.

The program
G54 I97
T12 M6 (drill)
S1000 F200 M3
M57 (on our machine, unlock head angle over -31deg)
G0 X10 Y10 Z10 (positions before)
G1 X0 Y0 Z0 (touch the Zeropoint with the tool)
G0 X-100 Z100 (safe position before Indexding the head)
G7 B5=-90 L1=2 (turn the coordinate system to the side of the workpiece)
G0 X10 Y10 Z10 (position before)
G1 X0 Y0 Z0 (touch the same zero on the right side of the workpiece)
G0 X100 Z100 (Go up in X+ and to the right in Z+, Wierd?)
G7 L1=1 (Leave G7, see the late comment down below)

The machine axis, C-axis is the table, not the spindle and I've got no A-axis..

The machine has been programmed to turn the tool from top zero to X- side zero on the edge
It should simulate drilling on the top and the 90 degrees X- side according to the picture

The video will show that  the program will meet the zero point from 0deg and -90deg

As you see on the video, the G7 L1=1 just angle the head to zero and I was ½inch from killing my expensive tool laser unit at the end of the video. Try G7 G5=0 L1=1 instead (or L1=2) for keeping the zero on the tool edge.
Be safe, mistakes cost a lot and the wise man does not know everything.

A picture showing the zero position in -90deg, the corner is the zero point

Charming G-code, no doubt on that.
But the machine make the wierd stuff, When you are in the -90deg, the axis shifts.
You got the Z- axis right in to the workpiece (pic). thats our old (real) X+
Our new X is our old Z, you got X+ for tool up from the table and X- for tool down to the table, Y stays the same.
I've learn from a wise man that if you go from the top of the workpiece to the left/X-side, just tilt the workpiece that way in your mind, then the axis makes sense, tilt your computer to the right and you see it. the workpiece zero points is the same all on the workpiece.

still learning on this.
Is the example hard to understand? yeah, it is and I made this most to understand it myself.
Please leave a comment if you got issues with it, you can help me change the content so it will help anyone who needs the instruction in the best way.

All this made in a Dekel Maho DMU80T

Nice weekend ppl

1 comment:

  1. nice blog and This is informative post! ,There are many vacancies for CNC programmers in the recent job market and it is expected to increase in the future. Thus, there are many benefits completing a CNC programming course and, so you have to learn CNC programming from a reputed CNC Programming Course in Chennai, where they are providing the best training.