Ladder program on Mitsubishi-type GFX3 PLC turns on LEDs but not contacts

Thread Starter

quique123

Joined May 15, 2015
405
OK so instead of this:

PLC ---------PLC
0V ------------S/S
24V-----------X0

This:
PLC ---------PLC
0V ------------X0
24V-----------sensor +
 

Thread Starter

quique123

Joined May 15, 2015
405
BB5A2235-3F4C-4A21-AEFB-B5C088FEA63B.jpeg OK I got it working. It's like you said, with the only difference is that I disconnected the com0 to 0v that I had, and with the fact that this is an npn sensor.

Here is the image:


So assuming it's actually because this is an npn sensor instead of pnp sensor, what would be the way to connect a pnp sensor to this plc?
 

Thread Starter

quique123

Joined May 15, 2015
405
If you have it set for a sinking input which it appears you do.
Then normally you use a sourcing sensor, which a PNP is.
Max.
The way I have it set up in this last picture works with the NPN sensor. This same set up does not work with the PNP sensor.
 

MaxHeadRoom

Joined Jul 18, 2013
28,681
That unit must be totally different from a standard Mitsubishi of the same type.
So you will have to use sinking sensors it seems, which a NPN is.
Max.
 

Thread Starter

quique123

Joined May 15, 2015
405
What's weird is that the manufacturer said this was an npn type plc which means that it should use pnp input devices, right? At least that's what I've heard in videos, that you want to match npn devices to pnp plcs and vice versa.
 

MaxHeadRoom

Joined Jul 18, 2013
28,681
Puzzles me why a manuf. would attempt to copy the Mitsubishi, down to the Sink or Source input (S/S) and restrict it to only one configuration?
Max.
 

Thread Starter

quique123

Joined May 15, 2015
405
She just answered this:

Mitsubishi is possible to connect sink with sink/source. But our PLC is sink to connect sink sensor

And she put these pictures up:

53B85509-9260-443F-B8D6-EE12551D082C.jpeg A16EA238-78FE-47CF-8389-AD3617C9F311.png D604E5D7-B0B6-4AC3-BF9A-B0B1045A86BE.png
 

ScottWang

Joined Aug 23, 2012
7,398
The Chinese Char shown as : This kind of connection needs two independent power supplies, the sensor needs an independent power supply, and the input of power quite strange, because it shown that Up -24V and Down +24V, that is 48V, and the Positive pin connected to -24V, Gnd connected to +24V, the Power wiring should be the same as the NPN type, the sensor just send the feedback as Source is +24V or Sink is 0V, the PLC side just input +24V or 0V.

ProximitySensorPNPType_quique123.jpg
 

Thread Starter

quique123

Joined May 15, 2015
405
What if like to know is the following: According to what I've read, a sinking (npn) input must connect to a sourcing (pnp) plc, and a sourcing input must connect to a sinking plc; all of this in order for the circuits to work. Although I'm just starting to get comfortable with s/s concept in theory, I can understand why that is true. If a sensor is sinking, it needs the power from the sourcing plc so that the sensor can sink it, and vv.

So what I wish to clear up is, why if my sensor (the one that worked) is npn (sinking), did it work with a npn sink type plc? According to the manual it's a sink type plc:

 

MaxHeadRoom

Joined Jul 18, 2013
28,681
I have become used to the fact the hard way that not all Chinese instructions are clear or even correct, they consistently issue very confusing instruction details, not at all always correct, not sure if it is always ignorance of the subject or a language problem!.
Max.
 

ScottWang

Joined Aug 23, 2012
7,398
and a sourcing input must connect to a sinking plc;
That's what I uploaded that the PNP(I guessed) sensor providing the current source to a PLC sink input.

If a sensor is sinking, it needs the power from the sourcing plc so that the sensor can sink it,
That's the second circuit in your posted #70.

So what I wish to clear up is, why if my sensor (the one that worked) is npn (sinking), did it work with a npn sink type plc? According to the manual it's a sink type plc:
The two NPN type shown below, you can see the current direction(arrow) and the blue line.

PLC sinking type to sensor sinking type_quique123_ScottWang.png

About the Diagram 6, the external should be connects to a contacts of relay to GND or connects to a C of NPN bjt, and C connects to GND.
 

ScottWang

Joined Aug 23, 2012
7,398
I have become used to the fact the hard way that not all Chinese instructions are clear or even correct, they consistently issue very confusing instruction details, not at all always correct, not sure if it is always ignorance of the subject or a language problem!.
Max.
It is not a language problem, that was a technical issue, as you can see my posted #71 already mention that, I had try other brand (world famous but from other country) that had RS-232 communication code error in the user manual and that was in Taiwan.
 

MaxHeadRoom

Joined Jul 18, 2013
28,681
I find it strange they would even include a S/S option but in fact the unit appears it does not have it?
Also the 0v-24vdc input supply is usually internal, on the Mits. it is anyway.
Max.
 

Thread Starter

quique123

Joined May 15, 2015
405
Scott

In that diagram you have current flowing in 2 different directions; from the Blue wire to X0 and at the same time from the blue wire to Vo. How is that possible?
 

ScottWang

Joined Aug 23, 2012
7,398
Scott

In that diagram you have current flowing in 2 different directions; from the Blue wire to X0 and at the same time from the blue wire to Vo. How is that possible?
I just shown the blue line, but they didn't connected together, It means that you can't connect them together directly for two Sinking type as NPN, the same reason that you can't connect two Sourcing type as PNP.

Edit :
You need to add a Sourcing type (as one stage PNP) from sensor to the PLC.
 

ScottWang

Joined Aug 23, 2012
7,398
If the two souncing type as I drew then they can't connected together, It told you that just don't connect them together directly, if you connect them together then it will no harm, but it also doesn't affect anything, so I suggested to add a Sourcing type (as one stage PNP) from sensor to the PLC.
 
Top