Contrary to the previous method, There has been a move in the recent past to ground both ends of shields, I can provide a couple of references if needed.
This is done in conjunction with uni-potential bonding, which essentially means that all metallic parts of the system and machine are electrically bonded to Earth Ground this is found to be the most effective method to prevent ground loops etc.
I also use the ULN darlington series, but in itself does not isolate, just allows transitioning to another control voltage level.
If you only have a couple, then you can use a 2n7000, 5vTTL to 60v FET driver.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.