The Service ground should be taken to a common point in whatever electrical enclosure you have, the frame of the transformer is usually bonded to ground if it is mounted on a back plane that the above common point is mounted to, but still it is good practice to carry a ground conductor from a mounting screw to the central Earth common.
For the secondaries, it often depends on the secondary usage and what method you subscribe to as to isolated or non-isolated systems.
For example, if you have a transformer who's secondary is to supply 120vac to feed other various systems, PC or power supplies etc. then the custom is to usually to ground one of the secondaries at the transformer and carry this ground conductor to the common Earth plate.
This secondary point is then used as a Local neutral using a white conductor.
In the case of other secondaries used for DC power supplies, it gets a bit murkier.
If you want to ground the power supply DC common(s) then these should also be taken to the central Earth point, do NOT ground the respective AC secondary for these supplies.
If you chose to float the DC supplies, then neither the AC secondary or rectified DC should be connected to ground.
The important thing to remember is that although a neutral or a DC common is connected to ground, the ground itself should not be used as a conductor!
Spindle motor frame and any metallic part of the machine should have a bonding conductor back to the central common Earth point.
Carrying out these practises avoid alot of spurious noise etc.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.