Step 5

Norm Bourne

Member
Join Date
Mar 2008
Location
Townsville
Posts
6
Hi Guys,
Some years ago I installed a 95U and to date it has been completely troublefree, but i've recently experienced the following problem.

Within the program, The flag F73.6 is being used and despite it's operating parameters being in order, the flag remains high !! no matter the state of the operating inputs.
___________
--I80.0| & |
-------| & |
F104.2 | & |
------o| & |---- F73.6
______|___|

With I80.0 low, and with F104.2 low, output F73.6 is high.

I've tried an altenative Flag F74.4 but the result is the same.

I suspect a problem within the RAM, does anyone have any thoughts on a way round this ? apart from replacing the plc, which I am loath to do.

Thanks guys,

Regards Norm
 
I can't tell the logic (use STL), but try changing the input if you have another spare... it could be going true then back off, your PC would not see it (just show off) but the PLC would see it...

Or

Try using set/reset in your program and see if that holds it off,
 
Hi Guys,
Some years ago I installed a 95U and to date it has been completely troublefree, but i've recently experienced the following problem.

Within the program, The flag F73.6 is being used and despite it's operating parameters being in order, the flag remains high !! no matter the state of the operating inputs.
___________
--I80.0| & |
-------| & |
F104.2 | & |
------o| & |---- F73.6
______|___|

With I80.0 low, and with F104.2 low, output F73.6 is high.

I've tried an altenative Flag F74.4 but the result is the same.

I suspect a problem within the RAM, does anyone have any thoughts on a way round this ? apart from replacing the plc, which I am loath to do.

Thanks guys,

Regards Norm

I have seen something similiar once on an S5-95u years ago. We had one section of code that was not operating properly , eventhough logically it should be.

We program in STL and we resolved the issue by inserting one more line of blank code , a NOP, just before the offendending code and the issue went away.

Since you are programming in LAD, insert a blank segment just before this code and see what happens
 
Thanks guys,
The STL code is :O I80.0
:ON F104.2
:= F73.6
With the offending Flag remaining on (high) in spite of the input status.


I've tried stopping the program and putting it back into run, to no avail.

Anyway lads, I,ll carry out your suggestions, the problem is the installation is 150 Miles north of here,

Thanks again

Norm
 
Hi Norm, I had a similar problem with an 115u sometime ago. If the Flag is not being written to from a FW, FY or indirectly and you have a “good copy” of the code try completely wiping the PLC and reloading the code. If there have been numerous block downloads, code compressions, this can have an adverse effect on code operation. I have also seen it where the process image was not being read properly. Hope this is of some help. Jon
 
Yes, I have checked the relevant FW's & FB's And I dont appear to have a prob. in that regard.

The relevant area of code deals with the input from an Air Flow switch, (I80.0) which replaced a pressure switch, which was giving problems in that being a blower, the pressure, when the blower was operational , varied by lesss than 1 lb, with the result that there was little resolution, between go & no go.

Accordingly, I fitted an air flow switch, but the point being that no problems were experienced with the PLC code, prior, other than than the uncertain nature of the operation of the pressure switch.

But theres no doubt it guys, youve certainly given me food for thought.

Many thanks,

Best regards,

Norm
 
Not sure I am remembering correctly or not, but I do not beleive you can use a OR statment as your fist statment in STL or you will get a RLO result of 1. Not sure if it hold true to ladder or not. It you have it programmed in STL you may try changing the the OR to a AND which will give you the same result logicly, but will make sure if the RLO is a 1 from the previous operation you will not get a high flag.

"Thanks guys,
The STL code is
:O I80.0
:ON F104.2
:= F73.6
With the offending Flag remaining on (high) in spite of the
input status."



:A I80.0
:ON F104.2
:= F73.6


Hope this helps.

Larry
 

Similar Topics

I am having a step7 v5.4 program where the blocks are encrypted and locked. And the manufacturer is stopped the support. Is there any ways to...
Replies
2
Views
221
Good Morning, Hoping someone with some Siemens experience can give me a hand with this one. Customer has a S7-200 cpu, which has a 6GK7...
Replies
0
Views
270
HI! HOW COULD I OBTAIN THE NAMES OF THE STEPS OF A ROUTINE IN SFC LANGUAGE IN STUDIO5000? Or is there a system variable that gives me those...
Replies
0
Views
360
I'm just trying to figure out the right method of adding a DO card to an existing rack. It's not the *next* open slot, but I have to move the AO...
Replies
5
Views
589
Hi Siemens Experts, I am hoping someone can shed some light on my issue. I have uploaded the code from a S7-300 (317-2PN/DP) using Step 7...
Replies
9
Views
740
Back
Top Bottom