Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
04 Jan 2025 16:21 - 04 Jan 2025 17:18

Mesa 7i95T spindle step/Direction setup using stepgen

Category: Driver Boards

Never mind, the PID stuff is all side stepped by:

net machine-is-on => hm2_[MESA](BOARD).0.stepgen.03.enable
net spindle-vel-cmd-rps => hm2_[MESA](BOARD).0.stepgen.03.velocity-cmd
net spindle-vel-fb-rps <= hm2_[MESA](BOARD).0.stepgen.03.velocity-fb

But it looks like machine-is-on is not connected, it probably should be something like:

net machine-is-on  <=motion.motion-enabled
 
  • Lcvette
  • Lcvette's Avatar
04 Jan 2025 16:19
Replied by Lcvette on topic Mcode out of range, greater than 199 error

Mcode out of range, greater than 199 error

Category: G&M Codes

its been a while since i tested this, and i currently have a large project pulled that i don't want to exist until finished as we are preparing a release for qtpyvcp and probe basic.

based on spumco's response above does this mean that a remap for 200+ mcodes is required? i think spumco is running probe basic also if memory serves so his experience should be the same as the pb sim.
  • PCW
  • PCW's Avatar
04 Jan 2025 16:16

Mesa 7i95T spindle step/Direction setup using stepgen

Category: Driver Boards

As a first step try this:

[SPINDLE_0]
MAX_VELOCITY = 100.0
MAX_ACCELERATION = 300.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAX_VEL = 125.00
STEPGEN_MAX_ACC = 375.00
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
DEADBAND = 0.001
MAX_OUTPUT = 2000
  • Lcvette
  • Lcvette's Avatar
04 Jan 2025 16:15
Replied by Lcvette on topic Mcode out of range, greater than 199 error

Mcode out of range, greater than 199 error

Category: G&M Codes

would it be better to use 100-199 for the switchkins to avoid the possible conflict?
Displaying 20551 - 20554 out of 20554 results.
Time to create page: 0.327 seconds
Powered by Kunena Forum