(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?
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.
(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.
(no subject) (by MGP)
It is not possible what you ask!
(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.
(no subject) (by Andre Luiz)
Is it possible to program with ldmicro to simulate the cd4028 circuit?
decoder bcd.
(no subject) (by MGP)
Here you have an example.
But it is not the solution for you problem.
(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.
(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.
(no subject) (by Andre Luiz )
Friend you, could create a program to simulate the integrated circuit 74ls147, decimal encoder for BCD.
check it (by MAQ)
see attach
(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.
CHECK IT (by MAQ)
SEE ATTACH
(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.
(no subject) (by Andre Luiz )
Decoder
(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.
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
(no subject) (by Andre Luiz )
Thank you all for your help.
The .ld files are what I expected.
Post a reply to this comment:
|