Hi Tom,
I think I have the fix implemented, where every command to the PC is bracketed e.g.:
while(TestAndSet(&persist.UserData[COMMSMUTEXVAR], 1));
DoPCFloat(PC_COMM_SET_X, 41.1424);...
Type: Posts; User: durundal
Hi Tom,
I think I have the fix implemented, where every command to the PC is bracketed e.g.:
while(TestAndSet(&persist.UserData[COMMSMUTEXVAR], 1));
DoPCFloat(PC_COMM_SET_X, 41.1424);...
Hi Tom,
The homing code (as yet unmodified) is HomeX_with_index_autoalign (called in Threads 1-6 as a result of buttons in KmotionCNC), and the DRO updating one is service_time_insensitive (called...
I'm using DMM drives with a KFLOP & Kanalog in torque mode, so the encoder is being read on the KFLOP and +/-10V being output to the drive with tuning parameters and following error being tracked in...
More updates: Tracked it down to a call in the Thread 7 supervisor that checks stuff on an infrequent time basis (coolant flow, temperatures, etc) and it's a bit of allocated memory for some chars to...
Hi Tom,
I have two questions, one following from the other. I have an axis with two motors on either side of the bed that needs to home them in case they were moved while the machine was off,...
Hi Tom,
While on the topic of tuning: I have seen mention previously of replacing the D term with a pole/zero filter, could you elaborate on how to go about implementing that without too much...
FWIW I have this main power chain: 240V 50A breaker in panel --> power cord --> 30A breaker in cabinet (from when I only had a 30A wall circuit in a previous location) --> contactor --> individually...
I had meant to say what fixed it when I replaced the chips but lost it in my pile of things to do. The chip started intermittently losing counts but one channel ended up dying entirely. I tested the...
Hi mmurray,
Yes, and sorry for the delayed reply, it seems to work again after replacing the chips. I ended up using a product called "ChipQuick" as recommended by the EEVBlog guy to desolder the...
Hi Tom,
I have ordered some replacement chips and soldering accessories to give repair a shot. I am in Washington state.
For preventing future problems, I am trying to make my grounding as...
Hi Tom,
Yes, I was reading the digital IO screen for the status, and the screw terminals were screwed shut before taking readings. Earth ground gets some noise on it at 40kHz when the servos are...
Hi Tom,
Performing the battery test, all cables disconnected from servos and servos unpowered (only 24V and 5V power supplies powered on in the cabinet)
definitions:
ok - moves to on when...
Hi Tom,
Measuring the inputs (cables all unplugged):
0A 470 ohms
0B 469
1A 468
1B 470
2A 415 <---
2B 470
Hi Tom,
I reworked the wiring to move the AC lines further away physically from the Kanalog and DC lines, this seems to help with the overall noise. I discovered that the quadrature input for...
Hi Tom,
Replies in red below.
Thanks for the help,
Andy
Hi Tom,
I am trying to resolve an issue with encoder motion to the same count not returning to the same physical location. I have a DMM DYN4 servo drive connected to the Kanalog quadrature...
Hi Tom,
How can I read the current value of a Kanalog DAC in a C program? I would like to implement a load monitor that would take a running average of several seconds worth of the DAC value but...
I would be inclined to avoid the 750W Leadshine as I was unable to get their 1000W model to behave correctly in torque control mode (it would send a reverse direction output pulse when the input...
What version of Windows are you running? I tried a bunch of stuff with Windows 10 and couldn't make it go, but it fired right up on a Windows 7 machine. Leadshine support didn't indicate any future...
Has anyone ever gotten an EL5 series AC high voltage servo drive to operate successfully in torque mode? I have been trying everything I can think of to get mine to behave properly in torque mode, in...
I'm just using them as torque controllers, all the loop closing is in the Kflop. The only tuning related parameter that is active in the drives in torque mode is a simple filter that is meant for...
Update: I ordered a Dyn4 drive and motor from DMM and sure enough it works great in torque mode, virtually plug and play with the Kanalog. I am going to test the servomotor from Leadshine on it and...
Update: after trying a last few shot-in-the-dark the torque mode parameters with no joy, I switched the servo to velocity control and all of a sudden everything works. No more wrong direction on...
(for clarity, what I'm trying to do is spin it 10,000 counts in one direction open loop, stop motion and wait briefly, reverse direction until back where it started. The code is a hodgepodge of...
Hi m_c,
As Tom has noticed, this whole thing is a big, inefficient debugging process. I started using the Kmotion step/response tools after first spinning the servo enough to get a hello, world...
The graph looks pretty bad uploaded, the red trace (CurrentGiven(%)) basically follows along with the blue one (CurrentFeedback(%)) except for some single bit noise, including during the aberrant...
Hi Tom,
Knowing that the Vin- to Kanalaog ground should work is helpful, that's how I'd been connecting it and that lets me strike that off the list of suspects. I am pretty sure it's in the servo...
Hi everyone,
I bought a Leadshine EL5-D1000 driver and matching 1000W motor (just 1 to try out, and I am glad I didn't buy in bulk). It has a number of inputs and features, but I was just looking...
Aaaaand... user error. It looks like I set everything except for the Step/Dir to Servo DAC. Thanks for the quick reply.