Fault Latching and Logging

cadomanis

Member
Join Date
Nov 2007
Location
Brooklyn, NY
Posts
13
I am finding a increasing need to log both faults and actions in my projects. I have typically done this ( at least for faults) by creating a latched copy of the fault, and then executing a logging subrouting whenever that latched version turns off. I also used the latched version of the faults throughout my code to control other actions/functions. When there are upwards of hundreds of these simple latching rungs, it can become a big mainteance drag / memory hog. I have come up with a new idea using a for-next loop strucuture to make things easier, but I am unsure about a few things.

1) Are the latched bits going to stay maintained from one execution of the subroutine to another.
2) Is the for/next strucutre going to prove very processor intensive and bog down my scan.

I have attached a PDF of the code in questions. There is a singel example of the old method, as well as the new subroutine. Any feedbak would be greatly appreciated. Compeltey differnet ideas and solutions are of course also welcome.

thanks,

C-
 

Similar Topics

Hi. We've been asked to do an upgrade on plant, consisting on a PLC upgrade. This involves replacing a 1747-SDN module to a 1769-SDN, in a network...
Replies
0
Views
33
in allen bradley kinetix 300 drive first E31 error shows after resting drive E11 error occurs need solution to reset E11 fault code
Replies
3
Views
74
All, I have a PowerFlex 525 driving an agitator motor. The goal is to have the agitator start automatically after a power loss or a comm loss. I...
Replies
2
Views
90
hello I am getting a 57h fault - Specialty I/O module has not responded to a lock shared memory command within the required limit. Fault randomly...
Replies
2
Views
99
Kindly, we have the following configuration fault on a Kinetix 5700 axis. It only appears when we go online on the Plc. We are just starting the...
Replies
2
Views
115
Back
Top Bottom