Advanced Search

Search Results (Searched for: )

  • cmorley
  • cmorley
11 Sep 2025 04:33
Replied by cmorley on topic gladeVCP not calling python handlers

gladeVCP not calling python handlers

Category: GladeVCP

This seemed to work. run from a terminal to see the print statements.
  • rhscdn
  • rhscdn
11 Sep 2025 02:58
Replied by rhscdn on topic CNC router x axis homing issue

CNC router x axis homing issue

Category: General LinuxCNC Questions

I should also say that I'm using a 7i96s and originally used pncconf to generate these, In the wizzard, I specified my inputs 0,1,2 as X,Y,Z Limit Switches. Would it be better to specify these as Home Switches?
  • rhscdn
  • rhscdn
11 Sep 2025 02:12
CNC router x axis homing issue was created by rhscdn

CNC router x axis homing issue

Category: General LinuxCNC Questions

I am having a little trouble trying to understand axis homing that I am hoping someone can explain. I am trying to use my minimum x-axis limit switch for homing. It is currently working ok as a limit switch.

From the documentation , I have SEARCH_VEL negative and LATCH_VEL negative so I expected the homing sequence to follow the 2nd diagram, i.e.
  1. move in the negative x direction at SEARCH_VEL speed until the home/limit switch is activated,
  2. back off the home/limit switch at SEARCH_VEL speed in the positive x direction, 
  3. move in the negative x direction at LATCH_VEL speed until the home/limit switch is activated,
  4. move in the positive direction at HOME_FINAL_VEL to the home position.
However, in the last step (4), the tool moves opposite to what I expect (the negative x direction) and crashes into the endstop.

Relevant settings are:

machine.hal
...
# --- MIN-X ---
net min-x <= hm2_7i96s.0.inm.00.input-00
...
# https://www.linuxcnc.org/docs/html/config/ini-homing.html#_home_ignore_limits
# If you do not have a separate home switch set HOME_IGNORE_LIMITS to YES
# and connect the limit switch signal to the joint home switch input in HAL
# Original
#net x-home-sw => joint.0.neg-lim-sw-in
net min-x => joint.0.neg-lim-sw-in joint.0.home-sw-in
net x-pos-limit => joint.0.pos-lim-sw-in

machine.ini
[AXIS_X]
MAX_VELOCITY = 5.483333333333333
MAX_ACCELERATION = 4.0
MIN_LIMIT = -0.001
MAX_LIMIT = 39.0

[JOINT_0]
TYPE = LINEAR
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 5.483333333333333
MAX_ACCELERATION = 4.0
STEPGEN_MAXVEL = 6.85
STEPGEN_MAXACCEL = 5.00
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP = 6000
DIRHOLD = 6000
STEPLEN = 3000
STEPSPACE = 3000
STEP_SCALE = 2037.25
MIN_LIMIT = -0.001
MAX_LIMIT = 39.0
HOME_SEARCH_VEL = -0.2
HOME_LATCH_VEL = -0.05
HOME_FINAL_VEL = 0.1
HOME = 1.0
HOME_OFFSET = 5.0
HOME_IGNORE_LIMITS = YES
HOME_IS_SHARED = 1
HOME_SEQUENCE = 2
 
  • unknown
  • unknown
10 Sep 2025 22:46
Replied by unknown on topic Installing 2.9.5 on Raspberry Pi 5

Installing 2.9.5 on Raspberry Pi 5

Category: Installing LinuxCNC

Taking an educated guess, it could be a permission issue, using the link you provided and removing the filename gets a directory listing in a browser, 403 is there when trying to download, other files are accessible.
Hopefully Andy will become aware of this, one option might be to access either the mailing lists, I'm banned due to comments on the origins of Code of Conducts and implementor, or GitHub.
  • scotta
  • scotta's Avatar
10 Sep 2025 20:39

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Why have you hacked the motor feedback and enable?

net xpos-cmd <= joint.0.motor-pos-cmd => remora.SP.0 joint.0.motor-pos-fb
# net j0pos-fb <= remora.joint.0.pos-fb => joint.0.motor-pos-fb
# net j0enable <= joint.0.amp-enable-out => remora.joint.0.enable

Your hal file has no endstops configured...?
  • scsmith1451
  • scsmith1451's Avatar
10 Sep 2025 20:03
Replied by scsmith1451 on topic gladeVCP not calling python handlers

gladeVCP not calling python handlers

Category: GladeVCP

The 'def get_handlers(halcomp,builder,useropts):' function has the wrong indent.It should have no indent just like the class definition.Ok, I simplified my test code (see attached .py) and started to see some light at the end of the tunnel. However, When I click on either the on-min-clicked or on-max-clicked buttons, the logging shows that the call to get_factor() is written before the line identifying the handler being called (set attached .log).  Further, only the first line of each handler or function is being printed, but no errors are being tossed that I can find.Any ideas?

  • rhscdn
  • rhscdn
10 Sep 2025 19:21
Replied by rhscdn on topic AXYZ retrofit - Stepper driver settings

AXYZ retrofit - Stepper driver settings

Category: CNC Machines

I ended up with a set of StepperOnline DM860Tv3 drivers for x, y, z. They seem to be working fine and the machine moves in all 3 axes now.
  • richcolvin
  • richcolvin's Avatar
10 Sep 2025 19:19 - 10 Sep 2025 19:21
Installing 2.9.5 on Raspberry Pi 5 was created by richcolvin

Installing 2.9.5 on Raspberry Pi 5

Category: Installing LinuxCNC

When trying to install the update for 2.9.5 on a Raspberry Pi, I receive a security error when attempting to fetch The error is:

Forbidden
You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
  • unknown
  • unknown
10 Sep 2025 19:18

Probing routines changing mode from G90 to G91

Category: QtPyVCP

Yes this should be raised as an issue, GitHub might be the best place.
I concur with your statements regarding relative vs absolute moves.

Please disregard the comments in the previous post as they appear to have been made by an idiot.
  • Unlogic
  • Unlogic
10 Sep 2025 18:13

Probing routines changing mode from G90 to G91

Category: QtPyVCP

I have a hard time seeing that this could be intentional design as randomly changing the behavior of MDI commands without any hint at all to the user can be very dangerous.

An MDI move command in G90 can yield very different results compared to one in G91.
  • amanker
  • amanker
10 Sep 2025 17:48

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

@scotta it would be really helpful if you can post sample config files. Or if I need to completely erase skr3 and reflash using stm32cube programmer?
  • rhscdn
  • rhscdn
10 Sep 2025 17:01 - 11 Sep 2025 18:13
Replied by rhscdn on topic Axyz retrofit - spindle wiring 7i96

Axyz retrofit - spindle wiring 7i96

Category: CNC Machines

I didn't ever say thanks for your reply PCW so a belated thank you! Yes, the 7i96s. The above is working with the VFD set in 'pull-up' logic which is great. I still need to connect the VFD digital outputs (ST1 & STR) to the 7i96 inputs to signal when the motor is running at the commanded speed and when there is a fault. I also initially forgot to configure the PWM signal in pncconf initially.

A few more questions:

1) My VFD programming has the following setup:
  • Minimum frequency of the motor: 100Hz (6000 RPM)
  • Maximum frequency of the motor: 300Hz (18000 RPM)


    In pncconf I set the max spindle speed to 18000 which I can see in the machine.ini file:
    [SPINDLE_0]
    ...
    MAX_OUTPUT = 18000.0
    OUTPUT_SCALE = 36000
    OUTPUT_MIN_LIMIT = 0
    OUTPUT_MAX_LIMIT = 18000
     
    However, in the same file, I see the qtdragon display section with the following:
    [DISPLAY]
    DISPLAY = qtvcp qtdragon
    ...
    MAX_SPINDLE_0_OVERRIDE = 1.000000
    MIN_SPINDLE_0_OVERRIDE = 0.500000
    DEFAULT_SPINDLE_0_SPEED = 500
    MIN_SPINDLE_0_SPEED = 100
    MAX_SPINDLE_0_SPEED = 2500
    ...

    When I select FWD/REV in the gui, I am seeing the spindle spin in the correct direction and the VFD is correctly driving at 100Hz (i.e. the minimum safe speed for the spindle set in the VFD programming). Do I need to manually change DEFAULT_SPINDLE_0_SPEED, MIN_SPINDLE_0_SPEED, MIN_SPINDLE_0_SPEED? in the QtDragon [DISPLAY] settings in my .ini file or should pncconf be sorting this out?
  • sunmoon
  • sunmoon
  • PCW
  • PCW's Avatar
10 Sep 2025 14:12 - 10 Sep 2025 14:16
Replied by PCW on topic Proximity sensor hardware debounce?

Proximity sensor hardware debounce?

Category: Basic Configuration

Either way will work, there is no technical advantage of using 2 external
inverters.

Pullups/pulldowns on the 7I92T don't really matter for this specific signal
since they are overdriven by the Schmitt trigger

(the pullup/pulldown mode may matter for other signals)
 
  • PCW
  • PCW's Avatar
10 Sep 2025 14:04

HAL help needed for MPG wheel jogging and machine enabling logic

Category: HAL

A voltmeter will do, you just need to jog the MPG
so you can measure the high and low states.
Displaying 8821 - 8835 out of 18040 results.
Time to create page: 0.704 seconds
Powered by Kunena Forum