Advanced Search

Search Results (Searched for: )

  • mmt
  • mmt
25 Mar 2025 21:01

neeed help with additional pwm 6i25 and 7i76

Category: Basic Configuration

i am assuming by your lack of a firmware file one needs to be created. Is there a way I can do this ?
  • PCW
  • PCW's Avatar
25 Mar 2025 20:56

neeed help with additional pwm 6i25 and 7i76

Category: Basic Configuration

another question

i know the standard io pins can not pwm very fast.

i only need 10K freq can they acheive that?
 

Not likely, you need hardware PWM for that.
  • PCW
  • PCW's Avatar
25 Mar 2025 20:54

neeed help with additional pwm 6i25 and 7i76

Category: Basic Configuration

now i have no idea what is going on.

with the 5i25_7i76x2_2pd loaded my hal does load the pwm without alarm (i have not checked actual output though) but my A(3) axis does not work. If i revert to 5i25_7i76x2 A axis is good but obviously no pwm

???

thanks
 


There are only 3 stepgens per 7I76 in that configuration, so that's expected.
You probably need a  configuration with just 1 PWMgen per 7I76.

I can make one when I get a chance.
  • mmt
  • mmt
25 Mar 2025 20:46

neeed help with additional pwm 6i25 and 7i76

Category: Basic Configuration

another question

i know the standard io pins can not pwm very fast.

i only need 10K freq can they acheive that?
  • Masiwood123
  • Masiwood123's Avatar
25 Mar 2025 20:34
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

thanks but my option is always Mesa
  • Masiwood123
  • Masiwood123's Avatar
25 Mar 2025 20:32
  • Masiwood123
  • Masiwood123's Avatar
25 Mar 2025 20:31
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

want to take a picture tomorrow of the entire controller and driver details, there are a total of 6 wires going to the motor, I have never seen such a motor before, it seems to me that there are no brushes, that it is some type of servo, the idea is to do a retrofit in case the drivers have an analog input via 7i77 or to insert new servo motors and 7i96s.
  • Masiwood123
  • Masiwood123's Avatar
25 Mar 2025 20:27
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

yes, the machine is from Switzerland, the controller is from the USA, there are no markings on the motors, but they are servo type from some information, it has the possibility of jog only because the controller is from somewhere in the 70s, it also has some mdi options, but I did not manage to start any command except jog.
  • tommy
  • tommy
25 Mar 2025 20:19

Servo Wiring and Tuning detailed How To example Mesa 7i77.

Category: Advanced Configuration

Yes, it is step/dir driver.

If it helps, here are .ini and .hal sections, related to this axis:
[AXIS_X]
MIN_LIMIT          = -1
MAX_LIMIT          = 1100
MAX_VELOCITY       = 170
MAX_ACCELERATION   = 200

[JOINT_0]
CARD               = 0
TAB                = 0
AXIS               = X
TYPE               = LINEAR
HOME               = 0.000
MAX_VELOCITY       = 170
MAX_ACCELERATION   = 200
#PID_MAX_VEL        = 10
BACKLASH           = 0.000
STEP_INVERT        = False
DIR_INVERT         = False
STEPGEN_MAX_VEL    = 220
STEPGEN_MAX_ACC    = 250
DIRSETUP           = 200
DIRHOLD            = 200
STEPLEN            = 800
STEPSPACE          = 800
SCALE              = -1998.6
ENCODER_SCALE      = -1998.6
MIN_LIMIT          = -1.0
MAX_LIMIT          = 1100
FERROR             = 10
MIN_FERROR         = 7
HOME_OFFSET        = -4.0
HOME_SEARCH_VEL    = -10
HOME_LATCH_VEL     = 2
HOME_USE_INDEX     = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE      = 1
DEADBAND           = 0.001
P                  = 100
I                  = 0
D                  = 15
BIAS               = 0
FF0                = 0
FF1                = 1
FF2                = 0.01
MAX_OUTPUT         = 0
# PID Setup

setp    pid.x.Pgain        [JOINT_0](P)
setp    pid.x.Igain        [JOINT_0](I)
setp    pid.x.Dgain        [JOINT_0](D)
setp    pid.x.bias        [JOINT_0](BIAS)
setp    pid.x.FF0        [JOINT_0](FF0)
setp    pid.x.FF1        [JOINT_0](FF1)
setp    pid.x.FF2        [JOINT_0](FF2)
setp    pid.x.deadband    [JOINT_0](DEADBAND)
setp    pid.x.maxoutput [JOINT_0](MAX_OUTPUT)
#setp    pid.x.error-previous-target True
# limit stepgen velocity corrections caused by position feedback jitter
#setp    pid.x.maxerror    [JOINT_0](MAX_ERROR)

# joint-0 enable chain

net x-index-enable  <=>  pid.x.index-enable
net x-enable       => pid.x.enable
net x-output       => pid.x.output
net x-pos-cmd      => pid.x.command
net x-vel-fb       => pid.x.feedback-deriv
net x-pos-fb       => pid.x.feedback



# Joint 0 Step Gen signals/setup

setp hm2_[MESA](BOARD).0.stepgen.00.dirsetup        [JOINT_0](DIRSETUP)
setp hm2_[MESA](BOARD).0.stepgen.00.dirhold            [JOINT_0](DIRHOLD)
setp hm2_[MESA](BOARD).0.stepgen.00.steplen            [JOINT_0](STEPLEN)
setp hm2_[MESA](BOARD).0.stepgen.00.stepspace        [JOINT_0](STEPSPACE)
setp hm2_[MESA](BOARD).0.stepgen.00.position-scale     [JOINT_0](SCALE)
setp hm2_[MESA](BOARD).0.stepgen.00.maxvel            [JOINT_0](STEPGEN_MAX_VEL)
setp hm2_[MESA](BOARD).0.stepgen.00.maxaccel        [JOINT_0](STEPGEN_MAX_ACC)
setp hm2_[MESA](BOARD).0.stepgen.00.step_type 0
setp hm2_[MESA](BOARD).0.stepgen.00.control-type 1

# ---closedloop stepper signals---

net x-pos-cmd    joint.0.motor-pos-cmd
net x-output                             => hm2_[MESA](BOARD).0.stepgen.00.velocity-cmd
net x-enable     joint.0.amp-enable-out  => hm2_[MESA](BOARD).0.stepgen.00.enable

# ---Encoder feedback signals/setup---

setp    hm2_[MESA](BOARD).0.encoder.00.counter-mode 0
setp    hm2_[MESA](BOARD).0.encoder.00.filter 1
setp    hm2_[MESA](BOARD).0.encoder.00.index-invert 0
setp    hm2_[MESA](BOARD).0.encoder.00.index-mask 0
setp    hm2_[MESA](BOARD).0.encoder.00.index-mask-invert 0
setp    hm2_[MESA](BOARD).0.encoder.00.scale  [JOINT_0]ENCODER_SCALE

net x-pos-fb               <=  hm2_[MESA](BOARD).0.encoder.00.position
net x-vel-fb               <=  hm2_[MESA](BOARD).0.encoder.00.velocity
net x-pos-fb               =>  joint.0.motor-pos-fb
net x-index-enable    joint.0.index-enable  <=>  hm2_[MESA](BOARD).0.encoder.00.index-enable

net joint-0-pos-rawcounts        <=  hm2_[MESA](BOARD).0.encoder.00.rawcounts
  • mmt
  • mmt
25 Mar 2025 20:17 - 25 Mar 2025 20:37

neeed help with additional pwm 6i25 and 7i76

Category: Basic Configuration

now i have no idea what is going on.

with the 5i25_7i76x2_2pd loaded my hal does load the pwm without alarm (i have not checked actual output though) but my A(3) axis does not work. If i revert to 5i25_7i76x2 A axis is good but obviously no pwm

???

thanks
  • tommylight
  • tommylight's Avatar
25 Mar 2025 20:11
Replied by tommylight on topic New Computer - Error Launching

New Computer - Error Launching

Category: Advanced Configuration

Are the "enable" inputs on the drives wired to something?
Do the motors lock when powering on the machine and stay locked after running LinuxCNC?
  • tommylight
  • tommylight's Avatar
25 Mar 2025 20:08

Servo Wiring and Tuning detailed How To example Mesa 7i77.

Category: Advanced Configuration

If those are step/dir drives, you should be looking here:
forum.linuxcnc.org/10-advanced-configura...glass-scale-feedback
Also
dirsetup and dirhold to 20000
and stepspace and steplen to 5000
Untill you get things working properly, then you can lower the steplen and stepspace while testing to make sure there are no missed steps.
As you have them, chances are some steps are being missed by the drive so LinuxCNC keep upping the number of steps till it catches up.
-
Yes, i am aware the drive manual might say 200ns, but that is almost always not correct, except on very good quality drives.
  • PCW
  • PCW's Avatar
25 Mar 2025 20:04 - 25 Mar 2025 20:04
Replied by PCW on topic New Computer - Error Launching

New Computer - Error Launching

Category: Advanced Configuration

I would set these ini values and re-try:

DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000
  • PCW
  • PCW's Avatar
25 Mar 2025 19:58 - 25 Mar 2025 20:01

Servo Wiring and Tuning detailed How To example Mesa 7i77.

Category: Advanced Configuration

Are these step/dir servos with encoder feedback to LinuxCNC?

If so it seems there is significant delay from command to motion.
This may well be a drive tuning/setup issue. Maybe drive acceleration
set lower than LinuxCNCs setting or some other filtering or constraints
in the drive.
  • tommy
  • tommy
25 Mar 2025 19:37

Servo Wiring and Tuning detailed How To example Mesa 7i77.

Category: Advanced Configuration

I would need a bit of hint on my tuning of AC servos + 7i95t, as I cannot decrease those spikes on acceleration and deceleration, doesn't matter if I go higher or lower with FF2. On linear move there is f-error 0.001mm or less. Should I start adjusting parameters on diver?
Also if I "go crazy" with short presses on arrow keys for jog, especially with changing direction, f-error is all the way up to 1mm or more.

Captures below are taken during running some test g-code:
 


 

 
Displaying 16861 - 16875 out of 18505 results.
Time to create page: 0.592 seconds
Powered by Kunena Forum