Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - simulation error in LDmicro tutorial exmple i tried.

(you are viewing a thread; or go back to list of threads)

simulation error in LDmicro tutorial exmple i tried. (by Remya)
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..
Thu Sep 20 2018, 08:54:24, download attachment ldmicro-led-error.JPG
(no subject) (by Milan)
You must use "CState", not "Cstate" for yours comparation ! Different is in a large letter "S" in name of variable...
Thu Sep 20 2018, 11:59:05
(no subject) (by Remya)
Thanks for reply .Now no error in program but am not getting the list at the bottom of screen like Name, Type, Pin on processor, MCU port. Nothing is displayed there under these headings. Also all the rung elements are in gray colour, No pink colour elements.

I tried another sample example provided in ldmicro rel2.2 zip folder. In that also same problem, No list under bottom of screen while simulating. But in that case some rung elements are pink in colour and they are blinking constantly.
I have attached those screen shots.
Sat Sep 22 2018, 07:11:34, download attachment ldmicro_rel2.2-example-blink.JPG
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):