code:
PROGRAM
VAR_INPUT ARG_000 : REAL; END_VAR
VAR_INPUT ARG_001 : REAL; END_VAR
VAR_INPUT ARG_002 : REAL; END_VAR
VAR_INPUT ARG_003 : REAL; END_VAR
VAR_INPUT ARG_004 : REAL; END_VAR
VAR_INPUT ARG_005 : REAL; END_VAR
VAR_INPUT ARG_006 : REAL; END_VAR
VAR_INPUT ARG_007 : REAL; END_VAR
VAR_INPUT ARG_008 : REAL; END_VAR
VAR_INPUT ARG_009 : REAL; END_VAR
VAR_INPUT ARG_010 : REAL; END_VAR
VAR_INPUT ARG_011 : REAL; END_VAR
VAR_INPUT ARG_012 : REAL; END_VAR
VAR_INPUT ARG_013 : REAL; END_VAR
VAR_INPUT ARG_014 : REAL; END_VAR
VAR_INPUT ARG_015 : REAL; END_VAR
VAR_OUTPUT ARG_016 : BOOL; END_VAR
VAR_OUTPUT ARG_017 : BOOL; END_VAR
VAR_OUTPUT ARG_018 : BOOL; END_VAR
VAR_OUTPUT ARG_019 : BOOL; END_VAR
VAR_OUTPUT ARG_020 : BOOL; END_VAR
VAR_OUTPUT ARG_021 : BOOL; END_VAR
VAR_OUTPUT ARG_022 : BOOL; END_VAR
VAR_OUTPUT ARG_023 : BOOL; END_VAR
VAR_OUTPUT ARG_024 : BOOL; END_VAR
VAR_OUTPUT ARG_025 : BOOL; END_VAR
VAR_OUTPUT ARG_026 : BOOL; END_VAR
VAR_OUTPUT ARG_027 : BOOL; END_VAR
VAR_OUTPUT ARG_028 : BOOL; END_VAR
VAR_OUTPUT ARG_029 : BOOL; END_VAR
VAR_OUTPUT ARG_030 : BOOL; END_VAR
VAR_INOUT ALL : UINT; END_VAR
VAR_INOUT KPP1 : USINT; END_VAR
VAR_INOUT KPP2 : USINT; END_VAR
VAR_INOUT KPP3 : USINT; END_VAR
VAR_INOUT KPP4 : USINT; END_VAR
VAR_INOUT KPP5 : USINT; END_VAR
VAR_OUTPUT ARG_031 : REAL; END_VAR
WHILE ARG_000>3 DO ALL=1; ARG_016=1; END_WHILE;
WHILE ARG_001>3 DO ALL=1; ARG_017=1; END_WHILE;
WHILE ARG_002>3 DO ALL=1; ARG_018=1; END_WHILE;
WHILE ARG_003>3 DO ALL=1; ARG_019=1; END_WHILE;
WHILE ARG_004>3 DO ALL=1; ARG_020=1; END_WHILE;
WHILE ARG_005>3 DO ALL=1; ARG_021=1; END_WHILE;
WHILE ARG_006>3 DO ALL=1; ARG_022=1; END_WHILE;
WHILE ARG_007>3 DO ALL=1; ARG_023=1; END_WHILE;
WHILE ARG_008>3 DO ALL=1; ARG_024=1; END_WHILE;
WHILE ARG_009>3 DO ALL=1; ARG_025=1; END_WHILE;
WHILE ARG_010>3 DO ALL=1; ARG_026=1; END_WHILE;
WHILE ARG_011>3 DO ALL=1; ARG_027=1; END_WHILE;
WHILE ARG_012>3 DO ALL=1; ARG_028=1; END_WHILE;
WHILE ARG_013>3 DO ALL=1; ARG_029=1; END_WHILE;
WHILE ARG_014>3 DO ALL=1; ARG_030=1; END_WHILE;
WHILE ARG_015>3 DO ALL=1; ARG_031=1; END_WHILE;
WHILE ALL==1
//setAttributeI(25, 10, 1)
DO
KPP1=1;
KPP2=1;
KPP3=1;
KPP4=1;
KPP5=1;
END_WHILE;
IF ALL<1
THEN
KPP1=0;
KPP2=0;
KPP3=0;
KPP4=0;
KPP5=0;
END_IF;
END_PROGRAM