There is a question in Post Builder. The machine type is Horizontal Table-Table BC.
C value is not output to normal value in drilling process where C axis and B axis are rotated.
I have referenced and modified sim08_mill_5ax.
The value of the rotary axis differs only in the drilling process.
Please give a lot of advice.
show pictures of your rotary axis definitons in Postbuilder.
(plane of rotations and ranges)
to your first picture:
-do you use main and local mcs?
-G00 B C - do you have mom_out_angle_pos in B and C?
Because it looks like BC respects the rotation of mcs
mom_out_angle_pos should respect angles to local mcs.
I am not sure but in some output you should have csys rotation and translation.
And we see some *additional rotation of operation tool axis vector (represented by mom_out_angle_pos).
Be carefull how machine control works.
I am not familiar with using main + local mcs.
Or you can only translate local mcs to main and then output BC angles of tool axis to local mcs (mom_out_angle_pos)
The currently set environment is as follows.
When one drilling process is created, it is output as the correct value.
However, many drills are difficult to create TRANS LOCAL coordinates.
So I want to process multiple holes in one TRANS value coordinate.
The XYZBC coordinates do not match.
Is it possible to output a process that can process several holes in one operation?
If there is any way, please help me.
I think it is as I told you.
First rotation you get is rotation of main mcs to local mcs - B90 C13.33
Computed by trigonometry from csys matrix. (look at set_csys custom command)
I see correct angles.
Rotations you have with hole coordinates are angles of tool axis vector to your local mcs only. (mom_out_angle_pos - look at fourth and fifth axis addresses.)
B13.33 C90, B26, B40, B46.., B66.. angles are correct too.
It depends how control works - I think it wont accept B..C.. angles as additional angles after first rotation/ csys rotation.
(I am sorry if I am wrong with this, but angles looks like that.)
(You can share your part+postprocessor if you want and we will see )
I am not familiar with your setup I see on your picture - main mcs, local mcs and variable axis type path in use.
1.Solution - use only one mcs in the middle of the part.
2.Or worse one - use local mcs in every hole position with Z pointing up from the hole.
Create operation for each hole with Zm+ tool axis.
It means multiple mcs and multiple operaions - mcs + operation for each hole. :/
Thanks for the advice.
I want to output the values of mom_pos and mom_out_angle_pos based on CSYS LOCAL coordinates, not MCS coordinates.
As mentioned above, only the rotation value which is transformed to the initial CSYS LOCAL is outputted, and then the coordinate value is outputted based on the MCS. That is, it should be outputted as C13.33, C26, C40, C46 .., C66 .. instead of B13.33 C90, B26, B40, B46 .., B66 ..
(MCS - I mean coordinate system.)
That is, it should be outputted as C13.33, C26, C40, C46 .., C66 .. instead of B13.33 C90, B26, B40, B46 .., B66 ..
- you cant get C, look at your local mcs, where is pointing Z. Moving to second hole needs only tilting in B.
Try to translate local mcs from main mcs, not rotate.
Then should be C rotation outputed.
And again I really dont know if code will work, because for translating and rotating you need some transfomation functions, tcpm, csys rotation.