| New Reply |
How to restart my computer after power cut? |
Share Thread | Thread Tools |
| May9-12, 08:00 AM | #1 |
|
|
How to restart my computer after power cut?
Hi,
my computer is running 24h with a software which controls an electric equipement. This software is working as a PLC, so when i start this software i have to specify the date, time and the number of cycle which it must start. Problem: during a power cut, my computer is running in UPS for 2 hours but after it shuts-down. What i want is: during a power cut, a small program in java or c must detect a state of a relay which will shuts-down my software and my computer properly and when the power cut come back, my computer should restart and the small program must start my software depending the date and time. Is it possible? I heard about the ADAM6060 module which can be used to detect the state of a contact from a relay. Does anyone have a clue ? Thank you 042012 |
| May9-12, 01:23 PM | #2 |
|
|
Also, what software are you using to communicate with the PLC? What you are talking about is running some sort of start up script that automatically takes the current date and time and stores it in the program. Some PLC's allow you to set the date and time directly via a 'freeport' command which would eliminate the need to do this via the program so I will need to know the details of how you are communicating to the PLC. Creating a start up script to reload the host program shouldn't be an issue. Finally does the ups have either a relay or transistor output that changes state on loss of supply? You will need this to initiate the shutting down of the software and PC again a simple script should do the job nicely. Regards Dan |
| May9-12, 01:26 PM | #3 |
|
|
I think he means that the computer ACTS as a PLC in his setup (i.e. it is controlling equipment using a DAQ of some sort).
The kind of software you are describing is sometimes included with the UPS. What kind of UPS are you using? |
| May9-12, 03:10 PM | #4 |
|
|
How to restart my computer after power cut?
on newer computers thier is usually on option in the bios for this.
|
| May9-12, 04:55 PM | #5 |
|
|
Afair, Apple have done this for a long time.
|
| May9-12, 05:06 PM | #6 |
|
|
Do you have any voltage or current sensors?, can you rewire them to any backup low cost PLC?.
|
| May9-12, 08:10 PM | #7 |
|
|
In fact, there is no PLC but our house made software acts like a PLC and controls an electric equipment like heating resistors, cooling resistors, measuring pressure, flow etc...and in the same it sends emails automatically to me every hours about the state of each sensors... and i will include the power cut/on message in the message.
The UPS we are using have a relay contact. (brand chloride Linear plus 10KVA) Maybe it's more complicated that i imagined. I hope it's clear now. Thank you all |
| New Reply |
| Thread Tools | |
Similar Threads for: How to restart my computer after power cut?
|
||||
| Thread | Forum | Replies | ||
| LHC Restart at 7 TeV | High Energy, Nuclear, Particle Physics | 10 | ||
| How to run an iso off of restart without burning to disk | Computers | 6 | ||
| computer power | Electrical Engineering | 2 | ||
| Restart The Big Bang | General Astronomy | 25 | ||
| restart without my permission | Computing & Technology | 5 | ||