Cartesian Robot Plug and Play

I’m having trouble creating a cartesian robot and adding a tool at it’s flange.
I could fix a tool with the plug & play but if i move an axes the connection is lost.
If I add my tool at the cartesien robot of VC everything is fine.
So i copied all behaviours of this cartesien robot to my robot but it still lose the connection during the movement.
Do you have an idea, how i could add components with pnp and won’t lose the connection if i’m interacting?