UDFB input must be connected to a variable.

UDFB input must be connected to a variable.

Hello 
In zenon logic i want to create Udfb using Vsigettime function block when I compiled the udfb program I get an error :VSIGETTIME input must be connected to a variable even if that i create the input variable and I connect it to the function block. 
Best regards 
Ahmed