örnek teşkil etmesi açısından :
VAR
PI_C: ARRAY [1..100] OF PI;
END_VAR
FOR x:=1 TO PumpNo DO
PI_C[X](
Enable:= Scada_Pump_Obj.SW0_ScdCmd ,
P:=Ctrl_P_Gain ,
I:=Ctrl_I_Gain ,
PV:=PI_PV[X] ,
SP:=PI_SP ,
Reset_I:= AnyCmd_P ,
Low_Limit:=Ctrl_Low_Limit ,
High_Limit:=Ctrl_High_Limit ,
I_Lim_Scaled_Per:=Ctrl_Lim_Scaled_Per ,
I_time:=t#3.0s ,
MV=>PI_MV[X] );
StartCon[X]:= PI_MV[X]>96 AND Scada_Pump_Obj.SW0_ScdCmd AND Rem[X] AND Drv[X].SW2_StopRun;
StartCon[7]:= StartCon[X] OR StartCon[7];
StopCon[X]:= PI_MV[X]<40 AND Scada_Pump_Obj.SW0_ScdCmd AND Rem[X] AND Drv[X].SW2_StopRun;
StopCon[7]:= StopCon[X] OR StopCon[7];
END_FOR;