Advanced Search

Search Results (Searched for: )

  • 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
  • tommylight
  • tommylight's Avatar
04 Apr 2025 12:32

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

Category: Computers and Hardware

Seems a bit excessive and not very useful.
It is much better to use a single small industrial switch and 4 of automatic fuses inside the control box, you can switch on/off automatic fuses as they can handle a bit of torture although they are not made for it, but since they will be used during testing only, they will be fine.
  • tommylight
  • tommylight's Avatar
04 Apr 2025 12:24
Replied by tommylight on topic Encoder on 7i95t

Encoder on 7i95t

Category: General LinuxCNC Questions

P=10 ?
-
Start from the beginning :
-Make a working config WITHOUT encoders, only after that is working properly with correct dimensions move to enabling encoders and editing other values. The link has everything in metric, adjust accordingly for imperial.
forum.linuxcnc.org/10-advanced-configura...glass-scale-feedback
-then check the homing as described in the link i posted above by lowering the search and latch and final homing velocities to see what is actually happening during the homing procedure. For metric machine use 1, for imperial use 0.04
  • behai
  • behai
04 Apr 2025 12:14

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

Category: Computers and Hardware

Hi,

Please help me with the following question regarding a 4-gang 1-way switch to turn on and off 3 power supplies and a router independently.

I would like to set up the circuits in the below diagram:



I am from Melbourne, Victoria, Australia, we are on 240V and 10A.

The 3 power supplies are:

1. 5V 2A ( I already have ): to power my Mesa 7I96S card.

2. 24V 4A ( I already have ): to power the proximity switches.

3. 36V, 800W, 22+A ( I don't have yet ): to power the 4 stepper drivers CL57T-V41 and 4 Nema 23 stepper motors.

4. To power a router to use with the CNC machine.

With a 4-gang 1-way switch, I am able to independently turn on and off any devices I see fit.

If an emergency happens, I will just press the emergency switch and all 4 circuits will just turn off.

I have also the emergency switch, and I've learned how to wire it, I have been able to test the wiring successfully using a microwave fan.

PLEASE HELP:

1. Is this an appropriate set up, please?

2. If (1) is an appropriate set up, can you help recommending a correct 4-gang 1-way switch, please?

I am only able to find light switches, for example:

directwholesale.com.au/products/clipsal-...-white/?gad_source=1
Clipsal Switch 4 Gang 10A Pvc Square Plt White - P2034/2VA-WE
$72.50

And I am not sure if they will work for this set up.

I understand the potential dangers. If it is appropriate and I know of the switch, then I have something to do further studies. I take full responsiblities for what I am doing.

Thank you and best regards,

...behai.
  • tommylight
  • tommylight's Avatar
04 Apr 2025 12:10
Replied by tommylight on topic Linux_Mint_22.1_LinuxCNC_2.10.iso

Linux_Mint_22.1_LinuxCNC_2.10.iso

Category: Installing LinuxCNC

Will try to upload the new build with 6.13 RT kernel later tonight, WiFi works on both of my laptops with it, whereas it did not work with 6.10.
Also, display refresh rate was 60Hz max with 6.10, with 6.13 it's 120Hz as it should.
  • tommylight
  • tommylight's Avatar
04 Apr 2025 12:05
Replied by tommylight on topic Custom PC build for my brothers company

Custom PC build for my brothers company

Category: Show Your Stuff

Due to finances (well, lack of) the B650 and Ryzen 7 7700 will have to wait.
Not happy as the 7700 is 198 Euro right now here so wont last long. :(
Displaying 121 - 135 out of 26771 results.
Time to create page: 0.612 seconds
Powered by Kunena Forum