(ADD) instruction in function block

knucklebucket

Member
Join Date
Feb 2013
Location
Greeneville, Tennessee
Posts
54
I know this sounds really stupid, but I have a function block program I have written and have been debugging. I have an ADD block that will not work?

my input for source A and source B are functioning correctly via inputs from HMI. but the ADD block will not output the result? I am at a loss, this should be very simple. any help would be appreciated.
 
I have tried both ways Lynx, nothing seems to allow the output to work. If you look at the properties window, the values for source A and source B do not show up in the properties window, seems like they should.

ADD Block parameters.JPG
 
Source A & B should be reals, it looks like you are feeding them with integers, I do not know what PLC you are using but in most I have used this would cause a compile error, try converting the integers to reals first.
 

Similar Topics

hey good afternoon ! I have a simple question, I need to import an Add on instruction to a controller that is in operation and cannot stop. Is it...
Replies
6
Views
281
please can someone help me how do i add status bits to the add on instruction in studio 5000 thank you
Replies
2
Views
1,463
Hello all, Is there a way to trend tags associated with AOI? Currently the selection is grayed out. The tag is a local tag and it resides in a...
Replies
8
Views
2,115
I have to create a sample mov template in add on instruction.I just want to know the list of tags which is used to create a mov logic instruction...
Replies
6
Views
2,086
I just imported four add-on instructions (which I believe are Rockwell AOIs), and they appeared to import OK, and I see them in the "tree"...
Replies
8
Views
3,101
Back
Top Bottom