Library Function Block "undefined reference to 'FbSingleLed'

Hi,

I copied and pasted an existing internal library function block. I changed the .fun, .st and .typ files accordingly.

When I use my function block in my software I get ‘undefined reference to…’

It is being used the same way as the function block I copied. I tried moving around the LS_2PBLed(); in the code to see if that is a factor and i cannot find out what I am missing here

Any ideas?

  1. Right click library
  2. Show deployed objects
  3. Drag library into Library Objects