Cancel
Showing results for
Did you mean:

# I have a problem want to everyone help to me!!

Solution Partner Pioneer

Dear all

I have a POST problem need help

when i have a 3+2 axis machine ,type is   table - head

Like it

my control is fanuc

when I want to go  " B "  =  90°   .  I want go to " X 、Y  "  first   ,second go to " Z"

But when I want to go " B " = 0~89° . I want go to " Z "  first , second go to "X,Y"

Hope you can give me some help ?

Thanks!   Very thanks !

6 REPLIES

# Re: I have a problem want to everyone help to me!!

Gears Phenom

why do you want to go first Z when operation is at some B angle?

Show part of your nc code.

Simple answer is output Z first / then post will output XY and omit modal Z.

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

# Re: I have a problem want to everyone help to me!!

Gears Esteemed Contributor

Would this be "initial / first move" only, or all rapid moves?

Does the machine have any coordinate system rotation options (G68 or ?)?

What I would do to accomplish your logic is to add a custom command to the rapid move event.

Add a call to the custom command BEFORE the "G0 X Y ..." blocks in the "Rapid" move event.

Test on mom_out_angle_pos(0) or mom_out_angle_pos(1)  (respectively, the 4th & 5th axes as defined in your post).

Note you may need more logic, e.g. for a vertical 3 axis mill,

- if you are going DOWN in "Z", typically you want to move "XY" then "Z"

- if you are going UP in "Z", typically you want to move "Z" then "XY"

-if you want "Z" first, "MOM_do_template cadex4_move_z"

-else use a "MOM_suppress once Z", then after the normal output, add a call to "MOM_do_template cadex4_move_z"

You may want to turn off "work plane change" option in the rapid move event as well.

Another option might be to over-ride "MOM_rapid_move" proc in the post and write your own logic (IIRC, that already has some testing for tool vs. machine axis)

But (as with the other poster) I would suggest you think through what you are asking.

Ken

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled

# Re: I have a problem want to everyone help to me!!

Solution Partner Pioneer

Sorry! I made a mistake  ~

Tilting surface B-1 ~ B-89 degrees, the first move to go X, Y, After go Z.

Lateral plane simply B-90 degrees, the first move to go Z, After go X, Y.

I send my POST  at attached file .

Can you give me a answer.   Thanks!

# Re: I have a problem want to everyone help to me!!

Gears Phenom

Just tell me why do you want first Z in second case.

Because if the spindle is on the left, so there is no need to output first Z and then XY.

Anyway if you want to do that just execute one Z move before XY.

Check attachment.

-------------------

Best solution is sequence:

-Plane function /cycle 19

-XY (this move do nothing, you are already there)

-Z (this move do nothing, you are already there)

--> and your first move will be always horizontal and then vertical

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

# Re: I have a problem want to everyone help to me!!

Solution Partner Pioneer

Dear sir

Because the actual position of my spindle above the workpiece.
when the spindle rotation 90 , the first move XY is dangerous

But I don't know how did you show it?

I only see a  Discriminant

Can you tell me how to do it??

Also I will test the best solution you give.

# Re: I have a problem want to everyone help to me!!

Gears Phenom

Because the actual position of my spindle above the workpiece.
when the spindle rotation 90 , the first move XY is dangerous

- when you move spindle on the left (x minus - maybe X0 M91 ) you have maximum space to position XY and then Z.

If angle is -89 - do you have enough space for XY and then Z? probably not.

I always position spindle on the left where it can be safely rotated and it is good position to reach first point of the path safely.

But I mentioned "best " solution - this could works. And you have not to move spindle on th left.

It will reach the position safely.

(*I forgot, Remember when you are using M128/tcpm reset mom_pos by mom_mcs_goto)

But I don't know how did you show it?

I only see a  Discriminant

Can you tell me how to do it??

I dont undestand what you want now.

You found  PB_CMD_your_z - ok

Template "your_z" is in the nc block tab where is every block stored.

This custom command PB_CMD_your_z is called in custom command PB_CMD_define_work_plane.

that is all.

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #