I achieved some kind of success in homing the servo motors using the CiA402 home component. There is still a problem when the homing is executed in a certain situation. Basically, I am using homing method 34. Then using the halshow I set the 'request-custom-homing' pin, the homing procedure starts but when the servo find its Z pulse it start moving quite fast. Perhaps it tries to reach a certain position but LinuxCNC reports 'joint 0 amplifier fault' and the servo drive error is 'Position deviation is too large'. You can see videos of what is happening - one video in normal velocity and one in slow motion.
Videos
This behavior of the drives can be observed the the actual position is above 35 000 000 pulses. When the homing is started below this pulse number, the motor finds it Z pulse and the move quite fast to the position where the homing was started.
Attached are the configuration files.