Advanced Search

Search Results (Searched for: )

  • ContinenteCNC
  • ContinenteCNC's Avatar
01 Apr 2025 00:56 - 01 Apr 2025 00:57
Replied by ContinenteCNC on topic Configuring 6 axis robot arm with lcnc

Configuring 6 axis robot arm with lcnc

Category: HAL

Congratulations on your results so far.

I have never tryied LinuxCNC in Raspberry Pi. But, based on my experience in PC based LCNC, I don't think you will ever have any reliability issues running it in step/dir. LinuxCNC is a hell of a reliable motion controller.

 
  • Lcvette
  • Lcvette's Avatar
01 Apr 2025 00:46
Replied by Lcvette on topic Probe basic lathe config

Probe basic lathe config

Category: QtPyVCP

No worries, glad you got it sorted
  • ContinenteCNC
  • ContinenteCNC's Avatar
01 Apr 2025 00:43
Replied by ContinenteCNC on topic Need help with CNC machine build up

Need help with CNC machine build up

Category: General LinuxCNC Questions

I’m at this stage noticing that I can’t change the velocity of y-axis (the one I’m testing). I think it might be the motor driver setting up problem.

I have never seen anything like this. Have you tried to type a value? I don't use stepconf wizard very often.

You can always finish stepconf configuration and edit the .ini file.

But I can tell the motor driver config has no influence on this (if you mean the switches configuration).
  • tommylight
  • tommylight's Avatar
01 Apr 2025 00:42
Replied by tommylight on topic A Simple Parallel Port Tester Board

A Simple Parallel Port Tester Board

Category: Computers and Hardware

No idea, but i am i sure i had 330, 470 and 680 Ohm ones at the time i built it probably over 10 years ago.
  • ContinenteCNC
  • ContinenteCNC's Avatar
01 Apr 2025 00:38 - 01 Apr 2025 00:49
Replied by ContinenteCNC on topic Need help with CNC machine build up

Need help with CNC machine build up

Category: General LinuxCNC Questions

Hi,
I get a PC with build-in parallel port. But i ran the parallel port tester and still got no response.

I can now toggle the machine power in linuxCNC. When I toggle it on, the machine can move when i toggle the machine power off it locks. But still no movement yet.
 


You have to flip the enable pin state.

You may run stepconf wizard once more and invert Amplifier Enable pin or you could edit it directly in you hal file.

What do you mean by no response? Have you tested inputs and outputs? Is everything powered up? You have to plug the USB cable to power the computer side in your bob and also 12-24 volts to power the machine side.

Try running parallel port tester and try to toggle pin 17 to see if built in relay will make any sound.
  • ContinenteCNC
  • ContinenteCNC's Avatar
01 Apr 2025 00:32 - 01 Apr 2025 00:33
Replied by ContinenteCNC on topic A Simple Parallel Port Tester Board

A Simple Parallel Port Tester Board

Category: Computers and Hardware

The option of connecting between PC and machine sounds interesting.

What resistor size have you used?
  • Philip Lydin
  • Philip Lydin
01 Apr 2025 00:10
Absolute encoder homing was created by Philip Lydin

Absolute encoder homing

Category: General LinuxCNC Questions

I’m trying to get my machine to home according to the position of the absolute encoders I have. I did the regular set up with ”HOME_ABSOLUTE_ENCODER = 2”. When I turn off the machine at let’s say z=10 and then turn it back on the machine remembers that z is 10. But when I then turn on my servos the encoders which also of course says z is 10 since it is the absolute position. The machine then thinks the machine has moved 10 and therefore z is now 20 on the screen. Is there a way to make the machine start at 0. I can upload the files tomorrow if I don’t find a fix. Regards Philip
  • snowgoer540
  • snowgoer540's Avatar
31 Mar 2025 22:39 - 31 Mar 2025 22:58
Replied by snowgoer540 on topic Couldn't get the WARNING icon in LcncDialog

Couldn't get the WARNING icon in LcncDialog

Category: Qtvcp

I made a few minutes to take a look at this tonight.  

I do see the behavior you describe, although the order is not the root cause. 

In this line:  github.com/LinuxCNC/linuxcnc/blob/bd9034...ialog_widget.py#L201

elif icon == 'INFO' or isinstance(icon,str): icon = QMessageBox.Information


it's this part that is causing issue:

isinstance(icon,str)


The icon value is set correctly to 'WARNING' on the go-in, but because but because icon is of type str, the second condition "isinstance(icon, str)" evaluates to True, and therefore never gets to check for 'WARNING'.

Perhaps it’s meant to be a catch all, in that case I agree it should move to last, but I want Chris to weigh in before I change it as I'm not quite sure of the purpose (if typo should we tell the user there’s a typo?).
  • Giovanni
  • Giovanni
31 Mar 2025 21:26
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

Yes, I am using (I used) Virtual Box as VM for test.

Is the NativeCAM path correct in the ini file?
(you could post your ini file)
Is NativeCAM runnig standalone from the command line?

As suggested by HansU, you could try to run LinuxCNC from the command line to see the errors during startup.
  • B1gJ1mmy
  • B1gJ1mmy
  • Routerworks
  • Routerworks
31 Mar 2025 20:39
Replied by Routerworks on topic Need help setting up XYYZA for stepper motors

Need help setting up XYYZA for stepper motors

Category: General LinuxCNC Questions

There are no limit switches. Further, I run a 3 axis file successfuly and used this addon to obviate the need for wiring the Y axis together. I believe it uses 2 stepgens successfuly.
Here is what I left out:
HOME_SEARCH_VEL=0
HOME_LATCH_=0
HOME equals to HOME_OFFSET
HOME_SEQUENCE=-2
  • tommylight
  • tommylight's Avatar
31 Mar 2025 20:04
Replied by tommylight on topic Need help setting up XYYZA for stepper motors

Need help setting up XYYZA for stepper motors

Category: General LinuxCNC Questions

Hal file:
net ystep           => parport.0.pin-04-out
setp parport.0.pin-04-out-reset 1
net ydir            => parport.0.pin-05-out
net ystep           => parport.0.pin-06-out
setp parport.0.pin-06-out-reset 1
net ydir            => parport.0.pin-07-out
but further down
net y0pos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
net y0pos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
net y0step <= stepgen.1.step
net y0dir <= stepgen.1.dir
net y0enable joint.1.amp-enable-out => stepgen.1.enable
and
net y1pos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
net y1pos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
net y1step <= stepgen.2.step
net y1dir <= stepgen.2.dir
net y1enable joint.2.amp-enable-out => stepgen.2.enable
Not going further before clearing some stuff up....or
-does the machine have home/limit switches?
There are none in hal, so if there are no switches, you can NOT use tandem axis/joints
-you can use the same stepgen wired in hal to both Y drive pins (as you have them now)
-you can use a normal XYZA config and wire the two Y drive inputs together in parallel
--both versions above are 4 stepgen/4 joint configs, not 5
-use StepConf wizard to make a new XYZA config, then just add the pins in hal, NO editing beyond that.
If there are switches, and you want to have tandem axis/joints, due to limited number of inputs on a parallel port, that requires using at least two inputs as the tandem joints can not be on the same input. Also requires using LUT5 component (i think) to make the homing of all joints that are on the same input.
  • PCW
  • PCW's Avatar
31 Mar 2025 20:04

Need help setting up XYYZA for stepper motors

Category: General LinuxCNC Questions

My guess is that HOME_SEQUENCE is missinghttps://linuxcnc.org/docs/html/config/ini-homing.html#sec:homing-section

(you need as negative number for the Y joints)

Plus, there is a typo in the DISPLAY section:

JOUNT = 5
 
  • millikari
  • millikari
31 Mar 2025 19:55 - 31 Mar 2025 20:01
Replied by millikari on topic Couldn't get the WARNING icon in LcncDialog

Couldn't get the WARNING icon in LcncDialog

Category: Qtvcp

Yes, I call it by connecting STATUS 'general' message and the ACTION.CALL_DIALOG:
if STATUS.machine_is_on():
  mess = {'NAME':'UNHOME_MSG', 'ID':'UNHOME_DIALOG',
                'MESSAGE':'Really want to Un-Home?', 'TYPE':'YESNO', 'ICON':'WARNING'}
   ACTION.CALL_DIALOG(mess)

A LcncDialog widget with matching launch-ID is defined in the ui-file. I have already checked whether the value of the 'icon'-variable is set correctly right before the statement I have shown in my first post (first code box). It's all fine. Looking at the original code, I think, because 'icon' is an instance of string in all cases, the 'WARNING' and 'CRITICAL' cases can never be reached. So I changed the sequence in order to give WARNING and CRITICAL also a chance getting active. Am I right with my consideration or have i missed something?
Displaying 346 - 360 out of 26755 results.
Time to create page: 0.536 seconds
Powered by Kunena Forum