I am using Codesys as my PLC Programmer. I use structured text as the language.
I tried using a timer inside a function block and then mentioning it in variables of main program but its not getting started. the (IN) of the timer is not getting a TRUE value.
If i write the same code in PLC_PRG then it works.
Do i need to do anything additional to make my timer run? Please Help
I tried using a timer inside a function block and then mentioning it in variables of main program but its not getting started. the (IN) of the timer is not getting a TRUE value.
If i write the same code in PLC_PRG then it works.
Do i need to do anything additional to make my timer run? Please Help