Advanced Search

Search Results (Searched for: )

  • PhilipME
  • PhilipME's Avatar
04 Oct 2024 06:42 - 04 Oct 2024 06:51

help-no voltage across mesa 7i96s spindle TB-2 pins 23 and 21

Category: PnCConf Wizard

I found the mistake

pin 21 on the mesa should be no connection 

and the agrnd in the driver should be connected to ground

working like a charm, I just need to replace the resistor with slightly smaller like .3 kohms. I started with slightly larger resistor to avoid getting more than 10vdc to the motor driver

sorry for such non-adding value posts. it is uncharted road for me.

Good day

Philip
  • Aciera
  • Aciera's Avatar
04 Oct 2024 06:12 - 04 Oct 2024 06:17
Replied by Aciera on topic Struggling with custom kinematics...

Struggling with custom kinematics...

Category: Advanced Configuration

Try with
rtapi_print(

instead of
debugPrint(
 

[edit]
with the above I get this output:
In kinematics inverse
Debug: x_target = 0.000598, y_target = 0.000315
Debug: 	LEFT_DRUM_X = -100.000000, LEFT_DRUM_Y = 250.000000
Debug: distance_left_drum_center_to_target = 269.258170, distance_right_drum_center_to_target = 471.698383
Debug: left_tangent_length_to_target = 263.433105, right_tangent_length_to_target = 468.397698
Debug: theta1_left = 0.380509, theta2_left = 0.208385, theta_left = 0.588894
Debug: theta1_right = -1.012197, theta2_right = 0.118369, theta_right = -0.893828
Debug: left_arc_length = 32.803895, right_arc_length = -49.789988
Debug: left_cable_length_to_target = 296.237000, right_cable_length_to_target = 418.607709
Debug: left_cable_length_change = 0.000000, right_cable_length_change = 112.767291
Debug: kinematicsInverse joints: j[0] = 0.000000, j[1] = 112.767291
  • cmorley
  • cmorley
04 Oct 2024 04:20
Replied by cmorley on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

Hi Cmorley

I don't know if you plan to implement the layout in qtdrahon_hd
the same as in qtdragon. If so, I have a modified file, ready to use.

 

Pushed to master.
Thank you!
  • PhilipME
  • PhilipME's Avatar
04 Oct 2024 03:36 - 04 Oct 2024 03:42

help-no voltage across mesa 7i96s spindle TB-2 pins 23 and 21

Category: PnCConf Wizard

this is how I wired. 

I also connected pin 6 (servo motor enable to common , not shown in the diagram)of the driver 

 


 
  • PhilipME
  • PhilipME's Avatar
04 Oct 2024 03:32 - 04 Oct 2024 04:14

help-no voltage across mesa 7i96s spindle TB-2 pins 23 and 21

Category: PnCConf Wizard

I ran the servo motor in speed mode with potentio-meter. It ran fine.
but when I connected the servo driver to the mesa 7i96s, and configured the machine via pcconf wizard, I could not get the servo to run. The servo is running at low rpm but not responding to the axis spindle user interface. No voltage detected across pin 21 and 23 of  the mesa TB2

The x,y,z stepper motors running fine via jogging in axis interface.

Not interrested at this time in bi-directional operation. 

below find the pcconfig relevant pages, I will also include in a second post the connection diagram and spindle driver manual

Good day

Philip

 
  • PCW
  • PCW's Avatar
04 Oct 2024 03:11 - 04 Oct 2024 03:17

Joint homing offset and following error - HELP

Category: General LinuxCNC Questions

Yes, best performance would be from cascaded PID loops (and inner velocity loop and outer position loop)
but its probably possible to improve the performance considerable with tuning..

1. To reduce the static error you can add more I term

2. To improve overall performance of a torque mode loop, I would decrease the servo thread period
to say 500 or even 250 usec (2x or 4x higher rates) This will allow higher stable P and D term gain
and correspondingly lower following error.



 
  • dreBird
  • dreBird
04 Oct 2024 02:40

Joint homing offset and following error - HELP

Category: General LinuxCNC Questions

Hello LinuxCNC

This is my first post and I am a novice with LCNC. I bought this machine already converted with DC brush servos and incremental encoders and have been diagnosing the following issue. Thank you in advance I'm really stuck on this one.

Each axis will not move to the full commanded position, read on the DRO. If I do G01 X2 the DRO will move to 1.9980. If I do another absolute move to X3 the DRO will then read 2.9980. This 2 thou offset drops to 1 thou if I increase Proportional gain from 50 to 80. Going higher than 100 or 200 makes the joint rapidly accelerate and terminate with a joint following error. Also, when I home the machine it goes to X -0.0018 Y 0.0017 z 0.0006 .

Encoder counts are coming in fine at 50,000/inch, and table movement matches one inch.

Similar on the A axis, it stops roughly 1 degree short of command.

Could these be PID issues? The servo drives are in torque mode I believe (Copley 4122). Now, is LCNC in velocity mode if I only have one PID loop per axis? Does torque mode require 2 PID loops? and how would that be set up in LCNC? 

Is there anything else that would cause this? I'm hoping the answer isn't to buy tachometers and velocity drives.

I've attached the ini and hal files as a start, but if you need anything else please let me know. 

Thank you,

Benchman XT CNC Mill
Litton Clifton Precision C23-L servos
Copley 4122 drives
  • kworm
  • kworm
04 Oct 2024 02:14
Replied by kworm on topic EoE Configuration

EoE Configuration

Category: EtherCAT

SInce there haven't been any replies I'm guessing there aren't a lot of people using EoE with LinuxCNC. It appears there could be an issue either in linuxcnc-ethercat or etherlab's master as there is another thread where PDO configuration doesn't work properly with EoE enabled in the etherlab master.

forum.linuxcnc.org/ethercat/51505-new-hardware-trouble
  • kworm
  • kworm
04 Oct 2024 02:10
Replied by kworm on topic Weird jogging issue - banging noise

Weird jogging issue - banging noise

Category: General LinuxCNC Questions

I'm using xfce and I was actually jogging with the mouse and not the keyboard so I'm not sure the xset would make a difference unless the mouse in the axis interface is just emulating keypress.  Not sure if this could be related but I've noticed that on G0/G1 moves it will overshoot by a few hundredths of a mm and then come back to the requested position, ie G0 X100 goes to say 100.03 and then comes back to 100.  I'm not sure if the continuous jogging is done by sending small movement commands but if it went backward at the one of one then maybe it could cause that.  Testing it in the drive software and Twincat neither overrun and stop on the position exactly.
  • PCW
  • PCW's Avatar
04 Oct 2024 01:42
Replied by PCW on topic Ye old *axis following error...

Ye old *axis following error...

Category: General LinuxCNC Questions

I would add as much D term as possible until you reach instability
Have you added FF2?  (the FF2 value depends on the system inertia)
 
  • snowgoer540
  • snowgoer540's Avatar
03 Oct 2024 23:53
Replied by snowgoer540 on topic Weird jogging issue - banging noise

Weird jogging issue - banging noise

Category: General LinuxCNC Questions

I am unsure what GUI you are using (perhaps it doesnt matter), but this sounds like an autorepeat issue.

To test if it is, open a terminal window, and enter the following command:
xset -r

Launch LinuxCNC and jog around. If the problem goes away, that's the issue and we can come up with a more permanent solution.

To turn autorepeat back on:
xset r
  • M4MazakUser
  • M4MazakUser
03 Oct 2024 23:32
Replied by M4MazakUser on topic Ye old *axis following error...

Ye old *axis following error...

Category: General LinuxCNC Questions

So, I was checking halscope and modded the "P" value higher - which gave less error. Then i found that It was running off more frequently. So, ive had too high a "P" value. The reason for this really is when I've looked up pid tuning of 8i20 cards you've reccomended setting as high a D value as is stable, but there's no range stated, - is 3 a high value? Is 500 a high value? I don't seem to get good position holding with a high d value as P generally ends up around 185, which you have said before is pretty much saturated.
I'm running a high thread rate 225000 off the top of my head.
  • Lcvette
  • Lcvette's Avatar
03 Oct 2024 22:22
Replied by Lcvette on topic Probe Basic ATC Setup Problems

Probe Basic ATC Setup Problems

Category: QtPyVCP

Maybe post your toolchange sub also
  • Lcvette
  • Lcvette's Avatar
03 Oct 2024 22:21
Replied by Lcvette on topic Probe Basic ATC Setup Problems

Probe Basic ATC Setup Problems

Category: QtPyVCP

I agree with spumco, run in terminal so the debug messages show the failure point. Probably something simple I had 0 where an o word should have been that chased for 2 days troubleshooting.. probably started at it 50 times and that was with debug on telling me where the problem was
  • travis036
  • travis036's Avatar
03 Oct 2024 21:16

possible bug with "M66 P26 L4 Q7"? or my use of it? or with FlexGUI?

Category: O Codes (subroutines) and NGCGUI

i suspect if i am reading the hal pin with FlexGUI and with a M66, it may be the cause of the hang. reaching here, as i can't find any other cause...
will continue testing tomorrow...
Displaying 20671 - 20685 out of 24346 results.
Time to create page: 0.615 seconds
Powered by Kunena Forum