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 - Circuit example

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

Circuit example (by Andre Luiz )
Hello Friend,
I have a circuit with 2 inputs and 3 outputs.
Connecting input 1, output 1 on.
Connecting input 2, output 2 on.
But when the input 1 and 2 are connected at the same time the output 3 switches on and the outputs 1 and 2 remain switched off.
How to do this in ldmicro?
Fri Jul 28 2017, 12:19:50
ladder (by Wojciech)
So the program is very easy but you must use to a short time delay(I use 100ms, you can change it) to delay input signal 1 and 2.
Fri Jul 28 2017, 13:09:10, download attachment Przechwytywanie.PNG
(no subject) (by Andre Luiz )

My friend, it's almost there.
The problem is that if I want to trigger output 1, I can not if output 3 is triggered.

I need input 1 and 2, as if it were a third input.
Fri Jul 28 2017, 13:42:16
(no subject) (by MGP)
It is not possible what you ask!
Sat Jul 29 2017, 06:53:51
(no subject) (by Wojciech)
"The problem is that if I want to trigger output 1, I can not if output 3 is triggered."

But i made it?

or you have to use set, reset relay and edge rising and falling.
Sat Jul 29 2017, 08:56:19
(no subject) (by Andre Luiz)
Is it possible to program with ldmicro to simulate the cd4028 circuit?
decoder bcd.
Sat Jul 29 2017, 21:56:09
(no subject) (by MGP)
Here you have an example.
But it is not the solution for you problem.
Sun Jul 30 2017, 02:35:34, download attachment CD4028_bcd_dec.ld
(no subject) (by Andre Luiz )

That's what I wanted.
I just put the X1 keys in parallel with xb1 and xb2 to simulate, and it worked the way I wanted it to.
Ps: where do I learn to use the features of ldmicro like these, I have to study which programming language?
thank you.
Sun Jul 30 2017, 15:56:36
(no subject) (by MGP)
You can only have 1 output true, that's not what you asked for, but it's ok if you are happy ;-)

Programming in any language is general knowledge and gaining a lot of experience .... and especially knowing exactly what to achieve.
Mon Jul 31 2017, 02:52:02
(no subject) (by Andre Luiz )
Friend you, could create a program to simulate the integrated circuit 74ls147, decimal encoder for BCD.
Tue Aug 1 2017, 18:28:18
check it (by MAQ)
see attach
Tue Aug 1 2017, 23:33:14, download attachment CD4028 check it.ld
(no subject) (by Andre Luiz )
Friend, this attachment is the same as MGP, BCD decoder for Decimal,
What I want is from Decimal to Binary or Binary.
Wed Aug 2 2017, 08:17:44
CHECK IT (by MAQ)
SEE ATTACH
Sun Aug 6 2017, 06:57:12, download attachment Decimal 0-255 to Binary 8 Bits.ld
(no subject) (by Andre Luiz )
Friend thank you very much.
More, I did not understand the operation of the decimal encoder for binary,
I'm new in the area
I realized that the binary counter works, but the decimal encoder for binary, I could not make it work,
When actuating the input 1 XD1 or the input 3 XD3 the outputs YB0 or ​​the output YB2 does not operate.
I did this but I do not know if it is operational in programming mode, but it works.
Sun Aug 6 2017, 14:22:56, download attachment decimal para binario simulação.ld
(no subject) (by Andre Luiz )

Decoder
Sun Aug 6 2017, 14:24:43, download attachment decimal to binari.ld
(no subject) (by MGP)
I think this is a better version, only 1 switch can be true.

But you have thought about it and that's what I wanted ;-)
Otherwise you learn nothing.
Mon Aug 7 2017, 06:33:05, download attachment Dec-to-BCD.ld
check it (by MAQ)
Dear

its simple operation , XD1 - XD255 IS INPUT
YB0 - YB8 IS OUTPUT 8 Bits

ItS WORKING PROPERLY NOW

Error Removed From There

I also Think is Better Version
Thanks To You
Tue Aug 8 2017, 16:04:12, download attachment Decimal0-255toBinary8Bits 2nd.ld
(no subject) (by Andre Luiz )

Thank you all for your help.
The .ld files are what I expected.
Tue Aug 8 2017, 22:02:59
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):