Driving a FX2N' digital input with a LDR

Ok, I understand that circuit of post 13 will not work as I will need a transistor. I am still unable to solve this. On the last circuit I posted, when measuring with the virtual instruments of the Proteus simulator I can see a very low voltage at the connection point to the PLC but in real life I measure between about 5 and 12V. As I am using all the other inputs of the PLC connecting them to the negative of the 24V power supply when I want them high and leaving them floating when I want them low, I think it is not good to have such voltages. Parky you mentioned a PNP transistor, do you mind drawing a circuit for me please?

Another way Parky mentioned before: Using a relay between the transistor and the PLC. I have a relay that uses 12V in the coil and another one that uses 5V there. I measured 362 ohms on the coil of the first one and 0.2 ohms on the coil of the second one. If I connect the 12V relay to 5V I can hear it clicking so my circuit is still not good for it. If it is easier for you probably you can draw a circuit that includes one of this 2 relays?

Using Multisim I managed to simulate the following that it works the way I want as when the LDR resistance changes to 35kohms the light bulb turns off. (Please note that in this new circuit I had to move the LDR to the top). I am also including the circuit showing how I plan to connect it to the PLC.

Please give me your thoughts about it. I am still wondering how this can be done using only solid state electronics. Thanks

LDRtoRelayfoPLC01.png LDRtoRelayfoPLC2.png
 
Last edited:
Can you provide documentation for the digital input on the clone?

Is there a manual that provides sample or suggested wiring diagrams?

Can you provide the specifications for the LDR?
 
Last edited:
The resistance of those coils does not seem correct so I suspect that one of them is an AC relay, hence the low coil resistance, a 12v relay driven off 5 volts is not a good idea, the induced magnetic field will be low perhaps that is why it chatters.
Here are some basic circuits, you will need to adapt them with resistor values to suit, if you have a transistor simulator that should be no problem, TBH, it's been over 40 years since I did any real work in discrete transistor circuits & lost quite a few brain cells since then.

circuit-diagram.jpg simple-pnp-transistor-circuit.png
 
Thanks for the answers.
I am using the Mitsubishi FX2N manuals I've found on the web as this clon does not come with any pdf or printed manual or leafleat or URL or anything at all.
The LDRs are generic and do not have any marks, so I measured them with a multimeter and the one I am using now shows this values:


32 kohms when the laser is not illuminating it
3.2 kohms when the laser is illuminating it
 

Similar Topics

We have a handful of nearly identical flywheel-driven machines. About a year ago, we installed a 15HP Powerflex 525 drive in simple V/Hz mode...
Replies
2
Views
880
Is there any issue with running a VFD-controlled 3-phase induction motor in torque control mode in the braking region continuously (back-driven by...
Replies
14
Views
4,019
Hello everyone, we're trying to get some information from our screwdrivers. - The control chain is IqR plc with RD77MS16, connected to MR-J4 and...
Replies
1
Views
829
Hi All, trying to restore a runtime application that i have been reliably informed was created in version 10 ftview, i get the below error:-...
Replies
1
Views
975
This is the tab order I have in the e-sign component in Rockwell. Is it set in stone can this be modified? The ideal set up would be to get to...
Replies
1
Views
1,281
Back
Top Bottom