Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

More
1 year 6 months ago #326344 by Aciera
There isn't really a 'dev-team'. The vismach feature was added years ago by interested users. The documentation was written up some years later by somebody else who was not involved in creating the feature.
If you have the knowledge to prepare a pull request for what you have in mind then I'm sure there would be a fair bit of interest but if you hope for somebody else to do the programming then the chances are fairly slim.

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #326345 by jochen91
I think you identified to problem :) By trade I'm a power electronics engineer... so my programming skills are... well they can only be improved :)
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #326404 by jochen91
I'm working on the Vismach implementation and while playing around i realized, that when i move the Y axis the X axis moves as well. So for so good. But the X-coordinate in Axis does not change.
Code:
(Forward Non TCP) pos->tran.x =   j[0] + j[1] * cos(angle); pos->tran.y = - j[1] * sin(angle);
Code:
(Inverted Non TCP) j[0] =   pos->tran.x + pos->tran.y / tan(angle); j[1] = - pos->tran.y / sin(angle);


Note:
X on the Mazak is head up and down in
Z on the Mazak is table left and right

But shouldn't it change? Why doesn't it ?

Kind regards,
Jochen

 

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago - 1 year 6 months ago #326409 by Aciera
It's important to keep in mind that joints (machine movement) and axes (DRO values) are not the same thing. As the X axis is supposed to be perpendicular to the Y axis it would be somewhat strange for the X value to change when moving along Y.
Also note that the forward kinematic is only used to calculate the axis values from the joint home position right after homing and probably when switching kinematics. After that only the inverse kinematic model is used to calculate the joint positions for given axis values.
Last edit: 1 year 6 months ago by Aciera.
The following user(s) said Thank You: jochen91

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #326531 by jochen91
Hi Aciera,

thank for the input. Today I started to configure vismach, when i realized that my TCP moves seem off by quite a bit. Which leads me to the following questions:

With the Mazak Z axis is lying horizontal and X standing vertically. -> So i switched X and Z in my vismach model and everything's fine. But in TCP i realized that if i switch between normal and TCP my Z axis was moving left and right. Which had to do with the X/Y offsets for TCP. Witch made me lead to the conclusion, that in the TCP calculation the tool-offset need to be applied to X and not Z. Which than begs the question if the formulas for X and Z need to be switched completely.

So i started doubting everything and searched the forum. I found your XYZBC-TNR example which sadly i can't run right now because of some permission problems:
Code:
:0: execv(./vismach/xyzbc-tnr-gui.py): Permission denied

But I'm still not quite sold if i can copy the the TCP math from this example. With the Mazak the head is swiveling around Y (B-axis) in your example it's a dual table config.

I would be real glad if you could give me some input on:

- 5 - axis Kinematic with swiveling B axis head
- The X and Z axis switch debacle
 

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #326535 by Aciera
I have a sim config for a b-axis head / c axis table in my suite of twp-configs on my github site:
github.com/Sigma1912/LinuxCNC_Demo_Configs/tree/main

 

to test this you need to:

1. download and unpack the folder 'LinuxCNC_Demo_Configs-main'
2. from the unpacked folder copy the folder '5axis-twp' and paste it into your 'configs/sim' folder
3. right click->Properties->mark as executable the following files (otherwise you get the permission error you got):
- '5axis-twp/twp-helper-comp.py'
- '5axis-twp/vismach/xyzbc-trsr-gui.py'
 
The following user(s) said Thank You: besriworld, jochen91

Please Log in or Create an account to join the conversation.

Time to create page: 0.273 seconds
Powered by Kunena Forum