I don’t know GAL controllers but anything you want to keep noise out of like encoder or comm wiring you do not ground on both ends for any reason. It makes the cable like an antenna and noise will be worse than no shield at all. It is common practice to ground both ends of a power cable to keep the noise contained and prevent it from getting to sensitive signal wiring.