On Wednesday 29 June 2016 12:08:34 [email protected] wrote: > It's every single time. If I use M3, spindle runs 100% reliably. Or, > if I use my XHC wireless mpg, that runs it fine too.
What happens when you do an "S1 M3" from the mdi commaand line? At this point I'd bet a cold bottle of suds the watchdog will bite. The default fwd or rev value sent by clicking on the direction of rotation button may be being seen as a too slow, burn up the motor or itself trying to muster up enough current at that slow a phase angle, so it throws the watchdog bite and shuts down to protect both. I have all my stuff set to start at 100 rpms but they are all brushed PMDC motors, so they can do that forever or until the brushes wear out. This minimum is set, and its probably missing from your .ini file, with this statement: DEFAULT_SPINDLE_SPEED = 100 in the [DISPLAY] section of your .ini file. Look in the x200 manual and see what the minimum safe rpms are, and bear in mind that both the motor and the VFD are going to run hot at that speed, even without any load, so I would set that to a minimum of 125% of what the manual says. You may find after giving it time to warm up, that even that is too slow for THAT motor. So run the speed on up by clicking on the + button to where the motors cooling fans can cool it down again, and let it run till its holding at as cool as its going to get, then slow it one click, let it run 10 or more minutes, if not too hot, slow it one more click, wash, rinse & repeat until after 10-15 minutes your hand cannot touch it continuously and set that speed as the minimum. > But on the Manual Control tab, there's a Spindle button with a CW > button flanking it on the right and a CCW button on the left and +/- > buttons underneath. Hovering over the CW says "Spindle CW (F9)". > Clicking on that results in no effect from the spindle, and the VFD > will not respond to M3, nothing can make it run. It won't run g-code > because spindle-at-speed will never become true and that's required to > be true for G1 moves. That will persist until the VFD power is > cycled. Rebooting LinuxCNC alone will have no effect and it's not > necessary to reboot LinuxCNC along with cycling VFD power. > > This is weird. No, its the clue I needed to pin down the watchdog bite. Same theory as the if it waddles like a duck, and quacks like a duck, it probably is a duck. :) Note that in case that value also sets the step value on the plus and minus buttons, and the step change is way too much, the same effect could be obtained IF using a PID, by setting the plus and minus offsets fed to the PID. But you may not be using a PID module in the spindle path since the VFD has a pretty good one internally. 2 of them critters in series can get "interesting" so I don't think its recommended. > The VFD is controlled by a complied .c, which has a > limited range of communication with the VFD, using a few regs. > LinuxCNC has to have sent something that breaks the VFD communication > but I'm not sure what it could even send that would cause that failure > that stores IN the VFD's states rather than a state of LinuxCNC's > code. It has to be on the VFD's registers because cycling VFD power > is essential to recover, while restarting LinuxCNC is irrelevant to > recovery. This also reads like it could violate the VFD's minimum speed ability. > Danny [...] Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
