Advanced Search

Search Results (Searched for: )

  • Sadmeatball
  • Sadmeatball
04 Oct 2024 13:54

Using USB to Ethernet Adaptor for linux cnc..

Category: General LinuxCNC Questions

hello guys

Today I had a problem, suddenly my computer didn't read the ethernet port and I didn't see any lights on the ethernet port on my computer.
so I conclude, my ethernet port is damaged.

the light on the mesa 7i76e's ethernet port is running. and I tried ping 10.10.10.10 from my LAPTOP and as a result, it worked. Mesa 7i76e is not damaged.

So my suspicions about the Ethernet port on my computer are even more certain.


My question is, can I use a USB to Ethernet adapter on my computer to run LinuxCNC?

Is it reliable? or is it a no no?

Thanks in advance for any help

CB
  • Aciera
  • Aciera's Avatar
04 Oct 2024 13:54
Replied by Aciera on topic Machine On button.

Machine On button.

Category: Gmoccapy

in your hal try:
net machine-on          <= <your-pin-here>    => halui.machine.on
  • kworm
  • kworm
04 Oct 2024 13:49
Replied by kworm on topic Weird jogging issue - banging noise

Weird jogging issue - banging noise

Category: General LinuxCNC Questions

This morning I tried qtdragon_hd instead of axis and there is no issue with jogging via mouse so it must be specific to axis. The xset -r doesn't make any difference. I was just using axis for initial setup so using qtdragon_hd fixes it for me.
  • PhilipME
  • PhilipME's Avatar
04 Oct 2024 13:40 - 04 Oct 2024 13:43

Can you recommend belt/pulley driving source

Category: CNC Machines

The spindle : bt-30 power head
The spindle motor : AC servo 1.5 kw max rpm 3000 rpm
torque : 5 N.M

They are not infront of me right now, but I think both have 14 mm shaft with key

intended for small milling machine. 

Best regards

Philip
  • Dougal9887
  • Dougal9887
04 Oct 2024 12:51
Machine On button. was created by Dougal9887

Machine On button.

Category: Gmoccapy

Hi,
I've been using LinuxCNC for a couple of years now, but apart from setting up using the stepconf wizard, I have not attempted any other interaction with Linux.
So please assume no prior knowledge!
I would like to be able to switch on my machine, using a relay interface board controlled by a bob pin.
Unlike Estop, Machine On does not appear as a choice in Stepconf.
I thought this might be as simple as adding a couple of lines to the .hal file, similar to those used for the coolant button. However I just get a message reporting that Machine On isn't recognised.
Any help in getting the machine on button to actually do what it is supposed to do would be much appreciated. 
Thanks, Dougal.
  • xenon-alien
  • xenon-alien's Avatar
04 Oct 2024 12:38
Replied by xenon-alien on topic Alzmetall BAZ 15 CNC Carousel ATC - need help.

Alzmetall BAZ 15 CNC Carousel ATC - need help.

Category: Advanced Configuration

the toolchange.ngc not so difficult, but to unload the spindle i need to find an empty pocket first.
How can i do it?
  • Unlogic
  • Unlogic
04 Oct 2024 12:32
Replied by Unlogic on topic Optimum Optimill MH50V CNC conversion

Optimum Optimill MH50V CNC conversion

Category: Milling Machines

The servo belt drive for the spindle has proven to be a great upgrade. Milling 7050 aluminum with this 20 mm roughing end mill is like cutting butter.



However my already noisy spindle bearings didn't like the extra torque and rpm for very long so after partially machining the part below I had to pause and replace the bearings... 

 

 

 

While I had the machine apart I decided to install a pneumatic tool release cylinder.

 

 

 



In order to safely trigger the tool release I used the toggle, and, not components to create a HAL logic which only enabled to tool release button if the spindle is not enabled. And while the tool release is in progress it inhibits machine and spindle motion.

The HAL code for this was pretty straight forward.
#Pneumatic tool release
loadrt toggle names=tool-change-toggle
loadrt and2 names=and-tool-change
loadrt not names=spindle-not-enabled

addf tool-change-toggle servo-thread
setp tool-change-toggle.debounce 5
addf spindle-not-enabled servo-thread
addf and-tool-change servo-thread

net tool-change-button <= hm2_7i96s.0.7i84.0.0.input-14
net spindle-enable-soft-stop => spindle-not-enabled.in
net spindle-disabled <= spindle-not-enabled.out

net tool-change-button => and-tool-change.in0
net spindle-disabled => and-tool-change.in1

net trigger-tool-change <= and-tool-change.out
net trigger-tool-change => tool-change-toggle.in

net tool-change-toggled <= tool-change-toggle.out
net tool-change-toggled => hm2_7i96s.0.7i84.0.0.output-04
net tool-change-toggled => spindle.0.inhibit
net tool-change-toggled => motion.feed-inhibit

However I banged my head against component conflicts for quite some time. First I tried the HAL TWOPASS setting which to my great surprise didn't work. Upon reading the documentation a bit more closely I realized that the TWOPASS option doesn't work for postgui HAL files which is exactly what I was dealing with here.

The conflict ended up being caused by the stock probe_basic_postgui.hal file which loads some components before chain loading my custom.hal file. My custom.hal in turn chain loads a separate run_pause.hal file (the excellent run/step/resume code from BigJohnT). I had to consolidate all these files as it made not sense to have the code spread out if they ended up being dependent on each other any way.

After sorting that out the tool release logic works great. Thought this could be useful information for other rookies who come across this problem.
  • RDA
  • RDA
04 Oct 2024 12:28
Replied by RDA on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

BS as in bullshit.
The past 10 years hypertherm has been reducing the amount of OEM’s and distributors and made it harder and harder to buy the highfef systems if you just make a couple tables per year.
In UK, or any other country, if you try to buy XPR’s you need to commit to buy more than a couple systems or they just point you to a distributor. At which point the price goes up so that you can’t really compete with the other “established” OEM’s.
  • Aciera
  • Aciera's Avatar
04 Oct 2024 11:50
Replied by Aciera on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Versuch mal in der hal für alle Achsen das 'home-..' Signal an die 'joint.n.neg-lim-sw-in' und 'joint.n.pos-lim-sw-in' zu legen.
Hier als Beispiel für 'AXIS X JOINT 0', die anderen Achsen entsprechend anpassen.

Ändere diese Zeilen:
net home-x     =>  joint.0.home-sw-in
net x-neg-limit     =>  joint.0.neg-lim-sw-in
net x-pos-limit     =>  joint.0.pos-lim-sw-in

zu:
net home-x     =>  joint.0.home-sw-in
net home-x     =>  joint.0.neg-lim-sw-in
net home-x     =>  joint.0.pos-lim-sw-in



Damit das Referenzfahren so funktioniert musst du noch in der ini bei allen 'JOINT_n' Abschnitten diese Zeile hinzufügen:
HOME_IGNORE_LIMITS = YES
  • kworm
  • kworm
04 Oct 2024 11:29 - 08 Oct 2024 19:37
Replied by kworm on topic EoE Configuration

EoE Configuration

Category: EtherCAT

I have to use EoE because the Rexroth drives I have can only be accessed via their config software over EoE at the same time as CoE is enabled. You have to disable CoE in order to access them directly so I can't use the tuning tools/oscilliscope and/or view/configure parameters in realtime with the drive connected to the control.

From what I've been able to determine part of the EoE code for device creation and ip setup is in the etherlab master but then the user application - linux-ethercat in this case - has the cyclic cycle. That makes me think that it's likely something with linux-ethercat,

Update:  From looking at the linux-ethercat code and information I've received from the etherlab mailing list I don't believe that it's currently possible to use EoE with userspace LinuxCNC.  There is no call to ecrt_master_send_ext() in the userspace linux-ethercat code which is required for EoE to function according to etherlab docs.  It's a kernel only function so not sure if there is a solution.  I haven't tried it but it might work on an RTAI kernel with everything as kernel modules.
  • AnkerFly
  • AnkerFly
04 Oct 2024 11:15

New project, litehm2: a hostmot2 port to linsn rv901t

Category: Driver Boards

hi all.
i have problem.


(litexcnc) vasya@debian:~/litehm2$ make
make -f Makefile.target TARGET=rv901t_4out__3stepgen_2enc_1pwm
make[1]: Entering directory '/home/vasya/litehm2'
dd if=/dev/zero of=build/rv901t_4out__3stepgen_2enc_1pwm/firmware/firmware.bin bs=32k count=1
1+0 records in
1+0 records out
32768 bytes (33 kB, 32 KiB) copied, 0.00169724 s, 19.3 MB/s
dd if=/dev/zero of=build/rv901t_4out__3stepgen_2enc_1pwm/firmware/loader.bin bs=4k count=1
1+0 records in
1+0 records out
4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000610246 s, 6.7 MB/s
./litehm2.py --builddir=build/rv901t_4out__3stepgen_2enc_1pwm --config=configs/rv901t_4out__3stepgen_2enc_1pwm.conf
INFO:S6PLL:Creating S6PLL, speedgrade -2.
INFO:S6PLL:Registering Single Ended ClkIn of 25.00MHz.
INFO:S6PLL:Creating ClkOut0 sys of 80.00MHz (+-10000.00ppm).
INFO:S6PLL:Creating ClkOut1 fast of 200.00MHz (+-10000.00ppm).
Traceback (most recent call last):
  File "/home/vasya/litehm2/./litehm2.py", line 201, in <module>
    main()
  File "/home/vasya/litehm2/./litehm2.py", line 194, in main
    soc = LiteHM2(ip_address=args.ip_address,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vasya/litehm2/./litehm2.py", line 94, in __init__
    main_ram_init = get_mem_data(builddir + "/firmware/firmware.bin",
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: get_mem_data() got an unexpected keyword argument 'data_width'
make[1]: *** [Makefile.target:10: litehm2] Error 1
make[1]: Leaving directory '/home/vasya/litehm2'
make: *** [Makefile:8: bitstreams/rv901t_4out__3stepgen_2enc_1pwm.bit] Error 2
(litexcnc) vasya@debian:~/litehm2$ 

 
  • hans48
  • hans48
04 Oct 2024 09:31
Replied by hans48 on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Hallo
Habe nach langer Zeit wieder Zeit mit meinen CNC Projekt weiter zu machen. Schaltkasten Installiert alles Verkabelt. So weit so gut.
Motoren Drehen Referenzfahrt erfolgreich. Nur werden die Endschalter beim Jog - Modus nicht erkannt (Schalten nicht ab). Habe versucht in der HAL etwas zu finden ist aber nicht gelungen. Wo und was muß geändert werden das die Endschalter funktioneren.
Endschalter sind in Serie geschaltet also pro Achse ein Eingang. X - Achse hat 2 Eingänge X und X2 (wird nur zum Ref verwendet.
Wie schon oben geschrieben ein Anfänger.  HAL und INI datei habe ich schon reingestellt.
Gruß Hans
  • xenon-alien
  • xenon-alien's Avatar
04 Oct 2024 08:46 - 04 Oct 2024 10:06
Replied by xenon-alien on topic Alzmetall BAZ 15 CNC Carousel ATC - need help.

Alzmetall BAZ 15 CNC Carousel ATC - need help.

Category: Advanced Configuration

Here is my hal file (pleas tell me which pins to use) 

File Attachment:

File Name: Baz15CNC.hal
File Size:20 KB


Now i  will try to edit the toolchange.ngc (it looks like the macro-b in the DDCS Expert controller)
  • onceloved
  • onceloved's Avatar
04 Oct 2024 08:22
Replied by onceloved on topic EoE Configuration

EoE Configuration

Category: EtherCAT

Why do you have to use eoe?
  • Grotius
  • Grotius's Avatar
04 Oct 2024 07:03
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

@Robh,

i am thinking this would also open up the ability to have a monitoring system pickup info from every linuxcnc on the shop floor as i have many linuxcnc machines running
Yes, the monitor system starts a client for every machine on the floor and recieves a json list containing machine status and lots more.
But you can also start a new program from the monitor system as you can send commands as client.

If your shop has 10 machines, the monitor system can start 10 client's, the port numbers for each client must be unique.
So every machine's server in your shop has a unique port number.

For example machine 0 :
port = "0001";       

For example machine 1 :
port = "0002";       

Meaning superimposed control:
superimposed control refers to a higher-level control strategy where multiple control tasks or processes are managed simultaneously, often with overlapping responsibilities. This can involve coordinating multiple control loops, such as position control, speed control, and force control, which are executed concurrently to achieve more complex behaviors than would be possible with individual controls acting in isolation.

For example, in a machining environment, superimposed control might allow one control loop to maintain a precise tool position while another adjusts the cutting speed based on real-time feedback, such as load or temperature changes. The idea is to layer different control strategies (position, speed, force) on top of one another to ensure optimal machine performance.


then all we need is the ability to run multi interpreters and superimposed control
How do you see this in practical way?
Trough a monitor system for 10 machines, the 10 client's in the control system can do logic operations, like if machine 0 is ready, start machine 1 etc. Quite simple tasks.

I guess running multiple interpreters and superimposed control is something more complex, i am interested in how you see this.

@Rda,
I dont know why someone would refuse from a picture, crazy as you can just google it…
For me also the question.
Who is BS? 
Displaying 20656 - 20670 out of 24346 results.
Time to create page: 0.586 seconds
Powered by Kunena Forum