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 - bug Report?

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

bug Report? (by Mityeltu)
I have been working with this for only a little while, so I may be wrong, but there appears to be some errors in the complied version of the ladder logic. The ld file is attached. The file was created from a student exercise for LogixPro. Maybe someone can see where I may have gone wrong.

The problem is that when there are no inputs, the fullopenled output flashes. This is not a correct response. The fullopenled should be on, but not flashing. A similar problem occurs when ls1 and ls2 are closed - the fullclosedled flashes. Again, the fullclosedled should be on, but not flashing.

hope someone can point me in the right direction.
Thu Dec 24 2015, 16:32:18, download attachment DoorSim.ld
(no subject) (by MGP)
I think you made a mistake when filling in the crystal frequency, 2Mhz instead of 20Mhz.

Then you can have weird effects.

The simulation works correct.
Fri Dec 25 2015, 03:25:32
(no subject) (by Mityeltu)
No, the external crystal is 2MHz. I'll try 20, but I don't have one of those right now.

The Oshonsoft PIC Simulator also gives this strange behavior using both 2 and 20MHz
Fri Dec 25 2015, 05:37:21
(no subject) (by MGP)
You dont have to buy a 20Mhz crystal, I thought that this was a mistake.

Dont use external simulators, Ldmicro's is the best ;)

I will look further.
Fri Dec 25 2015, 06:06:48
(no subject) (by MGP)
Do you have a schematic, your program works but there is something wrong.

Also have in mind that ldmicro only compile in HS crystalmode.
Fri Dec 25 2015, 06:18:20, download attachment Snap68.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):