Fault Light

Tarheel

Member
Join Date
Jun 2007
Location
Ma
Posts
14
Hi I was wondering if anyone knew how to set up a fault light, namely my Chasis will be locked away and I want to set up a light to tell if the program is running properly.
 
Tarheel said:
Hi I was wondering if anyone knew how to set up a fault light, namely my Chasis will be locked away and I want to set up a light to tell if the program is running properly.

What type of PLC?
If Clgx, you can use the GSV instruction to get the status of the CPU and display this on an HMI.

If not, an output to a relay, where the NC contact is wired to the fault lamp. As long as the output is ON, the fault light is OFF.

Ian
 
Sorry to clarify, I am using RSLogix 500, and a SLC 500 1747-L531, on the processor box there is a LED which tells you when there is a fault and I want to emulate this on a larger scale. I was wondering if there is a command in RSlogix that tells you either "yes fault" or "no, no fault", so I can output it to another light.
 
If there is a fault that has lit the light, the processor has stopped scanning the program. How is it going to be used to indicate anything?

Unless you set an output to always-on, then use a relay to light your indicator. Light connected to the NC connection. Like curlyandshemp said.

Trust me, you'll know if you have a PLC fault. It'll get real quiet...
 
I would wire a light through a normally closed set of contacts on a relay.

Hook the relay up to an output and program the output to be always on.

If the processor faults or goes out of run your light will turn on.

edit: Yea like he said šŸ™ƒ
 
Last edited:
I always do it slightly different with AB PLCs. I wire a light directly to an output which I turn on in the logic. Then I label the light "PLC OK". If the PLC stops running for any reason, that light goes off. I think that S bit will only work for you if you are reading it from an MMI. Not sure if it will work as intended if you try to use it to turn on an output. It might if there is an option to have the outputs hold thier last state when the PLC stops, and you make sure that rung is the last one in the program. But even then, aren't there some faults that will not finish the scan before everything stops?


-jeff
 
For an incandescant lamp, Hakutsuru has it right. All local outputs should turn off when the processor fails...there are exceptions, but usually not in the local rack.

For an HMI indicator, you can read the first five bits of S:1 in a SLC to determine the processor status. I don't have the bit patterns handy, but there are many possible modes: RUN, Remote RUN, Program, Test. You should look at the channel status for the channel you are communicating with too. If S:1/00 through S:1/04 are in the correct state AND the comms channel is healthy, you can report that as a "Program Running" condition on the HMI...
 
Placing S:1/13 in your ladder logic will have no effect. Were I to see it used in a program I would think that there is something that is very fundamental about PLCs that the programmer was not grasping. Use an unconditional output as has been suggested.
 
Is there any use for S:1/13 in the ladder? Like to call a fault routine? Or do you think they just have it in there so another device can poll for the status?


-jeff
 
If S:1/13 is set the all program processing, including subroutines and interrupt routines, is halted and all IO is set to the default state. The status of S:1/13 can be read by or written to by any device communicating with the PLC such as another PLC or PC.

In a couple of RSView apps I created a PLC status screen that indicated the PLC status, error code, and had the ability to clear a fault and return the PLC to run mode.
 

Similar Topics

Hi Guys, I have a 1769-L24-QBFCB1 that has the OK light flashing on the embedded counter module. The manual states it is a resettable fault, but...
Replies
0
Views
104
Hey Folks, I have a customer with an older machine that is controlled with a MicroLogix 1000. The machine just quit working. The power light is...
Replies
22
Views
10,563
Hi , I have an Allen Bradley Powerflex 700 Inverter It has a green power light ( led ) and under that has a status Light ( led ) The...
Replies
2
Views
2,250
Hello, I have a Micrologix 1200 1762-L24BXB PLC and as soon as I power it up with nothing connected to it, the power LED and the fault LED both...
Replies
3
Views
3,740
Hi all, I am having an issue with a Micrologix 1500 1769-ECR. The PLC will not run and Iā€™m unable to connect to diagnose the fault. When I power...
Replies
1
Views
2,456
Back
Top Bottom