Example
In the example, the input parameters (pins) of the following DFB shall be checked whether they are connected or not.

In this case the code of the DFB looks as follows:
(* Functional code of MY_COUNTER *)
IF RE (Reset) THEN
internal_value:=0;
END_IF;
IF RE (Count) THEN
internal_value:=internal_value+1;
END_IF;IF(internal_value>=Preset) THEN
SET (Done);
ELSE
RESET (Done);
END_IF;
(* Check if parameters are connected *)
ResetConnected := IS_PAR_CON (Reset) ;
PresetConnected := IS_PAR_CON (Preset) ;
CountConnected := IS_PAR_CON (Count) ;