I have a 7 axis milling Heidenhain machine with X Y Z A B C W . the machine always works with X Y Z
A C axis(head-head machine). B axis is index rotate table. W axis is parallel the Z axis. in machine simulation use t X Y Z A C axis without B W axis (head-head machine) is good.
Actual the real machine can use W ,B axis to transform offset.
how to use W B axis setting offsets in CSE
the nc sample :
L W-999 FMAX M91
L B15.000 FMAX
CYCL DEF 19.0
CYCL DEF 19.1 B15.000
L W0 FMAX
L Y-1500. R0 FMAX M91
L A0.000 C-90 FMAX
L Z200 FMAX
L X0 Y0 Z0 FMAX
USE this nc command in simulation , machine can follow the offset to work, how to set W B axis offset in CSE.
Appreciate everyone's help.
Hope I got it right... W axis moves and sets with its programmed value an additional offset? Or is there an additional M code or subprog which handles this?
There are different ways to do this. One approach could be that you add the programmed W value to the current active transformation which includes the local offset values. This must be added to the W metacode.
If you want to learn more about offsets in cse I suggest to watch the available TechTip about it.
Thanks for your help.
I have some questions:
the position of machine with W AXIS(only X Y Z W axis) is running correctly .
the position of machine with X Y Z B axis is running wrongly .
this is my W axis set Metacode
I want to set machine with X Y Z B W axis position is correct ,how to set CSE ?
lets first concentrate on the CYCL DEF 19 problem without any W axis movements.
Have you filled the kinematic related global variables properly?
Thanks for your help。
I define the kinematic chain "A-C-Z-X-Y",and "A-B-Z-X-Y" ,without setting W axis with NC axis,
the position of machine is running correctly .
I have trouble
I only add W axis to NC axis, Other unchanged ,the position of machine is wrong.
how to define W axis to kinematic chain ？？
attach my simulation file
Appreciate everyone's help.
I looked into it and found out that the Inital Values were wrong.
I placed (for testing) the machine zero to top of the table and adapted the initial values that the origin of tool mount junction matches the machine zero junction. I don´t know which numbers you entered here but they didn´t fit together.
You can place the machine zero whererever you want but then you always have to ensure that the tmj and machine zero fit together. THIS IS A MUST! Independend which chain is active or how many chains you set.
Besides that I simplified the nc code a bit to concentrate on the actual function.
CYCL DEF 247 DATUM SETTING Q339=1 M552 CYCL DEF 19.0 CYCL DEF 19.1 B90.000 L B90.000 FMAX L X0 Y0 Z0 FMAX ;M550 L W100 FMAX L X0 Y0 Z0 FMAX CYCL DEF 19.0 CYCL DEF 19.1 B60.000 L B60.000 FMAX L X0 Y0 Z0 FMAX
NOTE: it is not necessary to create an extra chain with the W axis until this axis is not used for 5 axis simultaneos motions or plane swiveling.
My assumption was that the W axis is used to enlarge the Z range but is not used for the actual machining. When keeping this in mind I added the programmed W value to the transformation CYCL7_After19. This transformation can be used to add an offset when cycle19 plane is active.
The result is the following:
Hope that helps
Unfortunately is not possible to see the video.