Looking for some guidance on installing the a micro-switch on the lid so laser is turned off if lid opened while job is in progress.
@Robi_Akerley-McKee posted some pics previously to help me out and I managed to install a key switch that needs to be turned on for the machine to start.
The images for the switch are a little different than mine so I’m just looking for confirmation so I don’t get it wrong.
I’m looking to take the wire from the on/off laser switch and run that to the lid switch first and then to the on/off switch.
There are two blue and two red to the on/off switch. one red and one blue goes to the switch above. My question is should I connect the switch with the blue wire or the red?
Or do I need to trace the wire to figure out exactly what the wires are.
Don’t wire it there. There’s several reasons, the voltage is one, but the K40 guys actually designed in a place for this function (too bad they didn’t implement it)
Put it in series with the “LASER SWITCH” - this is a loop designed to shut down the laser and is for door switches, flow switches etc.
They used it only as a manual enable/disable switch, but it can shut down the laser on a variety of error conditions, you need only add the appropriate switches (closed for “normal” open for “fault”) ans daisy chain them all. The switch is a handy place to cut into for door switches.
If you run the wire down the divider wall, you can interlock both the main door and Electrical box cover with 2 switches right next to each other. A 3rd on the Laser tube door wouldn’t hurt (or put a screw in it)
It’s a 5V loop, so is safe to work with and very low current so fine gauge wire can be used (22awg or heavier would be best)
(the terminals it’s hooked to on that style power supply are WP (the input which has to be pulled to ground to enable the laser) and Gnd
Use the “C” and “NO” connections on your switch(es)
@Scott_Marshall thanks for this, I think what I was suggesting in a roundabout way was what you’ve said. I like the idea of adding switches to the other doors and will definitely do that as I got a pack of 4…
Hopefully this drawing is clear and is actually what you mean?
You should wire the switch in series with Laser Switch. Use NO (normally open), so once the lid is closed, laser circuit is closed and when you open the lid switch will change to OPEN state and swith the laser OFF (the same way as you would set Laser Switch to OFF. Check wiring and search for most convenient connection.
@Nigel_Conroy I got your post on my phone but not updated with earlier comments. I think @Scott_Marshall already answered the question. BTW: this is a very nice machine.
Your PSU for the laser looks just like mine. Assuming it is the same:
BLACK wire (3rd from left side on the middle connector) is Laser Enable
BLUE wire (4th from left side) on the same connector is GND
Please double check it first with the multimeter and make sure my guess is correct. Connecting BLACK and BLUE to GND will enable the laser, this is what actually Laser Enable switch does.
You can freely connect in series additional switches or sensors e.g. water flow, cooling water temperature, lid sensor etc. Make sure that each of the switches connected in series is closed during normal machine operation. Disconnecting any of the switches connected in series will disconnect the circuit and disable the laser.
I can’t tell from that diagram exactly what the 2 switches on the left are, but it looks as though they are 2 pole ac line switches (DPST) and are hooked to the AC mains. One is main power on and the other the power on for the water pump?
If so, that is wrong and will destroy your power supply. The “WP/Gnd” loop (called P+/P- on the other PSU variation) is a 5 volt DC loop which is self powered. By connecting the WP to gnd, an internal optoisolator is operated, enabling the laser fire circuit. Do NOT introduce any voltage to this terminal, especially line power. The ONLY line power going to the PSU is the Power IN, on pins 2,3,&4 of the left hand 4 pin connector. ALL control circuits are 5 volt.
If you were to draw a vertical line down the center of the drawing, you would have the 2 red wires going to the right. cut one of the wires going the the “LASER SWITCH” switch and connect these 2 wires to the exposed ends. (either one goes either way).
The switches on the left side are line power (breaking both lines with a DPST switch for each function - required in Europe and where they use 220v mains with 2 hot wires (no neutral) - this works fine in US 120v systems too, so is used on all K40s (that I have encountered)
The Line voltage only goes to ‘power in’ on the PSU and to the water pump.
Hope that makes sense (and that I understand what you are intending to illustrate with the diagram)
The switches on the left are there to represent the 4 switches on the outside of the machine (photo 4).
The wiring and colors are there to represent what is currently there.(photo 3) I’m not sure of origin of wires as I’ve not unraveled and traced them back to origin.
Here is the switch outside the machine. KCD2 is what it says on switch.
Are you assuming it’s AC from wire color or from how it’s wired?
@Scott_Marshall Thanks for helping me with this.
I was hoping that wasn’t your response… So does this mean that the wiring is wrong and will destroy the PSU in it’s current state?
There is already a water flow sensor built into the machine, could I use the loop that it is on to wire in the microswitches?
I’m scared to ask now, but I wired the key switch in with the emergency stop button, is that ok?
If you wired it as per that diagram, don’t turn it on.
It could indeed destroy the power supply, and possibly other things as well. The input of the power supply uses an optoisolator to prevent inadvertent current flow to external device.
An optoisolator works by using a photo transistor (light sensitive transistor) to turn and off the load (in this case enable the fire circuit)
This phototransistor is illuminated by an LED, which (in this case) is powered by an internal 5V power supply. Grounding the LED’s negative terminal causes it to light. illuminating the phototransistor, thus enabling the firing portion of the power supply.
Applying 120v to enable input will probably destroy the OptoIsolator, and possibly blow the ground traces off the PSU circuit board. While damage may be limited by the optoisolator. The PSU will likely be damaged and at least need the services of a skilled repair tech.
The key switch should be OK if wired into the EMO switch as long as it’s rated to safely carry the line voltage at the rated current of the laser.
K40s were never built (to my knowledge) with a water flow sensor, so be wary of how it’s wired (or maybe it’s NOT a k40?) Either way do your homework and verify how the flow switch is wired before cutting into that circuit. I’ve seen some pretty scary stuff on this Chinese gear (which is sold worldwide with NO inspections, NO UL, CSA, or CE Mark.)
@Scott_Marshall I truly appreciate all your input and time. I have not changed any of the wiring as per the diagram as I wasn’t confident in what I was doing so sought advice here.
The key switch I used is linked below.
The machine is not a K40 but a K50 (for want of a better name).
@Nigel_Conroy Possibly a better picture of the Laser PSU with connection names (this may require disconnecting wires and removing PSU cover, so maybe leave it for later time) as well as the picture of the white controller box with readable description could help. Even if the Laser Enable switch is hot-wired, the Laser-control information has to be sent to the Laser Enable pin on the Laser PSU (with some extra electronic to realize that function.
I have K40 and all security related mods (lid switches, water flow sensor, water temperature sensors) are all hooked up in series to the Laser Enable pin and GND. By default my K40 Laser Enable pin has been soldered to GND pin without any security add-ons.
I’m located in Europe (CET timezone) but if we find convenient time sync I could assist you to figure out (Hangouts/Skype/WhatsApp/other) this stuff on Saturday.
EDIT: I accidentally removed part of the text while typing on my phone and updated after posting.
Thanks @sszafran
I’m away this Saturday and machine is at work but I’ll try get the photo’s you are talking about. I definitely appreciate the offer of assistance and will definitely take you up on it.