RobotStudio event

Convoyer tracking(IRC5)

Hi
How can i track convoyer while painting? And when the convoyer stops, the robot stop at the end of actual paint stroke? Tried whit "CnvSyncOnRetract:=1" but it stops in the paint stroke.  We have the old C5 robot and this works with "robsync".