MicroLogix...reboot PLC from the HMI?

Skidood

Member
Join Date
Oct 2016
Location
Ontario
Posts
213
Hi all, is there a way to reboot (simulating a power cycle) from the HMI?
I basically want to have the PLC perform the first pass scan (or fool it into thinking power has just been applied) without actually interrupting the power.
TIA.
 
James, I was thinking about giving the operator a way to reboot the system without physically cycling power. In my application, it is a pain in the butt for the operator to access the control power switch if needed. And BTW this is not a machine with any moving parts nor is it in a factory setting. Its in a lab.
 
If you have a spare output, run the power for the PLC through a timer(set to some reasonable time frame to not kill your plc) that will reset when it gets an output.
Make the logic in the PLC set the output only when the HMI button is pressed or whatever, and have it 'reset' the timer.
 
If you have a spare output, run the power for the PLC through a timer(set to some reasonable time frame to not kill your plc) that will reset when it gets an output.
Make the logic in the PLC set the output only when the HMI button is pressed or whatever, and have it 'reset' the timer.

That would do it, but I'd first want to look into the programming error that causes the system to need a reboot. ;)
 
Believe it or not, I have no spare outputs.
If you have a spare output, run the power for the PLC through a timer(set to some reasonable time frame to not kill your plc) that will reset when it gets an output.
Make the logic in the PLC set the output only when the HMI button is pressed or whatever, and have it 'reset' the timer.
 
Thanks but I have no idea what you mean.

When the HMI button is pressed turn on a "New First Scan" bit of your own with a OneShot.

Put XIO "New First Scan" on each line of your program with an OTE on it so that scan through will turn off all outputs.
 
as Aabeck said, use this method.
BUT !!!
it doesn't matter if it's a machine or not, you MUST, I repeat MUST know the plc operation and what is going on.

you said this was not a machine and had no moving parts - ok.
this is in the lab - ok
What type lab? training lab or lab equipment?
is really doesn't matter. what DOES matter is that you need to know what the plc program does and how it's written.
are there any sequencers, latched in bits, latched bits to outputs, retentive timers...…
there are lots of things in a plc program that need to be addressed.

not slamming you and I do not know your level of expertise in programming,
i'm just trying to point out various things that need to be addressed in the program. this process will be useful in a programming career or in future applications.

james
 
Thanks but I have no idea what you mean.

See below


Aabeck said:
When the HMI button is pressed turn on a "New First Scan" bit of your own with a OneShot.

Put XIO "New First Scan" on each line of your program with an OTE on it so that scan through will turn off all outputs.

EDIT: Anyone ever try resetting (or setting) S:1/15 in the program? maybe as simple as having a HMI toggle S:1/15 (just a WAG)
 
Last edited:
Just remember as James said to go through your program and reset every TON & TOF timer, see if you need to reset a RTO, Reset any counter/DN bits, see if you need to reset the counter itself. Reset every OTE, and maybe unlatch certain OTLs. Reset sequencers.

Depending on how large the program is this may not be so simple.
 
Load a negative number in a timer preset. That'll shut 'er down.

Then maybe you can create a fault routine that fixes the timer and clears the fault...not sure if that would return the PLC to run mode.

I seem to recall a thread about this being possible with a limited number of PLCs maybe on a limited comms protocol....the A/B HMI was capable of altering the PLC run mode directly...

EDIT:
http://www.plctalk.net/qanda/showthread.php?t=75152
 
Last edited:

Similar Topics

I have just had a couple of collegues who are trying to commission some new equipment onsite, report that when they try to connect their Redlion...
Replies
5
Views
4,642
I've set the channel 0 communications port (this is a two port unit) to 9600 baud to accomodate a display panel connected to that port. On ever...
Replies
1
Views
1,864
I have been working on this for a while now and I can't seem to get it. I was finally able to view the 1500 on the PanelView under the serial...
Replies
1
Views
24
I'm using a SLC typed write from the ControlLogix5572 to the MicroLogix 1400, with path: 2, (MicroLogix IP). The ControlLogix equipment has a...
Replies
0
Views
61
"Hello! Good day! Excuse me, I have a question regarding the 1761-NET-ENI. RSLinx has already detected it but it's not connecting to the PLC...
Replies
4
Views
92
Back
Top Bottom