I have tried this link example in LDmicro
http://cq.cx/ladder-tutorial.pl
When i press simulation--> simulation mode.. I am getting error variable Cstate is not assigned. I couldn't see real time simulation also. I am not getting that variable , name,type table in the bottom of screen.
the error and circuit i have created is in attached file..