Advanced Search

Search Results (Searched for: )

  • B1gJ1mmy
  • B1gJ1mmy
29 Mar 2025 13:38 - 29 Mar 2025 13:42

Yet another LinuxCNC noob with a PCI card as Port1 issue.

Category: General LinuxCNC Questions

Hi All. 

I apologise for posting this.  I'm sure the solution is out there somewhere but all the stuff I can find seems not to work.   

I want to run  a pci card as a second parallel port for my DIY cnc.   I want more inputs and some more outputs also. I am using a Generic breakout board that is identical to primary one I am using on Port 0. My board has a Parallel port on 0x378 This Port 0 in linux and works fine if I do in my hal file.

loadrt hal_parport cfg="0 out” or loadrt hal_parport cfg="0x378 out” 

The PCI Card is some sort of generic MOSCHIP based card and it is detected as Port 1 in linux.  It has two addressed associated with it 0xe480 & 0xe800I have tried the following in my Hal file

loadrt hal_parport cfg="0 out 1 out”  (port 0 works port 1 nothing)
loadrt hal_parport cfg="0 1 out”  (cant remember what this one did probably same as the rest)
loadrt hal_parport cfg="0x378 0xe480 0xe800 out “ (port 0 works port 1 nothing)
loadrt hal_parport cfg=”0x378 0xe480 out” (port 0 works port 1 nothing)
loadrt hal_parport cfg=”0x378 0xe800 out” (port 0 works port 1 nothing)
loadrt hal_parport cfg=”0x378 out  0xe480 out  0xe800 out “ (port 0 works port 1 nothing)
loadrt hal_parport cfg=”0x378 out 0xe480 out “ (port 0 works port 1 nothing)
loadrt hal_parport cfg=”0x378 out 0xe800 out “ (port 0 works port 1 nothing)

I have tried every variation I can think of but still get no output. I am testing using a multi-meter on two outputs on the port 1 breakout board had had set them to be amplifier enable and one output is inverted from the other just for the sake of testing.

I have also tried probing the cable it shows no changes when I press enable in linuxcnc. On port0 it works and hitting enable locks up the motors.

Can anyone point me the correct direction!  I feel like I’m going in circles.
  • Grotius
  • Grotius's Avatar
29 Mar 2025 12:51
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Hi,

For information.
Here is a patch manual. It's included in the repository now.
patch manual
  • papagno-source
  • papagno-source
29 Mar 2025 12:34
Replied by papagno-source on topic update-ethercat-config

update-ethercat-config

Category: EtherCAT

I apologize, but I ask you for help.
At this point if I used 2.9.x I have to perform a procedure, while for 2.10, I have to perform another procedure.
I installed debian 12 with uspace, from the iso image downloaded from the lunuxcnc download.
The next procedure to correctly install Ethercat and linux cnc to compile, where can I find it?

Many thanks
  • mclien
  • mclien
29 Mar 2025 12:29
Replied by mclien on topic How to build a CNC Router?

How to build a CNC Router?

Category: Milling Machines

So here are some pics of the used hardware I bought.
As I did not get any exact match, this might have been a quite stupid action on my side.
Anyways, do you think it's worth a try with some of the mentioned TB6600 driver boards? Or should I drop it an start with some nema17 steppers and the mentioned TB6600 driver boards?
Plus (as I want to somewhat keep in mind the setup of the big machine) I'd like to start using a mesa board directly. Would that work with the mesa 7192 type of boards?
  • Masiwood123
  • Masiwood123's Avatar
29 Mar 2025 12:27
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

...except, a friend will lend me a hand-held oscilloscope, where I could establish by moving the jog buttons on the controller's keyboard what the signals are.
  • Grotius
  • Grotius's Avatar
29 Mar 2025 12:17
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

For the tangential knife application, at the moment there is only a rotational value output available, wich
can be used in hal to connect to a motor or device.
There is no additional logic in the planner for the tangential knife.

I understand the concerns off DauntlessA regarding the use of the tangential knife when there is no additional
logic included.

I see basicly 2 solutions at the moment.

Solution 1 Basic :
Use the hal rotational value from the planner, connect the tangential motor in hal.
Then be sure your gcode uses ramp in path's so that the direction vector is always in the right direction.
In my perspective it's better to avoid straight z moves, but always a z move containing some xy changes, wich will
direct the tangential rotation in the path direction.

Solution 2 Advanched :
The planner has at the moment 4 build-in, you can call it "post processors". overview link
These are used to verify the planners behaviour at runtime. And they are used as fallback option and as a template layout.

We can easely add more post processors for special applications.

That's why the infrastructure in the planner is build up this way.
You just need to copy one off the current post processor .h header files, and edit it your way.

Then for example, we copy the "file_path_clothoid" to a new path algo: "file_path_clothoid_tangential_knife".

Then when doing the tpAddLine or tpAddCircle, we can add rotational start-, end values for a-axis, wich can be used for the
tangential knife device.

From the moment the a-axis has rotational tangential knife values.
It's part of the motion control system.

During the tpAddline & tpAddCircle we also look if a-axis has only motion, and xyz has motion or xyza has motion.
This makes difference in calculating speeds & trajectory length's.

So in fact a lot can be customized here. The planner has a clean modular infrastructure. And the oversight is not that hard to
follow.

I have build a cnc with tangential knife device years ago. It was sold to a shoe company to cut shoes from leather.



 
  • rodw
  • rodw's Avatar
29 Mar 2025 11:59 - 29 Mar 2025 12:00
Replied by rodw on topic Adding a M.2 ethernet port

Adding a M.2 ethernet port

Category: Computers and Hardware

Yes you are doing it as PCW does it in man hm2_eth
Untested but you could try adding this to /etc/network/interfaces
iface enp2s0 inet manual
       hardware-irq-coalesce-rx-usecs 0
       pre-up /usr/sbin/ethtool --set-eee $IFACE eee off
then restart
You can check if enabled with
sudo ethtool --show-eee enp2s0
  • Grotius
  • Grotius's Avatar
29 Mar 2025 11:37 - 29 Mar 2025 11:46
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

@Eneias_eringer,

To install it on different lcnc versions, you need to patch the original lcnc version first.
If you use a tool like :https://www.diffchecker.com/text-compare/
you can compare the files to path, with your current file. And see the difference between them.
This example shows how to patch the current lcnc git clone.

The path includes replacing 4 files, and needs at least 3 to be replaced or modified :
  1. motion.c
  2. tp.c
  3. tp.h
In general : add the blue code after the existing green code.

1. motion.c
~Line 242 :

    tpMotData(emcmotStatus
             ,emcmotConfig
             );

    tpMotExtraData(emcmotCommand,
                   emcmot_hal_data
                   );


2. tp.c
~Line 64

static emcmot_status_t *emcmotStatus;
static emcmot_config_t *emcmotConfig;


emcmot_status_t *emcmotStatus;
emcmot_config_t *emcmotConfig;

emcmot_command_t *emcmotCommand;
emcmot_hal_data_t *emcmot_hal_data;


Note : in latest lcnc version some dev now used "static emcmot_status_t *emcmotStatus;".
We don't use that.

3. tp.h
~Line 20
#include "tcq.h"
#include "mot_priv.h"

~Line 85
               ,emcmot_config_t *
               );


// Forward decleration.
void tpMotExtraData(emcmot_command_t *
               ,emcmot_hal_data_t *
               );


Then i just tested a git clone and a patch by :
git clone https://github.com/LinuxCNC/linuxcnc.git lcnc_path_test

[b]* note. use recursive, this downloads the scurve & clothoid lib from external sources.[/b]
git clone --recurse-submodules https://codeberg.org/skynet/linuxcnc_scurve_compact lcnc_codeberg

copy the cmake folder & content from lcnc_codeberg/cmake to lcnc_path_test/cmake

cd lcnc_path_test/cmake
./patch
./build_lcnc
cd ..
cd scripts
. ./rip-environment
linuxcnc

This worked.

When above is working, the last thing to do is install the scurve code.

We need google's ceres solver to be installed :sudo apt-get install libceres-dev
Then to install the scurve, you can invoke the ./build_cmake command from within the /cmake directory.
This then builds & installs the scurve component, clothoid lib, scurve lib etc.
 
  • Domi
  • Domi
29 Mar 2025 11:23

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I have 8 ST link V2 and they are all 128kb. How can I put the remora-rt1052-3.1.3.bin firmware on them when they are 350kb?
  • Hakan
  • Hakan
29 Mar 2025 11:05 - 29 Mar 2025 11:32
Replied by Hakan on topic Adding a M.2 ethernet port

Adding a M.2 ethernet port

Category: Computers and Hardware

Doesn't work. The i226 uses the igc driver.
Neither igc.EEE=on or igc.EEE=off does work, entered just by chance.
As it turns out, eee is disabled by default on the new i226 card so all is good there.

Coalesce is set like this
iface enp2s0 inet manual
       hardware-irq-coalesce-rx-usecs 0
which is perhaps how it always have been done. No need for any tx-usecs, that was the point. In fact, that is an error to add tx-usecs.

 
  • Masiwood123
  • Masiwood123's Avatar
29 Mar 2025 10:24
Replied by Masiwood123 on topic bandit controller retrofit

bandit controller retrofit

Category: General LinuxCNC Questions

The flat control cable from the driver's controller has 16 pins, I shouldn't try it because I'm afraid that there will be some ``smoke signal'':)
  • machinedude
  • machinedude's Avatar
29 Mar 2025 09:50

What do you really get for a $350 desk top engraver ?

Category: Show Your Stuff

the end of the shaft snaped off. i just pulled it apart to see what i could find. that's pretty odd :)
  • rodw
  • rodw's Avatar
29 Mar 2025 09:35

What do you really get for a $350 desk top engraver ?

Category: Show Your Stuff

 my x was a bit under powered, so this is reason to bump up a little since i can get a 3 Nm with the same frame and shaft size.

Great to see adoption of real engineering units in an imperial world! 
  • machinedude
  • machinedude's Avatar
29 Mar 2025 09:21

What do you really get for a $350 desk top engraver ?

Category: Show Your Stuff

it did seem odd to me too but i did a quick search on google on mechanical failures with steppers and it said gears stripping? i never tore one apart before but i might on this one just to see the inside. when you spin it by hand it feels wrong. usually, you can feel the 1.8-degree full steps.it turns under power but it has no torque.

i got a bigger one this time of the same brand because i can have it later today. my x was a bit under powered, so this is reason to bump up a little since i can get a 3 Nm with the same frame and shaft size.
  • rodw
  • rodw's Avatar
29 Mar 2025 08:55

What do you really get for a $350 desk top engraver ?

Category: Show Your Stuff

Thats unusual. Usually, they overheat and loose steps if you push them too far and eventually stop. There isn't anything to strip really. But the temperature could exceed the safe limit and melt the insulation in the windings. What happens if you swap stepper drives?

There is something to be said for using quality motors. Try Moons Industries who you are in US. 

 
Displaying 16591 - 16605 out of 18510 results.
Time to create page: 0.446 seconds
Powered by Kunena Forum