Advanced Search

Search Results (Searched for: )

  • Mecanix
  • Mecanix
09 Aug 2024 06:39 - 09 Aug 2024 06:44

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

Category: Computers and Hardware

@meister

Only when you have time (no rush), I'll need your help with a spindle encoder config. I can make the counter work (A & B signals), however I can't figure out how to make the Z index work. I've attached my config for reference, grateful if you could have a look at it and let me know what I'm doing wrong, or what I'm not doing rather.

ps. only guidance I found was in this thread, from old posts. Although all that info seems to have changed since :( And so I've tried everything before begging for your help!


@cornholio
I have no idea. It's a cmd from python-venv (to activate the virtual environment that Rio is isolated into). 
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
09 Aug 2024 06:38
Replied by Cant do this anymore bye all on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

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

Category: Computers and Hardware

Sweet will wait for more info.
@Mecanix what's the contents of this file
~/rio/riocore/bin/activate
  • cmorley
  • cmorley
09 Aug 2024 06:12
Replied by cmorley on topic qtdragonhd / probing

qtdragonhd / probing

Category: Qtvcp

Ok I see what you mean. What dimension should we use for Z depth?
Should it be 2x Z clearance?
  • newbynobi
  • newbynobi's Avatar
09 Aug 2024 06:05
Replied by newbynobi on topic Jog keys for A axis

Jog keys for A axis

Category: Gmoccapy

Hallo,

Keyboard shortcuts are IMHO dangerous and will only be used on hobby machines. I use a handmade hand MPG for that. But implementing more keys will not lead to a more or less dangerous behavior.

So implementing more keys is not the case. We should try to maintain the behavior equally on every GUI, so I suggest to use the same keys as on AXIS GUI.

Norbert
  • PhilipME
  • PhilipME's Avatar
09 Aug 2024 05:50
Replied by PhilipME on topic Not sure if my parallel port is working

Not sure if my parallel port is working

Category: General LinuxCNC Questions

No I did not try to run anything because the bob is not connected to anything yet.


I will try to run a small motor

Thank you for the reply
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
09 Aug 2024 04:35
Replied by Cant do this anymore bye all on topic Not sure if my parallel port is working

Not sure if my parallel port is working

Category: General LinuxCNC Questions

The parallel port is there 0x378
Have you tried running your machine ?
  • PhilipME
  • PhilipME's Avatar
09 Aug 2024 04:14
Not sure if my parallel port is working was created by PhilipME

Not sure if my parallel port is working

Category: General LinuxCNC Questions

In another computer,  I usually hear the clicking of the relay in my bob when I click to start the cooling water pump

but in this computer I am not sure if the parallel port is working. 

this is what I get from dmesg > boot.txt






10.473367] lp: driver loaded but no devices found
[   10.542907] ppdev: user-space parallel port driver
[   10.653516] parport_pc 00:06: reported by Plug and Play ACPI
[   10.653592] parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE]
[   10.756442] lp0: using parport0 (interrupt-driven).
[   12.327487] input: PC Speaker as /devices/platform/pcspkr/input/input10
[   12.567250] at24 0-0050: supply vcc not found, using dummy regulator
[   12.569898] at24 0-0050: 256 byte spd EEPROM, read-only
[   12.725210] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   12.725268] sr 3:0:0:0: Attached scsi generic sg1 type 5
[   12.880444] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 163840 ms


Good day

Philip
  • PhilipME
  • PhilipME's Avatar
09 Aug 2024 04:06

I found old PC in the dumpster with parallel port

Category: General LinuxCNC Questions

I will start another topic as the issue now is different

Many thanks
  • winyk
  • winyk
09 Aug 2024 01:48

How can I modify trivkins.c? (and also other kinematics files)

Category: General LinuxCNC Questions

I tried reversing x-direction in both forward kinematics and inverse kinematics as you have suggested, but the machine still move in the +x direction. Now, the x in graphic display also shown as positive



here are my kinematicsForward and kinematicsInverse functions. 
int kinematicsForward(const double *j,
                      EmcPose * pos,
                      const KINEMATICS_FORWARD_FLAGS * fflags,
                      KINEMATICS_INVERSE_FLAGS * iflags)
{
    static bool gave_msg;
    // [KINS]JOINTS=3
    pos->tran.x = - j[0]; // X coordinate
    pos->tran.y = j[1]; // Y coordinate
    pos->tran.z = j[2]; // Z coordinate
    // unused coordinates:
    pos->a = 0;
    pos->b = 0;
    pos->c = 0;
    pos->u = 0;
    pos->v = 0;
    pos->w = 0;

    if (*haldata->in && !is_ready && !gave_msg) {
       rtapi_print_msg(RTAPI_MSG_ERR,
                       "%s The 'in' pin not echoed until Inverse called\n",
                      __FILE__);
       gave_msg=1;
    }
    return 0;
} // kinematicsForward()

int kinematicsInverse(const EmcPose * pos,
                      double *j,
                      const KINEMATICS_INVERSE_FLAGS * iflags,
                      KINEMATICS_FORWARD_FLAGS * fflags)
{
    is_ready = 1; // Inverse is not called until homed for KINEMATICS_BOTH

    // Update the kinematic joints specified by the
    // [KINS]JOINTS setting (3 required for this template).
    // Maximum number of joints is defined in include file:
    //         emcmotcfg:EMCMOT_MAX_JOINTS (typ 16)
    // Some joints may be claimed as 'extrajoints' and
    // do not participate in kinematics calculations --
    // $ man motion for more info
    j[0] = - pos->tran.x; // joint 0
    j[1] = pos->tran.y; // joint 1
    j[2] = pos->tran.z; // joint 2

    //example hal pin update (homing reqd before kinematicsInverse)
    *haldata->out = *haldata->in; //dereference
    //read from param example: *haldata->out = haldata->param_rw;

    return 0;
} // kinematicsInverse()

I have already made sure that I reinstall the component with halcompile --install mykins.comp after editing the file.
  • EW_CNC
  • EW_CNC's Avatar
09 Aug 2024 01:35
Replied by EW_CNC on topic Retrofitting a small bending machine

Retrofitting a small bending machine

Category: CNC Machines

DoWerna,
I have retrofitted a press brake with LinuxCNC.
You can checkout my forum topic Pressbrake CNC Control .
We are using it regularly for bending. I still have an issue with homing the backstop, but otherwise it is working good.
- Earl
  • Mecanix
  • Mecanix
08 Aug 2024 23:39
Replied by Mecanix on topic New and Working RTAI debs for 2.9

New and Working RTAI debs for 2.9

Category: Installing LinuxCNC

For the record.

Lenovo ThinkCenter M6180S: RTAI 5.4.258 ~PASS
Dell Optiplex 760 SFF: RTAI 5.4.258 ~FAIL
  • Hauligali22
  • Hauligali22
08 Aug 2024 22:00
Replied by Hauligali22 on topic Closed Loop Computer Vision Enabled CNC

Closed Loop Computer Vision Enabled CNC

Category: QtPyVCP

Hello again, what is the difference between using hal and using Dmitry's pick and place machine? I have been briefly reviewing Dmitry's honestly incredible machine and it is frankly very complicated for me given my inexperience although I am hoping to obtain the necessary experience for my own project.
  • Jindy
  • Jindy
08 Aug 2024 21:21
Replied by Jindy on topic Second LPT port - SOLVED!

Second LPT port - SOLVED!

Category: Advanced Configuration

Thanks for putting up these instructions. I followed them to add a second parallel port, and linuxcnc now doesn't give any warnings when I run the 2 port tester. The on board port works with the tester, but the second port outputs are all stuck at 5V, regardless of what I toggle. Do you know what could be the problem?
  • Hauligali22
  • Hauligali22
08 Aug 2024 20:52
Replied by Hauligali22 on topic Closed Loop Computer Vision Enabled CNC

Closed Loop Computer Vision Enabled CNC

Category: QtPyVCP

Hello, I have been using opencv to perform just regular tracking but I have no idea how to implement the opencv tracking algorithms in a cnc machine. Aciera has given some awesome ideas for doing the closed-loop part, how does your implementation work?
  • zz912
  • zz912's Avatar
08 Aug 2024 20:50
Replied by zz912 on topic Jog keys for A axis

Jog keys for A axis

Category: Gmoccapy

To Aciera: Can I ask you for Pull Request?
I would also like this improvement.
For at least five (5) axis please but all six will be better.
 

To Mariusl:What keys do you suggest?
Home => +A
End => -A
???? => +B
???? => -B
???? => +C
???? => -C

Here are the already occupied keys:
github.com/LinuxCNC/linuxcnc/blob/b054eb...ccapy.py#L3052-L3295
Displaying 24256 - 24270 out of 24501 results.
Time to create page: 0.680 seconds
Powered by Kunena Forum