Advanced Search

Search Results (Searched for: )

  • MirkoCNC
  • MirkoCNC
08 Dec 2024 14:03

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Thanks for solving the diff issue, it has given me a real headache.

The Compile button is enabled now and I am going to check, if it compiles etc.

By the way, Tangbob config.json contains a plugin "blink" mapped to pin10, which is not available on the Tangbob FPGA board (not wired on your PCB). Furthermore, pin10 belongs to the bank 3, which works with 1.8V (not 3.3V) causing an error when placing in the toolchain.
(I used the generated files from your program in the Windows Gowin IDE for running the whole process. It gives me more control what's going on during the processing)
  • PCW
  • PCW's Avatar
08 Dec 2024 13:59
Replied by PCW on topic Trion T20 FPGA Questions

Trion T20 FPGA Questions

Category: Driver Boards

SPI should work though a Efinix specific top level file would need to be
made from the Xilinx source.  Efinix tools don't automatically
translate "Z" types into tristate pins so you have to export the signal
_and_ enable pins from the top level file. Note for the current SPI source
(GCSPI) The SPI clock must be routed to a FPGA clock pin.

Any package is OK
  • csurimilan
  • csurimilan
08 Dec 2024 13:38
Accuracy was created by csurimilan

Accuracy

Category: Configuration Tools

Hello,
i finished with my linuxcnc setup and now i have some trouble with the accuracy.
Im using qtDragon and the newest version of linuxcnc (2.9.3 i think).I home my maschine first and after i send it to the G54 g0 x0 y0 z0 and the machine is going there but not reaching exactly the 0 position.
anyone could maybe help me or explain me?
 
 
  • machinedude
  • machinedude's Avatar
08 Dec 2024 12:53
Replied by machinedude on topic Black Friday Deal got me :)

Black Friday Deal got me :)

Category: Plasma & Laser

I've been gathering and planning quite a bit. My motors and drives came in yesterday and another batch of goodies should be here in the next few days.

I'm still working on my finished plan but have a much better idea of how thing will look coming together.

But with a floating head with a magnetic breakaway and about 5 inches of Z travel i came up with this so far.

 
  • MarkoPolo
  • MarkoPolo
08 Dec 2024 11:36
Replied by MarkoPolo on topic qtvismach, a axis toolpath

qtvismach, a axis toolpath

Category: Qtvcp

length = hal.get_value("hor_pos")
length = (float(length) + 115)
mat = Box(60, -30, -30, length, 30, 30)
mat = Color([0.4, 0.6, 0.2, 0.4],[mat])
mat = Rotate([mat],0,45,0,0)
mat = Translate([mat],0,0,0)
mat = Color([1, 1, 0, 1],[mat])

This is how I build a material element mounted in a lathe.

For now, only the material length is determined automatically, depending on the position of the lathe tailstock.

After the first simulation run, the material dimensions are drawn correctly. The problem is with rebuilding the dimension after running another ngc file with different dimensions.

I tried using HalToolCylinder and HalToolTriangle in various ways, but I must be doing something wrong
  • StoneB
  • StoneB
08 Dec 2024 10:34
Replied by StoneB on topic Xilinx Setup to edit config for 7i92T

Xilinx Setup to edit config for 7i92T

Category: Driver Boards

Thanks PCW and cornholio for your pointers! 

I would really want to try a custom firmware as the card will interface with two pre-existing connectors / controllers within a very tight space - adding a DB25 cable which reroutes the ports will be an absolute pain 

I have now Efinix loaded and running, and I have found how to load the 7i92t-hm2 project (I assume from other forum posts that the 7i92t25 is for larger projects and so not applicable for me). I'm not able to find a pointer as to where to edit my pins? I read that I need to edit seveni92t.peri.xml but that file looks daunting: how I find which pins (of the two ports) are meant?

Also, thanks for the pointer regarding toggle: I have amended my notes, does it work to have just one Step, or do they need to come in step/dir pairs?
P2: LPT 1 (Slider SFX)
IO Connections for P2
DB25 pin#             I/O   Pri. funk    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                      0   IOPort       None             
14                      1   IOPort       PWM              1        PWM             (Out)           
 2                      2   IOPort       StepGen          0        Dir/Table2      (Out)
15                      3   IOPort       None            
 3                      4   IOPort       StepGen          0        Step/Table1     (Out)
16                      5   IOPort       StepGen          4        Step/Table1     (Out)     (Toggle 250Mhz PWM)
 4                      6   IOPort       StepGen          1        Dir/Table1      (Out)
17                      7   IOPort       None
 5                      8   IOPort       StepGen          1        Step/Table1     (Out)
 6                      9   IOPort       StepGen          2        Dir/Table2      (Out)
 7                     10   IOPort       StepGen          2        Step/Table1     (Out)
 8                     11   IOPort       StepGen          3        Dir/Table2      (Out)
 9                     12   IOPort       StepGen          3        Step/Table1     (Out)
10                     13   IOPort       None           
11                     14   IOPort       None           
12                     15   IOPort       None           
13                     16   IOPort       None           

P1: IO & Encoder (Pendant & Future Spindle)
IO Connections for P1
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                     17   IOPort       None           
14                     18   IOPort       QCount           1        Quad-A          (In)           
 2                     19   IOPort       None           
15                     20   IOPort       QCount           1        Quad-B          (In)           
 3                     21   IOPort       None           
16                     22   IOPort       QCount           1        Quad-IDX        (In)           
 4                     23   IOPort       None           
17                     24   IOPort       None           
 5                     25   IOPort       None
 6                     26   IOPort       None
 7                     27   IOPort       None
 8                     28   IOPort       None
 9                     29   IOPort       None
10                     30   IOPort       QCount           1        Quad-A          (In)
11                     31   IOPort       QCount           1        Quad-B          (In)
12                     32   IOPort       QCount           1        Quad-IDX        (In)
13                     33   IOPort       None           


Slider SFX Pinout
Pin 1 Relay 1, e.g. main spindle on/off
Pin 2 Direction motor X
Pin 3 Clock motor X
Pin 4 Direction motor Y
Pin 5 Clock motor Y
Pin 6 Direction motor Z
Pin 7 Clock motor Z
Pin 8 Direction motor 4
Pin 9 Clock motor 4
Pin 10-13 Forwarded inputs, e.g. for signals from limit and
 reference switches
Pin 14 PWM signal
Pin 15 Output for ready signal
Pin 16 Toggle signal
Pin 17 Current reduction input (active low)
Pin 18-25 Signal ground (0V, GND)

Thanks for your patient help :)
  • EndCNC
  • EndCNC's Avatar
08 Dec 2024 09:49

(Solved)NameError: name 'tool' is not defined on Probe_Basic_Lathe

Category: QtPyVCP

Problem solved! The solution was a clean uninstallation and then a complete reinstallation.
  • piter_iceman
  • piter_iceman
08 Dec 2024 09:47
Replied by piter_iceman on topic Error reading pdos / motors are not moving - solved!

Error reading pdos / motors are not moving - solved!

Category: EtherCAT

Hello

Thank you for your comments, please see below the updates.

I modified ethercat-conf.xml -
It looks that there is still no connection between XML and linux.I ran the command
sudo dmesg -wH
to monitor system logs in real time. (dmesg_wH.png)
  • The white area at the top of the output corresponds to the period when LinuxCNC was started.
  • The logs below show what happens when the LinuxCNC session is terminated (after clicking "Exit")
The same has been proceed for: sudo dmesg | grep EtherCAT

I would appreciate your support!




 
  • meister
  • meister
08 Dec 2024 08:47 - 08 Dec 2024 08:54

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

thanks MirkoCNC,

the -p stands for preview, which should be omitted when generating correctly (fixed in dev branch)

the diff command should be replaced, preferably with a python lib, as it does not exist under windows

EDIT: diff is now replaced with python code
  • angelnu
  • angelnu
08 Dec 2024 08:44
Replied by angelnu on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

Hello everyone.
I am trying to connect an MPG encoder, but it does not work, it does not always count to 0. I connect it to an Arduino Nano in pins 2 and 3 that are the pins with interruptions.

I have modified in the .ino file:
#define Quadencs 1;
Encoder Encoder0 (2,3); // a, b pin
const int quadencsig = {2,2};
const int quadencmp = {4.4};

In the .py file
Quadencks = 1
Quadenck = [2,2]
  • roland
  • roland's Avatar
08 Dec 2024 08:30
Replied by roland on topic 3D - SpaceMouse on the Robot-Arm

3D - SpaceMouse on the Robot-Arm

Category: Computers and Hardware

Very, very cool!
  • Mecanix
  • Mecanix
08 Dec 2024 08:13 - 08 Dec 2024 08:25

EMC2 featured on a movie, they made us change the name to LinuxCNC

Category: Off Topic and Test Posts

Nope, not implying anything, i just liked the name and wondered how the hell did they get it registered as it is the equation for energy
E=M*C2
 

Prolly tied up to that 4-years term elected decriminalized mob. You know, the same mobsters who facilitate the multi-billions annual drug trade, int'l lethal weapons trade, human trafficking, child porn, (the illicit list is endless), all that by means of monetary supplies & financial services?! Hint; hides its true color behind the pretext of "freedom" ;)

Permission granted to do what the f you want. Unethical business practices incl. Enjoy that announced freedom!!
  • DSS
  • DSS's Avatar
08 Dec 2024 06:45
Trion T20 FPGA Questions was created by DSS

Trion T20 FPGA Questions

Category: Driver Boards

A Couple HostMot2 / Efinix Trion FPGA questions.
  • Is SPI a option or only Ethernet & PCI at present? I did not see a spi _efx.vhd but I may have over looked it. 
  • Any reason a T20Q144C4 could not be used instead of the T20F256C4 with Hostmot2? I feel like I may be over looking something obvious for the sake of solderability while perusing the source files.
  • cmorley
  • cmorley
08 Dec 2024 01:23
Replied by cmorley on topic qtvismach, a axis toolpath

qtvismach, a axis toolpath

Category: Qtvcp

Have you looked at HalToolCylinder and HalToolTriangle ?
These change the shape of an object.

Can you post the material object building code?
Displaying 20416 - 20430 out of 22508 results.
Time to create page: 0.552 seconds
Powered by Kunena Forum