sorry for that, this is the code im using:
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 9 , "Geblokkeerd",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 19 ,"Storing ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 29 ,"Interlock ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 39 ,"Standby ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 109 ,"Mengen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 119 ,"Stoppen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 129,"Voltooid ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 139 ,"Kneden ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 149 ,"Stoppen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 159,"Wacht op bevestiging ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 169 ,"Voltooid ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 179 ,"Vooruit wendelen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 189 ,"Achteruit wendelen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 199 ,"Wendelen voltooid ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 209 ,"Knederkop tussen posities ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 219 ,"Knederkop beweegt omhoog ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 229 ,"Knederkop is boven ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 239 ,"Knederkop wacht op toestemming zakken ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 249 ,"Knederkop beweegt omlaag ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 259 ,"Knederkop is beneden ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 309 ,"Kuip ontgrendeld ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 319 ,"Kuip vergrendelen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 329 ,"Kuip vergrendeld ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 339 ,"Kuip ontgrendelen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 409 ,"Standby ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 419,"Kuip vergrendelen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 429 ,"Wacht op recept ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 439 ,"Kop zakken",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 449 ,"Mengen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 459 ,"Kneden ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 469 ,"Wendelen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 479 ,"Kop omhoog ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 489 ,"Schoondraaien",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 499 ,"Kop omhoog ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 509 ,"Kuip ontgrendelen",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 519 ,"Voltooid ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 529 ,"Schoonmaak - Vergrendelen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 539 ,"Schoonmaak - Kop Zakken ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 549 ,"Schoonmaak Actief ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 559 ,"Schoonmaak - Kop omhoog ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 569 ,"Schoonmaak - Ontgrendelen ",
if ({[Test SCADA Ignition]Kneder/Kneder2/stat/hmiStatus} <= 999 ,"Gepauzeerd","onbekend"))))))))))))))))))))))))))))))))))))))))))
this works but I want the number in the tag path to be a parameter so that the tag path changes.