The question was asked, why don't I use 24 VDC in my PLC setups, and that needs some clarification.
A typical PLC comes with a power supply for the processor and all the boards connected to that chassis.
Those DC power supplies seem be very robust and reliable.
You can install several different types of cards in the chassis, such as 4-20mA for analog inputs and outputs, RTD modules for monitoring temperature, cards for monitoring vibration, and relay cards.
There are other types of cards available for other functions, but the above items are the functions I use exclusively on the projects I design.
For output contacts, I always use Form C double-pole, double-throw isolated relay contacts, to give total circuit isolation.
For the relay contacts, you can use a 24VDC power supply and route that through the relay contacts, or you can use 120VAC without a power supply, and route that through the contacts.
I never use a 24VDC power supply with the relay contacts because the power supply is an additional point of failure, and the control systems I design are for wastewater, which is considered critical infrastructure that needs to be very reliable.
The conductor lengths/distances in the two treatment plants where I typically work is large; each plant serves approximately 500,000 people.
I would not want to risk trying to use 24VDC over long distances, due to the voltage drop.
I use a pretty beefy 4-20mA twisted shielded pair, such as a #14 AWG, and those will work over a very long distance, such as at the lagoons, which may be 1/2 mile long.
I researched why some people use 24VDC, and one website mentioned safety concerns.
120VAC does cause a lot of deaths, and is a dangerous voltage because it causes heart fibrilation.
In a large wastewater plane, with large 4160 volt motors, 23kV power distribution, lots of 480 volt motors, extemsive hazardous locations such as Class I, Division 1, etc., the danger from 120VAC in the control systems seems minor.
For motor control centers, I include a terminal/relay cabinet on the end, so that a technician can troubleshoot all of the control circuits without having to open a bucket and be exposed to a potential 480 volt arc flash.
The control wiring between each starter bucket and the control panel can be pre-wired at the factory, and so you don't end up with a birdsnest of control wiring strung all through the motor control center.
In other locations I have had contractors string control wiring over the top of bare 480 volt MCC busses, and so I prefer to factory wire the MCC's.
I use 600 volt wire insulation for all low voltage wiring, with "low voltage" being any voltage less than 600 volts.
For control wiring that has to enter a classified location, I use an intrinsically safe relay in the control panel.
For process control in a relatively small area, there may be some advantages to using 24VDC for relays, but I personally would not use it for any application.
.