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.

0

How to use the digital/analog Inputs

por
Guest
en 15/9/20 4:11 62 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).


0
Industrial Shields Forum user

Guillem Cura Marti

--Guillem Cura Marti--

1000000005
| 0 0 0
Sant Fruitós de Bages, España
--Guillem Cura Marti--
Guillem Cura Marti
En 15/9/20 5:59

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.

Mantener informado

Acerca de esta comunidad

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. Lea los lineamientos

Herramientas de las preguntas

2 seguidor(es)

Estadísticas

Preguntado: 15/9/20 4:11
Visto: 62 veces
Última actualización: 15/9/20 5:59