FB not switching bit.

Hi
Sorry if i'm being dense, I've not a lot of experience.

I am noticing a problem where i am writing to an bit inside and multi instance FB. (only one instance being called at this given time) the bit is showing 1, but a few networks down when using that bit its showing 0.
I have even tried putting a mid line output in.

The bit in question is #Foldrequired_ST1_1

I get monitoring a FB is unreliable but with it only being called for one instance, i think it would be ok? Its also showing false in the assigned DB.

Using Siemens s7 314c CPU

pic1.jpg pic2.jpg
 
Seems that your preceding network is not enabled, so that part of the program is not being evaluated.
If you switch your view to STL, you will likely see it jumps over that part of the code.
 
Seems that your preceding network is not enabled, so that part of the program is not being evaluated.
If you switch your view to STL, you will likely see it jumps over that part of the code.

Shouldn't matter, the bit should still show green, like the -(S)- at the end does.

But a better picture with more of the network visible and readable would help...

grtz
 
Be sure to monitor the block via "monitor with call-up path".
In order to enable this, you have to set "operation" ... "Test operation", then save and download the calling block.
 
Be sure to monitor the block via "monitor with call-up path".
In order to enable this, you have to set "operation" ... "Test operation", then save and download the calling block.

Is this effectively downloading a changed block into the PLC? I work with mainly PC programmers and they freaked when I did this as they said I was outwith version control/testing, they really don't like online commissioning/checking.
 
The block wont be functionally changed. STEP7 adds some debug information to be able to monitor only the instance in question. The calling block will receive a new timestamp.
 

Similar Topics

Hi all, Is anything wrong with the hypothetical logic attached? We make a machines that can have 1 of 2 air valve stacks. I would like the...
11
Replies
4,576
Views
Hi, I'm new in Hot-backup for SLC 500 using 1747-BSN. When there is a switching from primary to secondary, is there any bit that indicate this...
3
Replies
3,956
Views
Hello everyone, I have a problem with an S7-300 system and would appreciate some help. I have two S7-300 PLCs communicating via Profinet. One for...
1
Replies
211
Views
I was going through the configuration of 1734 - IB8S and OB8S modules of a GuardLogix Safety PLC. I understand the use of Safety Pulse Test in an...
22
Replies
1,880
Views
Hello, I have a question regarding switching off a 24 V DC supply. I want to use one main contactor to disconnect the 24 V DC line and isolate...
4
Replies
666
Views
Top