Advanced Search

Search Results (Searched for: )

  • 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
  • scotta
  • scotta's Avatar
08 Aug 2024 20:44

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Deadband should be a positive number. I'll need to force that in the code. What you've done is kinda like what Cakeslob suggested.

// apply the deadband
if (error > deadband)
{
error -= deadband;
}
else if (error < -deadband)
{
error += deadband;
}
else
{
error = 0;
}
....

// calculate the output value
vel_cmd = pgain * error + data->cmd_d * ff1gain;

Try increasing your pgain.
  • rodw
  • rodw's Avatar
08 Aug 2024 19:49

Ethercat installation from repositories - how to step by step

Category: EtherCAT

yes tested it works on my chromebook so it should work on any device Ethercat supports. Shame it does not have an Ethernet port :)
copy text to a file. call it ethinstall.sh and make it executable:
chmod +x ethinstall.sh
./ethinstall.sh


 
  • rodw
  • rodw's Avatar
08 Aug 2024 19:37

Ethercat installation from repositories - how to step by step

Category: EtherCAT

The Raspberry pi images do not include the Ethercat repositories but enabling some commented out code should enable it according to feedback from etherlabmaster
Try running a script something like this
#!/bin/bash
# Install companion repositories. NOTE: QTPYVCP does not support the raspberry pi.
echo "Install ethercat repository"
mkdir -p /usr/local/share/keyrings/
wget -O- https://build.opensuse.org/projects/science:EtherLab/signing_keys/download?kind=gpg | gpg --dearmor | dd of=/etc/apt/trusted.gpg.d/science_EtherLab.gpg
tee -a /etc/apt/sources.list.d/ighvh.sources > /dev/null <<EOT
Types: deb
Signed-By: /etc/apt/trusted.gpg.d/science_EtherLab.gpg
Suites: ./
URIs: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/
EOT
  • rodw
  • rodw's Avatar
08 Aug 2024 19:30
Replied by rodw on topic ethercat master service

ethercat master service

Category: EtherCAT

no, out of my depth here but to me lcec.0 and lcec.1 imply separate instances of Ethercat. I would put them on different Linuxcnc threads so the timing is different.
Displaying 24121 - 24135 out of 24524 results.
Time to create page: 0.622 seconds
Powered by Kunena Forum