Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
04 Apr 2025 04:58
Replied by tommylight on topic Spindle control not showing in Axis window...

Spindle control not showing in Axis window...

Category: Basic Configuration

No spindle there at all.
Make a new config, choose a spinlde, choose some rough values for spindle PWM, save, start the config see if it shows the spindle.
  • ffffrf
  • ffffrf
04 Apr 2025 04:49 - 04 Apr 2025 04:50

Using a servo as a spindle and positional axis - keep getting vague errors

Category: Advanced Configuration

one more question before i forget: what issue could be encountered by having a different model of servo driver? Given that you are driving both the spindle and c-axis both with step/dir signals, you just need a driver that can output step/dir, right?
  • Chia
  • Chia
04 Apr 2025 04:36
Replied by Chia on topic Byte2Bot Homing Question

Byte2Bot Homing Question

Category: General LinuxCNC Questions

Thank you very much! I successfully solved the problem.
  • Chia
  • Chia
04 Apr 2025 04:35
Replied by Chia on topic Joint1 following error

Joint1 following error

Category: General LinuxCNC Questions

Sorry, the error picture of yzEllipse_50.ngc is IMG_6981.JPG not IMG_7058.JPG.
  • Chia
  • Chia
04 Apr 2025 04:32
Joint1 following error was created by Chia

Joint1 following error

Category: General LinuxCNC Questions

My machine uses a CoreXY system for the XY axis and a linear system for the Z axis.
When I run yzEllipse_60.ngc, the machine stops and reports an error when returning to the home position.(IMG_7058.JPG)
The same issue occurs when running yzEllipse_50.ngc (IMG_7058.JPG).
  • ffffrf
  • ffffrf
04 Apr 2025 04:11

Using a servo as a spindle and positional axis - keep getting vague errors

Category: Advanced Configuration

cofhal - I will look at your files now, I did have another idea as well - could i simply use two stepgens? one for step.dir for spindle and another one for the "C" axis? and have a mesa output pin switch a dpdr relay to simply alter where the same motor gets the input?
  • ffffrf
  • ffffrf
04 Apr 2025 02:53

Using a servo as a spindle and positional axis - keep getting vague errors

Category: Advanced Configuration

Hey - yes I do have the servo manual, however, it is not letting me attach it to the email as it says the attachment size exceeds the result.... Is there any other way I can send it? I would also love to ask you a couple more question on your setup if possible to learn more about how you went about making it incase I need to modify things. Do you have a discord account or something?
  • irwinger
  • irwinger
04 Apr 2025 02:16
Replied by irwinger on topic Spindle control not showing in Axis window...

Spindle control not showing in Axis window...

Category: Basic Configuration

I'm not in front of the LinuxCNC machine as I enter this - but I'm not sure I noticed any where I can change the LOCALE? Could you perhaps provide a bit more detail? I'm heading out to the shop right after I press 'Submit' to see if I can find something. Meanwhile - here are the INI and HAL files.

INI:
There was no [SPINDLE] section when I finished with the StepConf. I added the entire '[SPINDLE]' section from a response from Google Gemini.

# Generated by stepconf 1.1 at Thu Apr  3 15:12:55 2025
# If you make changes to this file, they will be
# overwritten when you run stepconf again

[EMC]
MACHINE = X90
DEBUG = 0
VERSION = 1.1

[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 0.10
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 1.00
CYCLE_TIME = 0.100
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/awalde/linuxcnc/nc_files
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in

[KINS]
JOINTS = 3
KINEMATICS = trivkins coordinates=XYZ

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
PROGRAM_EXTENSION = .nc,.tap G-Code File
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = linuxcnc.var

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000

[HAL]
HALFILE = X90.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

[SPINDLE]
P=1.0
I=0.0
D=0.0
ENCODER_SCALE=0.0
MAX_RPM=1
MIN_RPM=0
ORIENT_PIN=
ORIENT_SPEED=0

[TRAJ]
COORDINATES =  X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 0.10
MAX_LINEAR_VELOCITY = 1.00

#*** AXIS_X *******************************
[AXIS_X]
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
MIN_LIMIT = -0.01
MAX_LIMIT = 8.0

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.01
MAX_LIMIT = 8.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.050000
HOME_IGNORE_LIMITS = YES
#******************************************

#*** AXIS_Y *******************************
[AXIS_Y]
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
MIN_LIMIT = -0.01
MAX_LIMIT = 8.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.01
MAX_LIMIT = 8.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.050000
HOME_IGNORE_LIMITS = YES
#******************************************

#*** AXIS_Z *******************************
[AXIS_Z]
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
MIN_LIMIT = -4.0
MAX_LIMIT = 0.01

[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -4.0
MAX_LIMIT = 0.01
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
HOME_OFFSET = 0.0
#******************************************


HAL: (initially generated from StepConf - but significantly edited as I tested the hardware)

# Generated by stepconf 1.1 at Thu Apr  3 15:12:55 2025
# If you make changes to this file, they will be
# overwritten when you run stepconf again
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hal_parport cfg="0 out"
setp parport.0.reset-time 5000
loadrt stepgen step_type=0,0,0

addf parport.0.read base-thread
addf stepgen.make-pulses base-thread
addf parport.0.write base-thread
addf parport.0.reset base-thread

addf stepgen.capture-position servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf stepgen.update-freq servo-thread

net xstep           => parport.0.pin-01-out
setp parport.0.pin-01-out-reset 1
net yenable         => parport.0.pin-02-out
setp parport.0.pin-03-out-invert 1
net zdir            => parport.0.pin-03-out
net ydir            => parport.0.pin-04-out
net ystep           => parport.0.pin-05-out
setp parport.0.pin-05-out-reset 1
net zenable         => parport.0.pin-06-out
net xdir            => parport.0.pin-07-out
net zstep           => parport.0.pin-08-out
setp parport.0.pin-08-out-reset 1
net spindle-on      => parport.0.pin-09-out
net estop-ext       <= parport.0.pin-10-in
net min-home-z      <= parport.0.pin-11-in
net min-home-y      <= parport.0.pin-12-in
net min-home-x      <= parport.0.pin-13-in
net xenable         => parport.0.pin-14-out

setp stepgen.0.position-scale [JOINT_0]SCALE
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 70000
setp stepgen.0.dirsetup 70000
setp stepgen.0.maxaccel [JOINT_0]STEPGEN_MAXACCEL
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
net xstep <= stepgen.0.step
net xdir <= stepgen.0.dir
net xenable joint.0.amp-enable-out => stepgen.0.enable
net min-home-x => joint.0.home-sw-in
net min-home-x => joint.0.neg-lim-sw-in

setp stepgen.1.position-scale [JOINT_1]SCALE
setp stepgen.1.steplen 1
setp stepgen.1.stepspace 0
setp stepgen.1.dirhold 70000
setp stepgen.1.dirsetup 70000
setp stepgen.1.maxaccel [JOINT_1]STEPGEN_MAXACCEL
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
net ystep <= stepgen.1.step
net ydir <= stepgen.1.dir
net yenable joint.1.amp-enable-out => stepgen.1.enable
net min-home-y => joint.1.home-sw-in
net min-home-y => joint.1.neg-lim-sw-in

setp stepgen.2.position-scale [JOINT_2]SCALE
setp stepgen.2.steplen 1
setp stepgen.2.stepspace 0
setp stepgen.2.dirhold 70000
setp stepgen.2.dirsetup 70000
setp stepgen.2.maxaccel [JOINT_2]STEPGEN_MAXACCEL
net zpos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
net zpos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
net zstep <= stepgen.2.step
net zdir <= stepgen.2.dir
net zenable joint.2.amp-enable-out => stepgen.2.enable

net estop-out <= iocontrol.0.user-enable-out
net estop-ext => iocontrol.0.emc-enable-in

loadusr -W hal_manualtoolchange
net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change
net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

 
  • tommylight
  • tommylight's Avatar
04 Apr 2025 00:07
Replied by tommylight on topic Spindle control not showing in Axis window...

Spindle control not showing in Axis window...

Category: Basic Configuration

Upload the hal and ini files here so we can have a look.
In the meantime a stab in the dark would be to change LOCALE to UTF.8 and try making a new config, you can have multiple configs for the same machine.
  • unknown
  • unknown
03 Apr 2025 23:02
Replied by unknown on topic PCIe to ParPort - chipset PCI 60806A works?

PCIe to ParPort - chipset PCI 60806A works?

Category: Computers and Hardware

If it works it works.
Take the win :)
  • langdons
  • langdons
03 Apr 2025 22:03

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

It gets annoying after the umpteenth time.

It's just a nuisance.

Like mosquitoes (where I live there's no malaria).
  • Cherna
  • Cherna
03 Apr 2025 21:52 - 03 Apr 2025 21:55
Replied by Cherna on topic PCIe to ParPort - chipset PCI 60806A works?

PCIe to ParPort - chipset PCI 60806A works?

Category: Computers and Hardware

The first command came up empty, so effectively no parports to be found.

And the complete log for the second command:
0000-03af : PCI Bus 0000:00
  0000-001f : dma1
  0020-0021 : pic1
  0040-0043 : timer0
  0050-0053 : timer1
  0060-0060 : keyboard
  0061-0061 : PNP0800:00
  0062-0062 : PNP0C09:00
    0062-0062 : EC data
  0064-0064 : keyboard
  0066-0066 : PNP0C09:00
    0066-0066 : EC cmd
  0070-0071 : rtc0
  0080-008f : dma page reg
  00a0-00a1 : pic2
  00c0-00df : dma2
  00f0-00ff : PNP0C04:00
    00f0-00ff : fpu
  0290-029f : pnp 00:01
03b0-03df : PCI Bus 0000:00
  03c0-03df : vga+
03e0-0cf7 : PCI Bus 0000:00
  0400-0453 : pnp 00:04
    0400-0403 : ACPI PM1a_EVT_BLK
    0404-0405 : ACPI PM1a_CNT_BLK
    0408-040b : ACPI PM_TMR
    0420-042f : ACPI GPE0_BLK
    0430-0433 : iTCO_wdt.0.auto
      0430-0433 : iTCO_wdt
    0450-0450 : ACPI PM2_CNT_BLK
  0454-0457 : pnp 00:05
  0458-047f : pnp 00:04
    0460-047f : iTCO_wdt.0.auto
      0460-047f : iTCO_wdt
  04d0-04d1 : pnp 00:03
  0500-057f : pnp 00:04
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
  1180-119f : pnp 00:04
  b000-bfff : PCI Bus 0000:0b
    b000-b00f : 0000:0b:00.0
      b000-b00f : ahci
    b010-b013 : 0000:0b:00.0
      b010-b013 : ahci
    b020-b027 : 0000:0b:00.0
      b020-b027 : ahci
    b030-b033 : 0000:0b:00.0
      b030-b033 : ahci
    b040-b047 : 0000:0b:00.0
      b040-b047 : ahci
  c000-cfff : PCI Bus 0000:09
    c000-cfff : PCI Bus 0000:0a
      c000-c007 : 0000:0a:00.0
      c010-c017 : 0000:0a:00.0
        c010-c017 : serial
  d000-dfff : PCI Bus 0000:06
    d000-d01f : 0000:06:00.0
      d000-d01f : ahci
    d020-d023 : 0000:06:00.0
      d020-d023 : ahci
    d030-d037 : 0000:06:00.0
      d030-d037 : ahci
    d040-d043 : 0000:06:00.0
      d040-d043 : ahci
    d050-d057 : 0000:06:00.0
      d050-d057 : ahci
  e000-efff : PCI Bus 0000:01
    e000-e07f : 0000:01:00.0
  f000-f01f : 0000:00:1f.3
    f000-f01f : i801_smbus
  f020-f03f : 0000:00:1f.2
    f020-f03f : ahci
  f040-f05f : 0000:00:19.0
  f060-f063 : 0000:00:1f.2
    f060-f063 : ahci
  f070-f077 : 0000:00:1f.2
    f070-f077 : ahci
  f080-f083 : 0000:00:1f.2
    f080-f083 : ahci
  f090-f097 : 0000:00:1f.2
    f090-f097 : ahci
[/code]

Effectively, I have no idea why it doesn't mention a parallel port anywhere.

Edit: Just to add, it works flawlessly, I have been using the machine to cut some plywood, and it works like with the previous computer, not a single issue.
  • unknown
  • unknown
03 Apr 2025 21:44
Replied by unknown on topic PCIe to ParPort - chipset PCI 60806A works?

PCIe to ParPort - chipset PCI 60806A works?

Category: Computers and Hardware

what does
sudo dmesg | grep parport
&
sudo cat /proc/ioports

report ?

Sorry should have added these to begin with.

I had a look at a driver package for the card, bit of research came up with the correct PCI ID, and there was a utility for setting up the card, but it appeared to be a very very binary. Look if it works it works, but it would be interesting to know why lspci doesn't show a parallel port.

As Todd mentioned support gets added as the kernel matures.
  • unknown
  • unknown
03 Apr 2025 21:37

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Look for the ethercat thread, process is the same for as for the amd64 platform.

I have gone through the installation process and it completes without any errors.
  • unknown
  • unknown
03 Apr 2025 21:35

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

A switch when loading the driver regarding the message, have the message on for debugging and another to just log the message ?

Honestly, as I said in my first post is it that hard to click on the message or just leave it popped up ?
Displaying 1096 - 1110 out of 26683 results.
Time to create page: 0.235 seconds
Powered by Kunena Forum