Advanced Search

Search Results (Searched for: )

  • cakeslob
  • cakeslob
04 Apr 2025 18:54

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

TMC2209 Drivers with jumpers in SPI mode


try doing it without the drivers configured in SPI, but they should also probably be configured with UART instead if they are 2209. The Remora Octopus firmware doesnt support SPI drivers anyway. If you are planning to use TMC2209 drivers, they need to be configured in the config.txt file.

how long is the cable that connects the octopus to the rpi? Also what RPi? I dont think you need to have SPI enabled in the RPi software either. Your serial output looks perfect though, but you will need to configure the TMC drives.
  • cmorley
  • cmorley
04 Apr 2025 18:44 - 05 Apr 2025 01:52
  • cmorley
  • cmorley
  • workshop54
  • workshop54
04 Apr 2025 18:25

Trouble probing 1Vpp signal from Heidenhain LS403 with oscilloscope

Category: Milling Machines

Yes, the missing power supply was the issue. I was being too careful in my attempt not to blow up the Heidehain cards, but now it works.

I have hooked up all three encoders and for the first time I can see some movement in the LinuxCNC UI.

Thanks for your help again.
  • papagno-source
  • papagno-source
04 Apr 2025 18:07 - 04 Apr 2025 18:09

Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System

Category: EtherCAT

Hi .
I have the same problem , with message Slave did not sync after 5000 ms.

With the same hardware , with debian 10 and ethercat 1.5.2 and lcnc 2.9.0-pre run ok , without problem.

Because with Debian 12 and Ethercat 1.6 stable and 2.10.0 , on the same hardware, have problem ?

I have install Corbett procedure, step-by step . Some step not is ok ?
  • RBC
  • RBC
04 Apr 2025 17:48
DRILL CYCLE G81,G83 ERRORS was created by RBC

DRILL CYCLE G81,G83 ERRORS

Category: G&M Codes

Hi,
I have a configuration where X axis is the drill axis. 
When I run 
G19 
G0 X0.35 
G81 X-0.35 R0.1 F1 

it is accepted and runs but in reverse direction than what is needed.  
G19 
G0 X-0.35 
G81 X0.35 R-0.1 F1
It throws an error that r cannot be less than X.  In my case R-0.1 is above workpiece and x-0.35 is the start of drill, X0.35 is the end.  
Is this not supported or am I missing something. 
Best,
Rick

 
  • 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
Displaying 1051 - 1065 out of 26683 results.
Time to create page: 0.229 seconds
Powered by Kunena Forum