+ Post New Thread
Results 1 to 4 of 4
-
11th February 2019, 23:52 #1
- Join Date
- Feb 2019
- Posts
- 2
- Helped
- 0 / 0
- Points
- 19
- Level
- 1
Open collector output arduino with led with PLC inputs problem
Hello
Please, let me know if the diagram is correct. Arduino hands out a transistor which in turn drives the input in the PLC. The PLC responds to a short to ground. The question is, why, despite the lack of the signal from andurino in the PLC, the entry at random moments is violated?
The LED is a need for optical control of the ardiuno output control. Transistor BC847.
The input data is a momentary / monostable signal with ardiuno, and "PLC" basically represents the alarm panel input which implements the bistable mode and switches on / off specific outputs after violation of the input. The problem is that occasionally the PLC controls the output despite the absence of a violation with ardiuno (the LED is off and the PLC informs about violation of the IN input).
-
Advertisment
-
12th February 2019, 00:16 #2
Awards:
- Join Date
- Jul 2009
- Location
- Aberdyfi, West Wales, UK
- Posts
- 12,533
- Helped
- 4177 / 4177
- Points
- 76,649
- Level
- 67
Re: Open collector output arduino with led with PLC inputs problem
Two potential issues:
1. the 'low' level at the PLC input cannot go lower than VCEsat + diode Vf. A Schottky diode would be more appropriate than a 1N4005.
2. if the PLC pulls up to +12 (as shown) it probably exceeds the PIV limit of the LED and could therefore perhaps not reach full 12V.
You could consider moving the LED to the output of the Arduino instead of the collector of the transistor.
Brian.PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.
-
Advertisment
-
12th February 2019, 00:40 #3
- Join Date
- Feb 2019
- Posts
- 2
- Helped
- 0 / 0
- Points
- 19
- Level
- 1
-
Advertisment
-
12th February 2019, 01:48 #4
Awards:
- Join Date
- Apr 2014
- Posts
- 14,177
- Helped
- 3237 / 3237
- Points
- 69,422
- Level
- 64
Re: Open collector output arduino with led with PLC inputs problem
Hi,
The series diode will at least safe the LED.
You say the PLC reports the violation.
This means the PLC (and not the LED or the arduino) sees the wrong voltage.
So the voltage may be
* too low
* too high
* or somewhere between valid low and valid high value.
A scope or a DVM could give clarification.
And the documentation of the PLC ... when/why the PLC sees a violation.
KlausPlease don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.
+ Post New Thread
Please login