Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
15 Nov 2024 17:36

Interface to LightBurn (is pylib a better choice).

Category: General LinuxCNC Questions

The python interface is the solution of choice for GUI development and easier to get support. linuxcncrsh is a bit of an exotic solution that few users have experience with.
You can run multiple python scripts that interface with the python API but you need to be aware that having more than one interface sending commands to linuxcnc can lead to race conditions, particularly when sending MDI commands (This is independent of what languages those interfaces use though).
With python you also need to be careful as one python script can block all the others (eg if you wait for an MDI command to finish execution) which can lead to problems like these :
github.com/LinuxCNC/linuxcnc/issues/3120
github.com/LinuxCNC/linuxcnc/issues/3129
  • juliankoenig87
  • juliankoenig87
15 Nov 2024 17:33
Replied by juliankoenig87 on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

Yes. Tried it before. Might be a faulty 7i43. Or I shoul test with an old pc with an "real" parport.
  • Ismacr63
  • Ismacr63
15 Nov 2024 17:27
Replied by Ismacr63 on topic coolant mist pulses

coolant mist pulses

Category: QtPyVCP

Yes, all this will work on a parallel port.

something like this:

loadrt siggen
addf siggen.0.update servo-thread
setp siggen.0.frequency .1     # 10 second period)
loadrt oneshot
addf oneshot.0 servo-thread
setp oneshot.0.width 2           # 2 second on time
loadrt not
addf not.0 servo-thread
net cool-trigger siggen.0.clock oneshot.0.in
net coolant-out oneshot.0.out [some_parallel_port_pin]
net coolant-on not.0.in
net gate-coolant not.0.out oneshot.0.reset siggen.0.reset  # when coolant is off, reset both siggen and oneshot


 

Tried to test it but received an error. If I remove the lines that I have added in hal linuxcnc starts normally
  • PCW
  • PCW's Avatar
15 Nov 2024 17:27 - 15 Nov 2024 17:30
Replied by PCW on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

You might try reversing the addresses based on the lspci order:

Region 0: I/O ports at d010
Region 1: I/O ports at d000

It may also be that the 7I43 is damaged
  • juliankoenig87
  • juliankoenig87
15 Nov 2024 17:18
Replied by juliankoenig87 on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

Mhmmm.
loadrt hm2_7i43 ioaddr=0xd000 ioaddr_hi=0xd010 epp_wide=0 config="firmware=hm2/7i43-4/SVST4_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"
gives me:
Warning: Spoiler!
  • PCW
  • PCW's Avatar
15 Nov 2024 17:01 - 15 Nov 2024 17:12
Replied by PCW on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

0xd400 cannot be a valid address as its not listed by lspci

that is,  "ioaddr_hi=0xd010" should be tested

Also hm2/7i43-2/SVST4_4.BIT is a bitfile for a 7I43-2, but you have a 7I43-4
 
  • juliankoenig87
  • juliankoenig87
15 Nov 2024 16:59
Replied by juliankoenig87 on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

I can get some strange results:
loadrt hm2_7i43 ioaddr=0xd000 ioaddr_hi=0xd400 epp_wide=0 config="firmware=hm2/7i43-2/SVST4_4.BIT

Gives me:
No parport registered at 0xd000. This is not always an error. Continuing.
hm2/hm2_7i43.0: invalid cookie, got 0x00000000, expected 0x55AACAFE
hm2/hm2_7i43.0: FPGA failed to initialize, or unexpected firmware?
hm2_7i43.0: board at (ioaddr=0xD000, ioaddr_hi=0xD400, epp_wide OFF) not found!
hm2_7i43: rtapi_app_main: Invalid argument (-22)

If I change to:
loadrt hm2_7i43 ioaddr=0xd010 ioaddr_hi=0xd410 epp_wide=0 config="firmware=hm2/7i43-2/SVST4_4.BIT

I have to change to the 7i43-4 firmware because linuxcnc said thats tghe wrong one. Wit 000 and 400 it is vise versa...
  • Axolito
  • Axolito's Avatar
15 Nov 2024 16:54
Replied by Axolito on topic Unwanted actions with a touch screen

Unwanted actions with a touch screen

Category: Gmoccapy

This version doesn't have the jog buttons, but the problem was the same when they were displayed.

  • juliankoenig87
  • juliankoenig87
15 Nov 2024 16:42
Replied by juliankoenig87 on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

Ok. that is new:

cnc@linuxcnc:~$ sudo mesaflash --epp --device 7i43 --addr 0xd000
[sudo] Passwort für cnc:

EPP device 7I43 at 0xD000:0xD400

 
  • PCW
  • PCW's Avatar
15 Nov 2024 16:42
Replied by PCW on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

might be 0xd000 low 0xd010 high
  • juliankoenig87
  • juliankoenig87
15 Nov 2024 16:40
Replied by juliankoenig87 on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

So. d010 and d000 ?

I tried 0xd000 without success.
  • juliankoenig87
  • juliankoenig87
15 Nov 2024 16:37
Replied by juliankoenig87 on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

lspci -vv:
Warning: Spoiler!
  • PCW
  • PCW's Avatar
15 Nov 2024 16:10
Replied by PCW on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

You would need the

lspci -vv

option to show addresses
  • juliankoenig87
  • juliankoenig87
15 Nov 2024 16:08
Replied by juliankoenig87 on topic Suggestion for a PCI EPP card for 7i43

Suggestion for a PCI EPP card for 7i43

Category: General LinuxCNC Questions

Ok. Everytime I use only the terminal I can get a connection to the 7i43.

Once I try to start linuxcnc I get an error. After that the pc freezes when I try to reacg for the card by the terminal.
  • PCW
  • PCW's Avatar
15 Nov 2024 16:04
Replied by PCW on topic Only one of the gantry joints move

Only one of the gantry joints move

Category: Basic Configuration

Can you post your hal/ini files?
Displaying 17371 - 17385 out of 24494 results.
Time to create page: 0.381 seconds
Powered by Kunena Forum