S7 Code Network Not updating

Neil stokes

Member
Join Date
Oct 2008
Location
Australia
Posts
25
Afternoon Gents,
I have a small problem whereby the Network I am monitoring is not showing an update on the output coil.Instead of being green it is black
There are 2 inputs in series that engergise the output one is green the other is balck even though they are on at the i/o card.
If i look at the status in a Vat table I see the output on and the corresponding Inputs also at 1.
This network is the only one i have an issue with all others in the FC are ok
I assume a software glitch but I am sure someone has seen this before



Appreciate you help

Regards Neil Stokes
 
Do a xref and check that the output isnt being used elswhere in your program. (I have done it many times before) 9 times out of 10 you will find it is being over written somewhere else.
 
Hi Zane and thanx for the reply.
Xref reveals only one plce that the output is being written to.
STrangley enough its the inputs that do not show active status.
For example
In FC1 I1.6 is being processed and shows active state 1 (green when Monitoring)
The same input in FC2 shows Black when Monitoring.
This is the network code
My issue is
RLO on 1.5 is 1
RLO on 1.6 is empty ( not Zero)
RLO Q21.7 is empty (Not Zero)

A Q 15.6
A M 101.5
O
A I 1.5
A I 1.6
O I 9.4
= Q 21.7

If i switch to ladder then the NO contact just shows black and output coil is black which is oviously not true

Hope this gives you more information.

Effectively the realworld I/O status is correct but the graphical representation is not.

I have tried an old back up and two seperate PG units--same issues
 
I Zane, It works perfectly through the simulator?..Go figure!
Also V5.4 and V5.5 show the same issue

there is no advantage of forcing the I/O channel as in Fc1 the input is high anyway.
 
Use a temp variable for Q21.7 and then have a separate network controlling Q21.7 and then monitor the simpler network. I have also seen this where certain networks or even parts of networks do not update in ladder view.

Can you post the project (copy the blocks to a library and post the archived library)

qdot.jpg
 

Similar Topics

Hello, we have a few sites that we maintain, there connections are not that fast but generally reliable. My problem is with Twincat system...
Replies
0
Views
6,019
in allen bradley kinetix 300 drive first E31 error shows after resting drive E11 error occurs need solution to reset E11 fault code
Replies
4
Views
147
Hello, I am trying to read a barcode scanner input using a cognex dataman 280 barcode reader, store it another string, the compare with another...
Replies
1
Views
93
Hi there, I'm new to plc programming and was wondering why I get this error code when I run my simulation for these temperature sensors? What I'm...
Replies
2
Views
90
Hi All, Someone at work has put a PLC system on my desk, that's just been taken off an idle production line. He said "It's an S7 PLC. We don't...
Replies
10
Views
319
Back
Top Bottom