Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to shut down / wake up a computer from a PLC

Posted on 2014-11-05
3
430 Views
Last Modified: 2014-11-05
Hello everyone,

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!
0
Comment
Question by:Cesar Aracena
  • 2
3 Comments
 
LVL 26

Accepted Solution

by:
Dr. Klahn earned 500 total points
ID: 40424745
Turning the system on is easy.  Short the appropriate pin on the power supply to ground (simulates pressing the power switch) and the system starts up.

Shutting down requires the assistance of Windows.  Configure the power switch handling to turn the system off when the power switch is pressed (see image below).  Then short the start pin on the power supply again, and in a few minutes the system will shut down.

XP power handling
0
 
LVL 6

Author Comment

by:Cesar Aracena
ID: 40424933
Hmmm... I'd thought that but didn't think it would work, specially for the shutdown part. I'm used to do that to test my water cooling each time I change it. Gonna try and configure it with the PLC.

Thanks!!
0
 
LVL 26

Expert Comment

by:Dr. Klahn
ID: 40425053
Side note:  Ground the start pin only briefly.  Once the system is up and running, holding the start pin at ground for some length of time (usually 4 seconds, sometimes longer) will drop-dead-halt the motherboard.  Windows doesn't like this, so don't use it as a shutdown method unless all else fails.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Activate recording on Zavio B7510 5M Outdoor Bullet IP camera 1 59
RAM PROBLEM 5 47
freezing-in newPC.. 3 24
Can I install Windows on a Chromebook? 3 45
Does your iMac really need a hardware upgrade? Will upgrading RAM speed-up your computer? If yes, then how can you proceed? Upgrading RAM in your iMac is not as simple as it may seem. This article will help you in getting and installing right RA…
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question