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 - IN and OR function (is this a bugg)

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

IN and OR function (is this a bugg) (by Bostjan Motaln)
Hay
I have test the simple IN and OR function with two input and one output.
In simulator work good,but When generate the code for atmega8 the function work
wrong.
They are replaced.
IN function work as or and or as in.


Please help.
Fri Nov 25 2011, 20:46:59, download attachment OR-AND.ld
I am sorry it wass my mistake.at hardware. (by Bostjan Motaln)
It wass my mistake.

All is ok.
Sat Nov 26 2011, 10:04:45
(no subject) (by Jonathan Westhues)
For reference, I'm assuming it was this problem:

http://cq.cx/ladder-forum.pl?action=viewthread&parent=824

Negated inputs and outputs must be marked as such. If they're not, and both the inputs and the outputs are negated, then AND and OR get interchanged.
Sat Nov 26 2011, 14:03:02
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):