(you are viewing a thread; or go back to
list of threads)
Relay on off (by Amod Pathak)
Hi,
Please guide me to make relay (y1) to on with x1 and off with x2.
Amod Pathak (by Calubert)
te adjunto un programa. Calubert Paulino
(no subject) (by Zoran)
Try like this this is with NO contacts
(no subject) (by MGP)
Attached your program, pushbutton X1 = on and X2 = off.
(no subject) (by MGP)
2 programs posted at the same time, great ;)
(no subject) (by Calubert)
(por Amod Pathak).Has visto tres programa diferentes que hacen lo mismo, por ello debes mirar el manual de LDMicro en la pestaña de ayuda.
(no subject) (by Calubert)
Los tres programas hacen lo mismo, pero según el programa que se escoja, Amod Pathak.ld este ocupa de memoria 3%. Relay.ld 5%
.ON_OFF.ld 4%. Probado con PIC16F628 en Hex.
esto no quiere decir que no estén bien hechos, es para entender y saber que cuanto mas simple se haga menos memoria ocupa en el micro-controlador.
(no subject) (by Amod Pathak)
MGP,
It's not working.rest all file doesn't open in ldmicro.
(no subject) (by Amod Pathak)
hi,
please check my program i want to turn off COMPRESSOR when THERMOSTATNC is high
(no subject) (by MGP)
I can't figure out how your program must work and using Ycirvalve in two different places confuse me.
The reason why you cannot open all programs is probably because you are using an old version of LDmicro.
Download version 5.3.0.4
(no subject) (by Amod Pathak)
MGP,
Please check why this is working,yours did not work.
(no subject) (by MGP)
This is because portB has pullup resistors, in your program one contact is connected to the Bport and de other to the Dport.
(no subject) (by Amod Pathak)
MGP,
What should I do now.
(no subject) (by MGP)
Do you have a schematic of your buttons how they are connected to de controller?
(no subject) (by Amod Pathak)
MGP,
Please find pcb layout.this is component side.
Modificado (by Calubert)
(por Amod Pathak). Hola no se muy bien lo que quieres hacer, ya que veo que usas las patillas de salida directas, creo que deberías hacer reles internos y una vez halla echo todas las variables que le den la orden a las patillas de salida (Puertos).
yo solo te he colocado un Reset y un Franco alto, esto lo que hace es que cuando el temporizador da la orden activa el compresor y hasta que el termostato no llegue a su temperatura hará el Reset al compresor, ten en cuenta que nunca arrancar el compresor si el termostato esta fuera de rango o temperatura ajustada.
(no subject) (by Amod Pathak)
MGP,
Switch is connected as image attached.
(no subject) (by MGP)
Then you have to invert all inputs because they are ON at rest.
In the simulator tag the "HI input", then you can simulate it as in real live ;)
(no subject) (by Amod Pathak)
MGP,
Not working,pls check
(no subject) (by MGP)
This must work, otherwise there is something wrong with the hardware.
Are the settings OK, do you have a 16Mhz crystal?
(no subject) (by MGP)
Sorry wrong file..this is the good one.
(no subject) (by Amod Pathak)
MGP,
Yes I have 16Mhz crystal.
Relay on off (por Amod Pathak) (by Calubert)
Probaste el software gajananbhoj.ld.
Ami me funciona con el simulador
(no subject) (by Amod Pathak)
Not tested yet.Iam sending details of my code
(no subject) (by Amod Pathak)
why my this program is not working.when THRTMOSTATNC is high
then COMPRESSOR should go off.
(no subject) (by Calubert)
Si funciona, con que versión de LDMicro estas trabajando.
abre Tu programa escalera, una vez abierto, clics en la ventana SIMULAR activa Modo simulacion, y iniciar simulación en tiempo real.
una vez lo tengas oprimir Xwlc1 todas las lineas cambiaran de color y después oprimir Xthermostatnc.
Una pregunta no funciona en LDmicro o en tu procesador
(no subject) (by Calubert)
Veo que tienes 2 Ycirvalve, Esto no es correcto no puedes activar 2 Ycirvalve ya que son puertos de salidas, lo que si que se puede hacer es con los puertos de entradas que son X, Esto se resuelve con los reles internos que son Rcirvalve, cambia el contacto Ycirvalve por Rcirvalve, y haces un contato interno alto o bajo y este contacto Rcirvalve que active el puerto Ycirvalve una sola vez este contacto.
(no subject) (by MGP)
You made a hardware fault, the program should work.
(no subject) (by Amod Pathak)
Is this circuit is wrong with ldmicro.
(no subject) (by MGP)
No, nothing is wrong, it should work.
Have you already figured out how it works?
Led ON = input PIC low
Led OFF = input PIC high
(no subject) (by Amod Pathak)
Led on when input is high.led low when input is low.
(no subject) (by MGP)
That is not what you diagram shows.
(no subject) (by Amod Pathak)
How I can do PORTA all to low and PORTB all to low
(no subject) (by MGP)
Invert all the inputs (negated), see your program
(no subject) (by Amod Pathak)
why this program is working
(no subject) (by MGP)
I dont know, you tell me, I cannot see what you are doing, thats why we cannot help you, we can only guess.
(no subject) (by Amod Pathak)
Pls share a low input optocoupler circuit for switch
(no subject) (by MGP)
I think you have another issue, take a look at the picture attached.
(no subject) (by Calubert)
por Amod Pathak) aquí tienes reglado, pero te comunique en mensajes anterior que hicieras el cambio por los reles internos (R) por las Y repetidas ya que las salidas no se pueden activar nada mas una vez,
prueba y me dices.
también se tiene que mirar las patillas de salida se tiene que tener en cuenta los pines de salida el el micro controlador ya que hay pines que solo son entradas y los usuarios los usan como salida y no funciona. el programa me funciona perfectamente.
mira que los contactos los tienes cerrados (NPN), que quiere decir que cuanto le des tensión al micro-controlador se activaran las entradas como las salidas.
(no subject) (by Calubert)
Si (by MGP) es el error que tiene y creo que el pin 4 solo es entrada y no se puede usar como salida.
(no subject) (by Amod Pathak)
On smiulation it is working but on my hardware it is not working.
(no subject) (by Amod Pathak)
Iam totally confused
Para (Amod Pathak) (by Calubert)
(por Amod Pathak) Puedes mandarme tu circuito del micoprocesador y el programa de LDmicro, te lo revisare y te lo haré en hex.
para el micro que tu estas usando y la PBC. de que país eres.
(no subject) (by Amod Pathak)
Iam from India.Please find attached PCB layout of my PLC.
(no subject) (by Amod Pathak)
Microcontroller 16f877A
(no subject) (by MGP)
All the output optocouplers are in the wrong direction and check the schematic of those again.
(no subject) (by Amod Pathak)
I have changed the direction of all optocoupler
(no subject) (by MGP)
Then all the collectors of the output opto's are connected to the GND of the 12V and this is bad...
(no subject) (by MGP)
Sorry, it's not the case...
(no subject) (by MGP)
Do you have a schematic?
(no subject) (by Amod Pathak)
No,I don't have schematic.
(no subject) (by MGP)
Do you have a schematic of one output relay?
(no subject) (by Amod Pathak)
Pls find attached file
(no subject) (by Amod Pathak)
Pls find attached file
(no subject) (by MGP)
The best you can do is remove the 16F877 and test the optocircuits, then you also can see what they need as input, a 5V or 0V.
With the help of a voltmeter can measuring what is wrong if it does not work.
The led in the output circuit of your drawing is in de wrong directon and also on the pcb.
(no subject) (by Calubert)
por Amod Pathak) mándame el programa en escalera en LDMICRO en RAR o Zip, yo te haré el circuito en Proteus, y lo probare y sabrás donde esta el fallo, te lo hago porque veo que tienes varios días este problema y sera para ayudarte a solucionarlo.
veo que tienes mas entradas como salidas de lo que pones en el gajananbhojV3.ld
by Amod Pathak) send me the program in ladder in LDMICRO in RAR or Zip, I will make the circuit in Proteus, and I will try it and you will know where is the fault, I do it to you because I see that you have several days this problem and it will be to help you fix it
I see that you have more inputs as outputs than what you put in the gajananbhojV3.ld
अमोद पाठक द्वारा) मुझे RAR या ज़िप में LDMICRO में सीढ़ी में प्रोग्राम भेजें, मैं प्रोटीन में सर्किट बनाऊंगा, और मैं यह कोशिश करूंगा और आपको पता चल जाएगा कि गलती कहां है, मैं आपसे करता हूं क्योंकि मुझे लगता है कि आपके पास यह समस्या कई दिनों की है और यह आपकी मदद करना होगा इसे ठीक करो
मैं देखता हूं कि आपके पास ganananbhojV3.ld में डाले गए आउटपुट की तुलना में अधिक इनपुट हैं
(no subject) (by MGP)
You can try but I think it's a hardware issue.
I never have made a program that works in the simulator and not on a PCB and I made ~200 programs... maybe more.
I also have my doubts about the PCB, print tracks of the power supply are way too long and too small.
And without schematic we can only guess, see the resistor on the pcb drawing.
(no subject) (by MGP)
Btw. both VDD and VSS must be connected.
(no subject) (by Calubert)
Una pregunta Amod Pathak esta PBC esta fabricada por ti o es una ya en venta, la resistencia que marcas estas usándola a negativo - necesitas una resistencia mas por acoplador a positivo + para hacer el 0v o 5v. (Bajo o Alto sino lo haces puede que tede fallos o se activen o nunca se desactiven ya que los retornos de corriente se quitan con una resistencia a alto o bajo según si trabajas a PNP = + o NPN = - )
Esta placa de PBC no esta bien Para lo que quieres hacer te faltan componentes
(no subject) (by Amod Pathak)
My relay optocoupler circuit works with 0V.
(no subject) (by Amod Pathak)
I manufactured this PCB.if you have any diagram then pls share
(no subject) (by Calubert)
como se llama tu programa que hiciste el diagrama, Proteus, Multy sin, yo trabajo con estos, si usas el Proteus que sepas que puedes hacer la simulación en el proyecto en proteus con el Hex. de LDMICRO.
yo para ayudarte necesito saber tu programa en escalera con LDmicro y te harre el diagrama para que tu hagas la PBC. pero necesito saver tu escalera real ya que tengo que asignar los pines correctos de entrada y salidas del micro-controlador añadirlas para que todo te funcione correcto, yo te lo puedo probar a tiempo real ya que tengo una PCB fabricada por mi para hacer las pruebas y después que se testes se fabrica en series para su venta.
(no subject) (by Amod Pathak)
Calubert,
Thanks for help.In my PLC I need 5 inputs and 8 output.In my ladder I got stuck in second input so I couldn't go further inputs.
Pls send me link for proteus.
(no subject) (by Amod Pathak)
Calubert,
Can you send PCB to me or schematic.
Proteu para instalarlo (by Calubert)
(no subject) (by Amod Pathak)
Calubert,
Can you make PCB layout for me .for 5 inputs and 8 output.
(no subject) (by Calubert)
Pero que quieres que te mande si no se que programa quieres, o que tipo de escalera si no se que quieres que haga el software no podemos hacer el arware.
1º hacer escalera.
2º fabricar PCB ( no podemos hacer una PCB si no sabemos que Software tenemos entendiste)
(no subject) (by Amod Pathak)
Can I have optoisolated circuit for input and 12v relay control circuit as an output.for 16f 877a
(no subject) (by Calubert)
mírate el generador y mira la resistencias que están a masa - cuando mandas voltaje 5V+ al ser mayor los 5v que la intensidad de negativo - , cuando dejas de mandar 5V+, al ser mayor el negativo - deja de emitir. y deja a 0 el opto,
Post a reply to this comment:
|