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 - TOFF code/timing error, possible bug.

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

TOFF code/timing error, possible bug. (by Chris)
Hi, below is the internal code for the TOFF, and checking
the code the timing is wrong and one glitch is generated.

-----______ input timing chart
-----_---__ output timing chart

19:if not '$Tblink_0_antiglitch' {
20: let var 'Tblink_0' := 3
21:}
22:set bit '$Tblink_0_antiglitch'
23:if not '$rung_top' {
24: if 'Tblink_0' < 3 {
25: increment 'Tblink_0'
26: set bit '$rung_top'
27: }
28:} else {
29: let var 'Tblink_0' := 0
30:}
31:
Tue Sep 11 2012, 08:54:04
(no subject) (by Ronaldo)
I checked this when simulated in proteus, see the attached file.
Tue Sep 11 2012, 09:29:16, download attachment ton_toff.jpg
(no subject) (by Chris)
I have checked it in hw and itīs a bug, one normally unnoticed bug. What is the supposed function of the
antiglitch ?
Tue Sep 11 2012, 11:35:56
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):