Ir al contenido

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Esta pregunta ha sido marcada
1 Responder
3369 Vistas

I have a problem when using the digital/analog Inputs 10.7 to 10.12 on a MDuino 21+.  How can I change the mode for use the digital/analog inputs as one type or another?

Also the indicator Leds are lightning when I connect a switch with 24vdc to the inputs but there is not any reaction when I program with the digitalRead(I0.7).

Avatar
Descartar
Mejor respuesta

Let's check all the steps to get this inputs work as expected: 


1) The PLC needs to be powered externally (12/24Vdc) 

2) This inputs can work as analog or digital and you can choose it on the Arduino IDE program (not by hardware) 

3) Have you checked all the inputs from I0.7 to I0.12? Is possible that a peak of amperage or an overvoltage have affected this inputs? From I0.0 to I0.6 are all optoisolated digital inputs, so that if an overvoltage of peak of current have affected the equipment, this inputs have an external circuitry and can still work. 

4) Here you can check how to connect and work with this inputs as analog, but the same program can work with digitalWrite instruction:

https://www.industrialshields.com/blog/arduino-industrial-1/post/learning-the-basics-about-analog-inputs-of-an-industrial-plc-29

5) Confirm me that you are using the following model on Arduino IDE boards: 

image.png

I hope I have been helpful.
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 25
1095
1
sept 23
1860
1
may 24
1448
0
jul 23
1021
1
jun 20
3307