Advanced Search

Search Results (Searched for: )

  • Boogie
  • Boogie
04 Apr 2025 17:31
Replied by Boogie on topic ENCODER_RATIO function implementation.

ENCODER_RATIO function implementation.

Category: General LinuxCNC Questions

Wasn't expect that:/ Any practical use for ENCODER_RATIO then? I believe this is the point related to is in documentation:
"
encoder-ratio.sample

Read all input pins. Must be called at twice the maximum desired count rate."

Why can't we use encoder.0.position? Or it is just the way this component is coded? Anyway why would it be a problem? Is it because of the encoder-ratio.sample call frequency required?

ZIP download was ok. Trying to wrap my head around it.
  • Aciera
  • Aciera's Avatar
04 Apr 2025 17:19

Using a servo as a spindle and positional axis - keep getting vague errors

Category: Advanced Configuration

@COFHAL

Have you ever used spindle synchronized motion (eg G33 or G33.1) with the config you posted above?
Just wondering if you are also affected by the erratic behavior bug described here:
forum.linuxcnc.org/38-general-linuxcnc-q...blem?start=20#324268
  • Aciera
  • Aciera's Avatar
04 Apr 2025 17:10 - 04 Apr 2025 17:11

Moving robot joints by only 1 Gcode command?

Category: Advanced Configuration

Try this in your on_abort subroutine instead of 'M428':
#<kinstype> = 0
#<SWITCHKINS_PIN> = 3 ; set N as required: motion.analog-out-0N
M68 E#<SWITCHKINS_PIN> Q#<kinstype> ; set kinstype value
  • maxi177
  • maxi177
04 Apr 2025 16:44
Replied by maxi177 on topic dead Outputs on Mesa 7i76E and blown up 7i85S

dead Outputs on Mesa 7i76E and blown up 7i85S

Category: Driver Boards

Thanks, sent it again.
-
Max
  • unknown
  • unknown
04 Apr 2025 16:32

4-Gang 1-Way Switch To Control 3 Power Supplies and a Router Independently

Category: Computers and Hardware

Thought I'd better add a picture.
One set per 240v line you need to switch.

This browser does not support PDFs. Please download the PDF to view it: Download PDF

  • COFHAL
  • COFHAL
04 Apr 2025 16:13

Using a servo as a spindle and positional axis - keep getting vague errors

Category: Advanced Configuration

I think it would be a bad idea, since you could use the same servo motor for both functions.
  • mark0815
  • mark0815
04 Apr 2025 16:09 - 04 Apr 2025 17:36
EL7041-1000 configuration question was created by mark0815

EL7041-1000 configuration question

Category: EtherCAT

Hi all,

I'm trying to get a Stepper (with no encoder) working with a EL7041-1000 and having issues getting the axis scaling configuration right.

The issue is that the moving the axis lets say 1mm in LinuxCNC results in just a fraction (around 10) of the expected steps (80 full steps) on the motor axis.

Additionally there are quite often joint following errors the stepper slows down. I guess this is related to the PID settings.

The EL7041 is wired up in hal like this:

# Configure EtherCAT
setp lcec.0.STEPX.srv-scale       [JOINT_0]SCALE
setp lcec.0.STEPX.enc-pos-scale   [JOINT_0]ENC_SCALE

# PID
net x-index-enable  <=> pid.x.index-enable

# PID to Joint
net x-pos-cmd       <= joint.0.motor-pos-cmd    =>  pid.x.command
net x-output        <= pid.x.output
net x-enable        <= joint.0.amp-enable-out   =>  pid.x.enable
net x-pos-fb                                    =>  pid.x.feedback => joint.0.motor-pos-fb

# Joint to EtherCAT
net x-enable                                    => lcec.0.STEPX.srv-enable
net x-output                                    => lcec.0.STEPX.srv-cmd
net x-amp-fault     <= lcec.0.STEPX.srv-error   => joint.0.amp-fault-in
net x-pos-fb        <= lcec.0.STEPX.enc-pos

# EtherCAT Ready State
net x-ready             <= lcec.0.STEPX.srv-ready
net x-ready-to-enable   <= lcec.0.STEPX.srv-ready-to-enable

Where the joint_0 config looks like this
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0

# 200 Full steps(?)
SCALE = 200.0

# 200 full steps * 64 micro stepping * 2 (1/2 belt reduction) / 5 mm per revolution
ENC_SCALE = 5120.0


The EL7041 is on factory settings with just the max motor current set a value matching the motor.

Per default the EL7041 uses its internal counter as the encoder if I understood it right.

I would really appreciate any tips what I did wrong regarding the scaling.

Regards
Mark
  • COFHAL
  • COFHAL
04 Apr 2025 15:58 - 04 Apr 2025 16:10

Using a servo as a spindle and positional axis - keep getting vague errors

Category: Advanced Configuration

There's no need to use the same servo motor for both, but keep in mind that for it to work, you must connect the servo motor's encoder feedback. I believe your servo motor has a 2,500-pulse encoder. I can help you configure it with the manual.

youtube.com/shorts/neoFkCpddyE?feature=share
  • COFHAL
  • COFHAL
  • heaven
  • heaven
04 Apr 2025 15:26

Moving robot joints by only 1 Gcode command?

Category: Advanced Configuration

I tried your way but no luck. Every time I put M428 into on_abort Subroutine, i got error:
interp_error: File ended with no percent sign (%) or program end (M2)
File ended with no percent sign (%) or program end (M2)
  • scotth
  • scotth
04 Apr 2025 14:57
Replied by scotth on topic ENCODER_RATIO function implementation.

ENCODER_RATIO function implementation.

Category: General LinuxCNC Questions

VF induction with a large flywheel to smooth out any variation during the cut.
  • PCW
  • PCW's Avatar
04 Apr 2025 14:11

dead Outputs on Mesa 7i76E and blown up 7i85S

Category: Driver Boards

I don't see that, If you try again, I'll check the spam bucket...
  • unknown
  • unknown
04 Apr 2025 13:55

4-Gang 1-Way Switch To Control 3 Power Supplies and a Router Independently

Category: Computers and Hardware

I probably when OTT with power supplies.
What I did was use some light weight DPDT relays, one set of contacts latches the relay after briefly being energised by a pushbutton and the other set of contacts controls a contactor with a 24v coil. I find this a great because if the power is removed, blackout breaker tripping, and comes back on the power doesn't come back on.
I went with a relay > contactor setup as I wanted to keep the 240 seperated from the 24v control. The only issue is that there is an always on 24v supply dedicated to the relays.
To clarify there's one relay/contactor per power supply. Each power supply can be independently controlled. For wiring the latching relay I had some PCBs made to simplify the wiring.
Bit more involved than a 4 way gang switch. The same thing could be implemented with a NVR switch for each PSU.
Oh I forgot I'm series with each pushbutton is another switch, this is used to turn the relay off and has to be in the "on" position before pushing the button to turn the power supply on. It's kind of like starting a rocket.
  • PCW
  • PCW's Avatar
04 Apr 2025 13:13 - 04 Apr 2025 13:13
Replied by PCW on topic Encoder on 7i95t

Encoder on 7i95t

Category: General LinuxCNC Questions

Also if you use encoder feedback you will need to tune the system
and this requires increasing the following error limits:

FERROR = 0.005
MIN_FERROR = 0.0025

I would increase these to say

FERROR = 1

MIN_FERROR = .25

So you don't get nuisance following errors when tuning

Tuning involves using halscope to plot the following error
It's helpful to plot the joint following error and joint velocity
when tuning.

Note that if you use homing to index, you must connect the encoder
index enable signal to both motion and the PID component.
  • tommylight
  • tommylight's Avatar
04 Apr 2025 12:38
Displaying 16066 - 16080 out of 18527 results.
Time to create page: 0.915 seconds
Powered by Kunena Forum