What is wrong with my FB? If anything.

John21

Member
Join Date
Feb 2007
Location
Alabama
Posts
12
Hello all,
I have created a new fb but for some reason when I loaded it into the PLC and attempted to monitor the block it is not outlined showing that it is working. Instead of the normal hilight, all I see is a dotted line for the outline of the block. All this fb is doing is parsing a string and writing the results into a db. It also does some sequencing functions but nothing major. This is what I have done up to this point with it. I created an instance db and associated it with this fb. Both have been saved and downloaded into the controller. Everything monitors and checks out. I can even monitor the fb that I created. I have also added logic into the fb and simply set a bit from the fb and monitored it in a vat table to verify that the block is working. But it just doesn't look right on the outside when I monitor. I have not been able to "turn on" this logic yet because it can't be used during normal operation of our plant. Can anyone tell me why this block doesn't hilight when I monitor it. I have done all of this before and it has never looked like this. Sorry if I have rambled in this question. Thanks for the help.
 
Siemens blocks return a block result (passed out of the ENO). If the block result is false (say an error occurred inside the block), the ENO will be false and the ladder logic following the block will be false as well as the block outline being not highlighted. Note that the rung connection leading up to the block will be highlighted if the logic indicates so. If you do not wish to use the block result mechanism and always return with ENO true, simply put the following code as the last two statements in your block. Don't perform any BEU's half way through the block either.

Code:
SET
SAVE

Your block call looks like below ?
view4.JPG
 
Last edited:
I had this type of problem one time and found that I forgot to call the block. I had a FB calling another FB and just forgot to add the new FB after creating it.
 
thanks guys. the save at the end of the fb did the trick. i have seen these networks in alot of fbs in the past but just didnt know why they were there. would the fb have functioned normally if i hadnt added this. i was not going to make any other logic dependent on the eno from this fb.
 

Similar Topics

I am latching and unlatching "result_Data_latch" bit within same rung. Will This copy/move instruction execute correctly??
Replies
4
Views
193
First let me explain what we're doing. The E-stop circuit is hardware based. We have some very large pumps that normally go through a controlled...
Replies
18
Views
10,396
We have a quad monitor setup with FT SE and we are utilizing a header screen at the top of every display. when we open a new page we abort the...
Replies
0
Views
93
Hi all, I am having an issue with FT View Studio ME when I try to open the propoerties of any object, the size of it is very big and doesn't let...
Replies
0
Views
102
ewrong aka the censored brand of remote access this thing is kicking my butt and im not sure if i am just irritated enough that i am missing...
Replies
5
Views
628
Back
Top Bottom