How to shut down / wake up a computer from a PLC
Posted on 2014-11-05
I'm laying out a project that involves both a PLC system and a computer. What it will do is fetch the signal from some analog sensors, display all the necessary info in a 10.1" HMI screen and mirror that screen on a big screen LED TV using the HDMI port on the PC and a Windows based software.
All the PLC/HMI part will be powered through a custom built UPS system but the PC/TV part won't. I really don't care if that part shuts down during a power failure (which almost doesn't occour).
What I need is a way to turn on and shut down the PC using the PLC. For example, tu turn on when I power up the PLC system and shut down when I press a button either on the touchscreen (HMI screen) or phisically on the side of my enclosure. This is to avoid Windows/disk errors in later uses.
There won't be a keyboard or mouse attached to the PC so shutting down the computer the usual way is out of the question.
Is it possible to electronically send a wake up or shut down signal to the computer?
The HMI will be conected to the computer using an 10/100 Ethernet port but I could easily attach a serial (RS-232 or RS-485) connection between them. Or just from the PLC analog ports to the PC's serial port.
Thanks in advance!