Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
  • zz912
  • zz912's Avatar
13 Sep 2024 13:28
Replied by zz912 on topic Python - yield INTERP_EXECUTE_FINISH

Python - yield INTERP_EXECUTE_FINISH

Category: General LinuxCNC Questions

I have no problem helping you, BUT you must describe what you exactly need:
- we need wiring diagrams (or description electronic)
- your current LCNC configuration
- description of machine/ATC function
- photos of the machine would help

Start a new thread called, for example, ATC - rockcnc.
  • bertoldo
  • bertoldo
13 Sep 2024 13:22
Replied by bertoldo on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

Hello!

I'm struggling here... in my case there is no such folder as config...

I'm going to make a Scara arm so I don't know if it can have several configurations or just 1... because I haven't run my servo on Ethercat yet and I want to continue to get it either way. Then I'll go where I need to go.
Question 1: Is this config folder generated after I open Linux CNC? I don't want to do that because I'm once again faithfully following the tutorial that's on the forum. Hehehehe
Question 2: If I make it for a 3-axis CNC router, can I make a configuration for Scara and will the Ethercat issue be the same?
  • rockcnc
  • rockcnc
13 Sep 2024 13:15
Replied by rockcnc on topic Python - yield INTERP_EXECUTE_FINISH

Python - yield INTERP_EXECUTE_FINISH

Category: General LinuxCNC Questions

Thankyou
I send "z_up" with stm with serial and in exact moment I need z axis to go up
i really don't understand what you saying
can you help me please?
  • Aciera
  • Aciera's Avatar
13 Sep 2024 13:07
Replied by Aciera on topic toolchange problem

toolchange problem

Category: Advanced Configuration

I send "z_up" with stm with serial and in exact moment I need z axis to go up

Python does not run in real time so for timing critical things a python remap is not really what you want to use in the first place. You would be much better off using a compiled real time component (ie .c or .comp) that could export stm state as hal pins.
  • the_erk
  • the_erk
13 Sep 2024 13:05

Linux beginner RPI 5, GPIO + ethercat 4 axis adventure

Category: Basic Configuration

Establishing Ethercat communication is covered beautifully by forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step 

But for those like me who struggle with following instructions you might encounter the following error
 
because you failed to modify the ethercat conf file located 
with

MASTER0_DEVICE="xx:aa:yy:zz:bb:cc"DEVICE_MODULES="generic"

 

beware that is might not show an error like this if you missed the  DEVICE_MODULES="generic" line further down the file. but it did not behave as expected / work. 

the end result of   "sudo systemctl status ethercat.service" should look like this
 

To confirm that Ethercat is trying to do something, but without any slave devices attached the command " ethercat master" should provide some conformation that something is going on. the output of the command should appear something like this.
 





 
  • my1987toyota
  • my1987toyota's Avatar
13 Sep 2024 13:02
Replied by my1987toyota on topic 3D printed stuff, showcase it here

3D printed stuff, showcase it here

Category: Additive Manufacturing

Mostly 3D printed jet pump. Still refining the design.
 
 
  • ekbiker
  • ekbiker
13 Sep 2024 12:58
Replied by ekbiker on topic ClearPath SDSK Usb port monitoring

ClearPath SDSK Usb port monitoring

Category: General LinuxCNC Questions

it's found...

cnc@FurniturePro:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 079: ID 2890:0201 Teknic, Inc ClearPath Motor
Bus 001 Device 003: ID 04f2:0841 Chicony Electronics Co., Ltd HP Multimedia Keyboard
Bus 001 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  • rockcnc
  • rockcnc
13 Sep 2024 12:56
Replied by rockcnc on topic toolchange problem

toolchange problem

Category: Advanced Configuration

I appreciate your attention
I send "z_up" with stm with serial and in exact moment I need z axis to go up
I'm confused how I'm supposed to do it based on your statement.
It's likely because I'm a novice so Please be considerate and lend me a hand.
  • G0G53Z148
  • G0G53Z148's Avatar
13 Sep 2024 12:32
Replied by G0G53Z148 on topic Aktuelle hardware mit PCI

Aktuelle hardware mit PCI

Category: Deutsch

sag ich dir sobald Kollege ihn angeschlossen hat ich war jetzt 14 tage krank
  • zz912
  • zz912's Avatar
13 Sep 2024 12:27
Replied by zz912 on topic Python - yield INTERP_EXECUTE_FINISH

Python - yield INTERP_EXECUTE_FINISH

Category: General LinuxCNC Questions

o<atc-right> sub

M66E0L0 (Přepočítání LCNC)
o401 if [#<_hal[hm2_7i96.0.gpio.009.in]> NE 1]
(MSG, Osa Z nesepla horní mikrospínač)
M66E0L0 (Přepočítání LCNC)
M2
o401 endif



M64 P3 (DO_3 ON - zapnuti otaceni karuselu)


(Čekání na dotočení karuselu)
#1 = 0
M66E0L0
o201 while [#<_hal[carousel.0.active]> NE 0]
G4 P0.1 (Počkej 0.1 sekundy)
M66E0L0
#1 = [#1+1] (increment the test counter)
o202 if [#1 GT 60]
(DEBUG, Karusel se otáčel moc dlouho - #1 sekund)
M66E0L0 (Přepočítání LCNC)
M65 P3 (DO_3 OFF - vypnuti otaceni karuselu)
M2
o202 endif
o201 endwhile

M65 P3 (DO_3 OFF - vypnuti otaceni karuselu)


G4 P0.05 (Počkej 0.05 sekundy)

M66E0L0
M61 Q#<_hal[carousel.0.current-position]>
G43 H#<_hal[carousel.0.current-position]>
G4 P0.01
M66E0L0

f50 (nastaveni minimalni rychlosti)

o<atc-right> endsub [1]
M2
  • rockcnc
  • rockcnc
13 Sep 2024 12:23
Replied by rockcnc on topic Python - yield INTERP_EXECUTE_FINISH

Python - yield INTERP_EXECUTE_FINISH

Category: General LinuxCNC Questions

can you please give me an example of your G-code
just like you i need to wait for some entrance
  • zz912
  • zz912's Avatar
13 Sep 2024 12:07
Replied by zz912 on topic Python - yield INTERP_EXECUTE_FINISH

Python - yield INTERP_EXECUTE_FINISH

Category: General LinuxCNC Questions

I made my remap in G-code.
Python doesnt like me.
  • rockcnc
  • rockcnc
13 Sep 2024 11:59
Replied by rockcnc on topic Python - yield INTERP_EXECUTE_FINISH

Python - yield INTERP_EXECUTE_FINISH

Category: General LinuxCNC Questions

hey zz912
did you solve this problem?
i have the same problem and stuck in it for a while ):
  • Aciera
  • Aciera's Avatar
13 Sep 2024 11:55
Replied by Aciera on topic toolchange problem

toolchange problem

Category: Advanced Configuration

For
self.Execute("G53 G0 Z85.0") #z to start position
to actually execute before the remap code is done you would have to have a quebuster like this right after it
yield INTERP_EXECUTE_FINISH

However due to internal limitations we cannot call 'self.execute()' again after having used ' yield INTERP_EXECUTE_FINISH' so your current approach won't work.

My usual workaround is to call the python remap code through an ngc wrapper and split the python code into multiple functions. With this approach you have much more freedom in inserting queuebuster commands in the python remap and in the ngc wrapper (eg M66 E0 L0).

So in your example:
I would remove 'self.Execute("G53 G0 Z85.0") #z to start position' and instead of directly calling 'M6_Remap_BiesseRover346' I would call an ngc routine like this:
G53 G0 Z85
M66 E0 L0
<call the python remap here> 
Displaying 21361 - 21375 out of 24608 results.
Time to create page: 0.497 seconds
Powered by Kunena Forum