i would advise adding a diode to clamp the reverse bias voltage and help save the plc output.
regards,
james
In the US, it would be a National Electrical Code violation of Article 250.4(A), among others.Are there any bad repercussions if the ground wire of the solenoid isn't connected to anything at all?
Yes, but for a 24 VDC solenoid, the noise difference will not be noticable. It will work just as well with the ground disconnected. The ground is for bonding all metallic electrical devices together, so than none can develop a high voltage to ground or between each other - for whatever reason. For example, suppose there is a 400 volt AC cable lying next to the solenoid housing. After a lot of time and vibration, the insulation fails and 400 volts is applied to the metal solenoid case. If it is grounded, a breaker should trip somewhere. If not grounded, the next guy (you) who happens to touch the case will be in for a surprise.Meaning if the solenoid is properly connected to ground then the noise is minimised?
Yes, but do you need to protect the relay contacts from arcing when the solenoid coil backfeeds as the relay contact opens? It comes down to how much insurance you are willing to buy and how much risk you want to assume. "Complete protection" does not exist.I was just wondering whether a diode was necessary across the solenoid (on its own 'noisy' power) as the relay provides the isolation to/from the PLC output?