Okay all, either I am insane or ABB wont do the simple things. Am I doing this right? I want to watch conditions of an input but I want that input to change based on a string
Can I do this......
sIOname := "PLC_DI80_OrderReq_Cnv"+NumToStr(nCnvNum,0)+"Chute"+NumToStr(nMagNum,0)+"_"+NumToStr(nChuteNum,0);
IF DInput(sioname)=1 THEN
ENDIF
OR....
If dinput ("PLC_DI80_OrderReq_Cnv"+NumToStr(nCnvNum,0)+"Chute"+NumToStr(nMagNum,0)+"_"+NumToStr(nChuteNum,0))=1 then
Endif