Answer question
How can i change Parameter definition dialog in structured text?
Hi Juergen
I need change the delay time for TON function in structured text. I see that the Parameter definition dialog is "Pte". i make this script
PROGRAM Sedimentador VAR Pre:TIME;Out1:BOOL; In1:BOOL; In2:BOOL; In3:BOOL; Temp2 : TON; END_VAR In1:= true; In2:= true;In3:= true; Pre:= T#5s; In3:=True; Temp2(IN:=In1,RES:=In3,Pte:=Pre,OUT=>Out1); END_PROGRAM
When i check this program, it shows "unknown pin" in the Pte parameter. I verified that in the time section the access parameter was true.
Could you help me?
Thanks
Regards
I need change the delay time for TON function in structured text. I see that the Parameter definition dialog is "Pte". i make this script
PROGRAM Sedimentador VAR Pre:TIME;Out1:BOOL; In1:BOOL; In2:BOOL; In3:BOOL; Temp2 : TON; END_VAR In1:= true; In2:= true;In3:= true; Pre:= T#5s; In3:=True; Temp2(IN:=In1,RES:=In3,Pte:=Pre,OUT=>Out1); END_PROGRAM
When i check this program, it shows "unknown pin" in the Pte parameter. I verified that in the time section the access parameter was true.
Could you help me?
Thanks
Regards