VistaCNC P4-SE pendant stopped working

More
25 Mar 2019 02:53 #129552 by DeckelHead
John,
I didn't use the repeater cable, as I think I may have mentioned in a previous posting. I discussed this with VistaCNC and I think it is a non-issue. First, I have the problem whether the repeater is in the system or not (temporarily installed it). And second, my EEBox is connected directly to the computer's usb port with a 3' or so cable. It is the same cable that I would otherwise have connected to the repeater, so I think you can successfully argue that the repeater would be an inferior addition, in my case.

I need to check my wiring. I've played around with different times I press the START button and more often than not, it introduces the comm fault. That simply does not make sense... Most of the time, problems like this are self-inflicted. I'm human, which is to say that I probably buggered something up! I'm not proud... I can admit that I've done something wrong; I know I make errors and everything seems to point to that here too. Driving me NUTS!

Alan

Please Log in or Create an account to join the conversation.

More
25 Mar 2019 04:15 #129553 by tommylight
You should really check the grounding of the machine and computer.
Don't know if i mentioned it before, but that should be the first step when having such issues.
The following user(s) said Thank You: DeckelHead

Please Log in or Create an account to join the conversation.

More
25 Mar 2019 13:09 - 25 Mar 2019 14:16 #129565 by DeckelHead
Grounding of the computer.... well, that is an interesting one, in that I'm not entirely sure how to check that or where to perform it. My cabinet is an industrial one that has an internal mounting plate. My 'computer' is a motherboard that is mounted the the plate (using standoffs in the correct locations, of course). The power supply was mechanically mounted to the same plate. Finally, an American style 120VAC plug was also mounted to the sheet. The power to the latter is switched elsewhere in the circuit. Grounding for the plug goes to a central point (although American plugs also ground through the metal box, which as I said, is mechanically grounded to the sheet.

I don't know of a normal place to attach a ground to a computer. Normally it gets its ground through the plug.

You may be onto something though.... I pulled out my COR relay, which means that the Vacc, and anything it supplies, would not be relevant. When I press the START button then the pendant freezes (this is a newer discovery). I'm going to go back and try that test with the simulator when I get a chance... But it definitely seems like a pattern of negative interaction with the START switch is at play here. I've confirmed the wiring but will do so again.

The start and estop circuits are provided as JPG attachments in an earlier post.

Update:
You may be onto something. I got the simulator to hang once when I pressed START (no COR relay in place). But then it all started working. I went back to the setup I had been using last night, where the failure after pressing START was 100% predictable, and now pressing START has no negative effect. Argh! !%^&^^#@#!@#@$% This is the stuff that can drive someone nuts! Spurious problems suck. :angry: That said, grounding issues are right up the alley for problems like that.

Power supply design:
I should describe power supply design... I'm pulling all of my low voltage power from the computer power supply. The only (indirect) exception is my 24VDC, which is a small buck board connected to the power supply's 12V. No particular reason for posting the PS information other than it may twiddle someone's thoughts...
Last edit: 25 Mar 2019 14:16 by DeckelHead. Reason: Updating results of testing press of START button with the simulator

Please Log in or Create an account to join the conversation.

More
26 Mar 2019 02:41 #129637 by DeckelHead
I think I may have found the problem, although it seems a little odd. When I reinstall the COR relay, I can cause the pendant bricking 100% of the time in the simulator by pressing ESTOP. The interesting thing is that the CTL-STOP contacts are open in the simulator case because that configuration doesn't know anything about my hardware.

With the real machine (which does energize CTL-STOP, so pressing START *will* energize COR, I could always cause the fault, of course.

Armed with that information, I got to thinking more about my work last year (I still would swear I had tested the machine with the pendant), and it occurred to me that there was a minor difference in my setup, innocuous though it may seem... Because I didn't have the EEBox (basically a breakout box) permanently affixed, I really was only using the pendant's eStop switch as a software interpreted switch. The second pole did not break the electrical latch chain shown in my schematic....

I decided to replicate that case by removing the wires to the pendant eStop, and installing a jumper on the terminal block to simulate the switch otherwise having been closed. Eureka! The pendant doesn't seems to brick when I press START, and the relays all latch as you would expect, etc.

I am not at the point where I want to concretely claim that this new development is absolutely repeatable, etc. I've been burned by stating things like that in the past... But it sure does seem promising (and suspicious) to me... My guess is that there must be some crosstalk or noise that is adversely affecting either the power or the differential data lines within the pendant cable. I've contacted VistaCNC support, and hopefully they have some ideas. Obviously I want to have an electrical estop chain for the previously mentioned safety reasons.

Anyhow, I'm thrilled with this development. I was getting very frustrated. I hope this is the nail in the coffin for the cause, and now I just have to find the solution.

Alan
The following user(s) said Thank You: JohnnyCNC

Please Log in or Create an account to join the conversation.

More
26 Mar 2019 02:55 #129639 by JohnnyCNC
Glad to hear this Alan. I'll be looking forward to their response. I also did not originally have the EE box connected. I ordered it l later and had them modify my original Pendent to use it. I am also going to review the grounding on my machine. The problem for me comes in fits and spirts and seems to be more common in winter. That is the other reason I think that it is sometimes static electricity that gets it for me. I did use shielded single pair wire from the EE box back to my cabinet to fend off interference as mush as possible.

John.

Please Log in or Create an account to join the conversation.

More
26 Mar 2019 03:01 #129641 by DeckelHead
I'll definitely post any further developments here on the thread. That way it can possibly help you, or anyone else who may come across this series of postings.

I may not be totally out of the woods. Murphy is rearing his head a tad... I've noticed that if I cycle the estop circuit a few times on (at least) one of my configurations I've been testing, I can still brick the pendant. Oddly, however, there is one configuration that seems to be pretty rock solid. I'll have to investigate that more.

Please Log in or Create an account to join the conversation.

More
26 Mar 2019 06:19 #129644 by Mike_Eitel
Does your USB cable has a screening?
Dismantel some cm of the protection near to the plug and use some "lashes?" to screw it to the bare metal of your pc. That shout prevent high frequency emv. Also ask yourself if the estop circuit is switching some current that goes over a "not so good anymore" contact, which creates high energy evm...
m5c
Mike

Please Log in or Create an account to join the conversation.

More
26 Mar 2019 11:13 #129666 by JohnnyCNC
The pendent cord is shielded but the EE_Box is not and the USB cable from the EE_Box to the PC is just a standard USB cable like that used on a printer. I used shielded wire for thr E-Stop from the EE_Box to the CNC Cabinet which also holds the PC motherboard.

See: EE_Box wiring

Please Log in or Create an account to join the conversation.

More
26 Mar 2019 12:57 #129683 by andypugh
Maybe take a step back here:

If you press the E-stop then your pendant stops working.

If you press the E-stop because it _needs_ pressing then the pendant is the least of your worries.

In all practical senses your system is completely functional.

Please Log in or Create an account to join the conversation.

More
26 Mar 2019 14:39 - 26 Mar 2019 14:41 #129688 by DeckelHead
JohnnyCNC: actually, I don't think the cable is shielded, at all... Or, if it is, the shielding definitely isn't carried through the RJ connector, which effectively means (in my mind) that the shielding isn't particularly beneficial.

Andy: No, unfortunately I think you may be a bit too literally. The pendant doesn't display an estop message (which is what it does when working properly), it bricks. The only way to reset it is to restart LinuxCNC. It is analogous to saying that the F1 (Estop button) on the screen is "latching" and the only way you could reset it would be to restart LinuxCNC.

I have no problems with the machine shutting down power to the servo amps, etc. I don't want it to effectively cut off power to the whole machine. EStop means I want the machine to stop moving. Yes, it definitely *could* mean "NOW!" but it doesn't have to.
Last edit: 26 Mar 2019 14:41 by DeckelHead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.222 seconds
Powered by Kunena Forum