You would connect the BLK to the input and the blue to the Term 12 of the G540, presumably there is a powers supply for the G540 inputs provided?
The Brown would be your 5v if this is what you have.
My Active Proximity Home switches, has 3 wires. Brown, Blue and Black.
It is a switch of this type:
https://nor.grandado.com/products/sn...Q6Mjg4NjM0MDM3
The switches now have their own 5v power supply, and are each connected to this via Brown to plus and blue to Minus. The Black, "Load" i would think could go to terminals 1, 2, 3, and 4, on the G450. But I do notice the wiring is different in the wiring diagram, but allso the depicted switches steem to be a different kind than what I have.
Thanks for any help.
Best regards, I_V_A_R
Similar Threads:
You would connect the BLK to the input and the blue to the Term 12 of the G540, presumably there is a powers supply for the G540 inputs provided?
The Brown would be your 5v if this is what you have.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Thank you Al_The_Man!
Terminal 12 is minus which technically would be the same as the minus of the
45 v power supply that powers the G540.
If brown then goes to the plus of the 5v power supply, then it means that the home switches are connected to 2 different power supplys, with the minus to the big and plus to the small.
This is counter intuitive to me. (It is true, electronics is not my forte)
It does however make sense to me that the switches must be connected to the G540 2 wires.
Otherwise I guess it wouldn't be circuit, and the switch wouldn't work.
So that means only the brown + wire determines the voltage for the switch?
And the blue to term12/ minus on the large power supply just "completes" the circuit?
I did realize eventually that the home switches ideally should have a 10 - 30 v power supply instead of 5v.
Last edited by I_V_A_R; 09-11-2022 at 02:01 PM. Reason: Typos
It also means that the only difference between wiring with my pnp switches, and the wiring diagram from the G540 manual, is that in my case, there is a wire from my pnp to the + of a 10 - 30 v power supply. Could you confirm this?
Manny thanks.
Are you using the same supply that is connected to the G540 for the prox? Or a separate supply.?
The G540 uses a source input, suitable for sinking devices, which yours is, i.e. NPN
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
The sensors must be NPN style to work with a G540
The sensor's negative terminal shares the connection with the negative supply for the G540.
The sensors you show allow input power between 10 VDC and 30 VDC, so you will need another power source or a voltage regulator to provide this. This power source will also share a connection to the negative supply for the G540.
No, separate supply's.
The G540 is pwered by a 45 V supply.
The NPN's are power by a 5V supply (...that should have ben over 10 V ideally).
I did what you told me initially and it worked.
Black is now at the Gecko 1, 2, 3, terminals,
Blue(-) is on 45V-supply minus terminal, and
Brown(+) is on 5V-supply plus terminal.
The led on the npn-switches lights up when i hold a screwdriver up to it.
So I guess that's it... I have yet to test if they will indeed work. But that wont happen until I have finished setting up my ESS and Mach4.
It is fairly common for the sensors to work on 5 VDC under room temperature conditions, but I hesitated to recommend going outside the manufacturers specifications.
Steve Stallings
PMDX.COM - Products for CNC and motion control applications
If you have the negative of your 5 VDC supply connected together with the negative supply of the G540, you have defeated the opto-isolation provided by the G540's interface. For desktop environments this may be acceptable but not for industrial conditions.
Steve Stallings
PMDX.COM - Products for CNC and motion control applications
Meaning it couldn't be PNP?
Is that because + goes inn to the device and determines the voltage and, - goes out of the device and, and also is connected with the G540?
In other words, if it was PNP, then Brown would be connected to the 11 terminal(+) of the Gecko, and then 45 v would go to the PNP which is to much?
Seriously you dont have to answer this if it is very clueless and way off. I'm just curious.
Somehow the sensors are getting a connection to the 5 VDC minus. It may be through chassis ground of the power supply, but is has to be there for the sensor to work.
Also, yes NPN is required for sensors because the G540 looks for the sensor input to get pulled to ground (negative power lead). The PNP sensors will pull the signal to their power supply voltage and the G540 would ignore this. There no way to arrange the wiring of PNP sensor to make it work with a G540.
Steve Stallings
PMDX.COM - Products for CNC and motion control applications
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
The fact is that in my cnc, a fairly inexpensive chinese router, the elecronics concisted of: 40v powesupply, 5v
powersupply, a board for each axis X Y and Z, a board for the spindel, the 10-30 v NPN's, the VFD and finally a hand controller. So i hobestly dont know where the NPN's used to get their power from if one of the boards didn't have some kind of transformator built in, actually when I think about it there is a terminal for 10V on the VFD so maybe the answer lies there. The answer to your quedtion is, I concluded that since my machene worked before my rebuild/upgrade, I shuldnt need more power suplies if the G450 and the Warp9-ESS Didnt require so. Ironically I did get a brand new 5V 10A powersupply for the ESS, cause I didnt want it to share the 5V with the NPN's because the 5V only had 0.5A which according to Warp9 is the absolute minimum (or close to) anyway, I think I could have used the old 5V for the ESS and got'n a new 10v or 30v for the NPN's unless maybe the G540 somehow vould provide 10-30v?
Do you have these?
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
I stil have an issue, and I have to determine if this is due to wrong wiring or wrong setup in Mach4.
No matter which of the NPN's I test with a peace of metal, Mach4 tells me that: "Home switch Z Home tripped!"
And when I test ither of the NPN's the 3 lamps X Home, Y Home and Z Home, lights up/or shuts simultaneously in Mach 4 Diagnostics window.
I am as of now not certain if it is a wiring issue or a software issue, a sheelding issue, or the fact that I have a 5V powering my NPN's that really asks for 10-30V
Now my switches give the following result, one single switch will trip all 3 axis in Mach4. And this happens with the following connections:
Blue wire from all individual switches to negativ terminal og 45V power supply (which also goes directly to terminal 12 on the gecko)
Black wire, is going individually from X to Gecko term 1, Y to Gecko term 2, Z to Gecko term 3.
Clairly, this cannot be right. I have checked that the DB 25 is not a crossover cable just for the heck of it, as it was mentioned in the G540 manual.
It is now almost hocked up like the G540 wiring diagram says, except on the switches
Instead of "C common" it's "Black Line",
Instead of "NC Normally closed" it's "Blue minus"
Instead of "NO Normally open" (which doesn't go anywhere) it's "Brown plus" which also doesn't go anywhere.
Switches are different from prox type, the latter require both + and - v .
Are these open collector prox switches, i.e. no internal pull ups?
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.