Thank you Andy, and sorry for not replying for a longer time. We have been working on the project, and had several other problems to solve - and we still have loads to do. I finished working for today, and I don't have linux installed at home, but i will definitely check out your file tomorrow - once again, thank you very much for the vismach model.
As for homing, we will need a some sort of process, but it shouldn't be difficult, as we have absolute encoders (though we use incremental encoders for measuring, and the absolutes are only for the verification). This setup was already made, when we started upgrading the machine.
My LinuxCNC experience is definitely little, I only started working with it a few months ago. Could you tell me, what exactly custom kinematics files are?