BOOL32TODINT inside a Function Block - Type mismatch error
I am trying to use BOOL32TODINT inside a Function Block, but i am getting errors. It is giving a type mismatch error for the IN tag.
Please see attached pic.
I can use DINTtoBOOL32 inside function block without erros, but its the BOOLXXtoDINT function blocks which are giving errors.
Has anyone used BOOL32toDINT inside a FUNCTION BLOCK.
Please could you help out.