7I97T joint following error

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
20 Mar 2025 21:15 #324379 by tommylight
Replied by tommylight on topic 7I97T joint following error
Use PncConf to create a basic minimal config for 7i92 with 7i77, then we can modify it to fit the 7i97T and give it a try.
Simple 3 axis config, no spindle, no I/O, no MPG, nothing else.
Also upload one of the existing configs that run so we can get the card addresses.

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

More
20 Mar 2025 22:56 - 20 Mar 2025 23:02 #324385 by PCW
Replied by PCW on topic 7I97T joint following error
The issue is this:

[JOINT_0]
CARD = 0
TAB = 0
AXIS = X
MIN_LIMIT = 0
MAX_LIMIT = 30
MAX_VELOCITY = 200
MAX_ACCELERATION = 200
TYPE = LINEAR
SCALE = 40000
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10

That sets the PWM scale so you need an error of 20000 inches to
get a full scale (10V) output, or 2 inches to get a mV.

Ideally the PWM scale should be set to the velocity in machine units per second
at 10V. This way, the FF1 term is known to be 1.00



 
Last edit: 20 Mar 2025 23:02 by PCW.

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

More
20 Mar 2025 23:26 #324386 by Tinker
Replied by Tinker on topic 7I97T joint following error
That definitely made a huge difference!! What would be a good SCALE number to start out with? or how does one calculate it?

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

More
21 Mar 2025 00:06 - 21 Mar 2025 00:07 #324390 by PCW
Replied by PCW on topic 7I97T joint following error
The scale is generally either left in volts (10) or better
set to the machine units per second at 10V

That is, you have a inch machine, so motion calculations
are in inches per second, if you set the PWM scale to
the velocity (in inches per second) you get at 10V,
then  all the PID numbers are scaled in motion units
(inches per second) and FF1 (the most important
PID tuning parameter for velocity mode servos)
is 1.00
Last edit: 21 Mar 2025 00:07 by PCW.

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

More
24 Mar 2025 21:42 #324828 by Tinker
Replied by Tinker on topic 7I97T joint following error
So say my servos are 2400 RPM @10V with 2/1 reduction and 5 tpi ball screws, would that be the basic formula used to come up with velocity in IPS?

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

More
24 Mar 2025 21:45 #324829 by Tinker
Replied by Tinker on topic 7I97T joint following error
Basically 4 IPS would be my scale number if I'm understanding you correctly..

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

More
24 Mar 2025 22:16 #324836 by PCW
Replied by PCW on topic 7I97T joint following error
Yes, at motor 2400 RPM the ballscrew would turn at 1200 RPM (20 TPS)
and 20 TPS * 0.2 IPT = 4 IPS
The following user(s) said Thank You: Tinker

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

Time to create page: 0.108 seconds
Powered by Kunena Forum