This looks like the more recent GXW3 with either the L or FX5 series
perhaps post the PLC & GXW version, although looking at it I cannot see what might be the problem, it does sound like one of the variables either as inputs or outputs to the FB is of the wrong type for example using an integer or word for a float, a single integer as a double integer (note: as it seems you are using absolute addresses i.e. actual D registers rather than those without actual addresses then just check that the global tags are set for the correct type, remember that the D registers are 16 bit so using one as a float or Dint it takes up two registers i.e. D2000 as a float uses D2000 & D2001.
Even declaring a tag as an integer & if the FB requires a word type it will sho an error. Not used the later software but if you double click the FB it should show you the declarations & what the types of wariables it's expecting.
One other thing perhaps somewhere within their FB they are doing some sort of range check i.e. if you have two variables like current position & one of new position but the new position is less than the current it assumes an error,
You have not said if this is a compile error or the error returned from the FB.