Advanced Search

Search Results (Searched for: )

  • KS
  • KS
29 Apr 2024 12:45
Pins not recognized in halfile was created by KS

Pins not recognized in halfile

Category: QtPyVCP

Hi there,

that's my first post here as I came to obstacle and need some support. Installed latest LinuxCNC and configured probe basic. Now there is a field "Spindle Load" which should read value from:
 qtpyvcp.spindle-load-indicator.in-f

I can find it in halshow and even manualy write some value.

 

Now need to connect some value here, let's say from ladder: 

net sp_ld qtpyvcp.spindle-load-indicator.in-f <= classicladder.0.out-01

but this results in crash:
./mill.hal:87: Pin 'qtpyvcp.spindle-load-indicator.in-f' does not exist

 

How to make qtpyvcp pins available in hal file? Or there's another way to write spindle load to qtpyvcp?

thanks 
Krzysztof
  • tommylight
  • tommylight's Avatar
29 Apr 2024 12:43
Replied by tommylight on topic Help with hy_gt_vfd

Help with hy_gt_vfd

Category: General LinuxCNC Questions

Sorry, but i have yet to use a VFD with RS485, it is still sitting on a shelf in the shop, waiting....
Also, it is not HY anything, it is Dinverter 2B, the big one in the picture
  • rajsekhar
  • rajsekhar
29 Apr 2024 12:13
Replied by rajsekhar on topic PNC config error

PNC config error

Category: PnCConf Wizard

Well, I installed Linuxcnc 2.9.2 today.

And pncconfig locale error is back, photo attached. 

I have added en_US.utf8. But it not working.

What wrong I am doing?
  • Craig E
  • Craig E
29 Apr 2024 12:11
Replied by Craig E on topic Help with hy_gt_vfd

Help with hy_gt_vfd

Category: General LinuxCNC Questions

loadusr -W hy_gt_vfd -t 1 -d /dev/ttyUSB0 -p none -r 38400

setp hy_gt_vfd.enable 1


net spindle-vel-cmd-rpm => hy_gt_vfd.speed-cmd
net spindle-cw spindle.0.forward => hy_gt_vfd.spindle-forward
net spindle-ccw spindle.0.reverse => hy_gt_vfd.spindle-reverse

net on spindle.0.on => hy_gt_vfd.spindle-on

net spindle-speed-fb => hy_gt_vfd.spindle-speed-fb
net spindle-current <= hy_gt_vfd.output-current
net spindle-comm-ok <= hy_gt_gt_vfd.hygtcomm-ok


net spindle-at-speed <= hy_vfd.spindle-at-speed

Here is what I have for my custom.hal
Is there anything wrong in here?
  • oushadz
  • oushadz
29 Apr 2024 11:38

argument 1 has unexpected type 'str' error

Category: General LinuxCNC Questions

hi. I am writing again
  This time, I get such an error and I don't even have any idea how to get rid of this error.
Traceback (most recent call last):
  File "/usr/bin/qtpyvcp", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 74, in main
    run(opts, None)
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 102, in run
    load_vcp(opts)
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 131, in load_vcp
    if _load_vcp_from_entry_point(vcp, opts):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 181, in _load_vcp_from_entry_point
    vcp.main(opts)
  File "/usr/lib/python3/dist-packages/argecnc/__init__.py", line 36, in main
    qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
  File "/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, in run_vcp
    run(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in run
    launch_application(opts, config)
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 82, in launch_application
    app.initialiseWidgets()
  File "/usr/lib/python3/dist-packages/qtpyvcp/app/application.py", line 251, in initialiseWidgets
    w.initialize()
  File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/input_widgets/setting_slider.py", line 311, in initialize
    self.setDisplayIndex(value)
  File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/input_widgets/setting_slider.py", line 297, in setDisplayIndex
    self.setCurrentIndex(index)
TypeError: setCurrentIndex(self, index: int): argument 1 has unexpected type 'str'
  • meister
  • meister
  • polskleforgeron
  • polskleforgeron
29 Apr 2024 09:41
Replied by polskleforgeron on topic TB6600 and STEP_SCALE with Mesa7i96s

TB6600 and STEP_SCALE with Mesa7i96s

Category: PnCConf Wizard

Problem solved.

I was, in fact, micro-stepping (1/32 so 6400 steps).

Also, I had one of the phase of a motor which was making contact with the frame of an aviator connector, throwing weird signals everywhere through the frame (I understood it because the limit-switches went crazy when connected). Why I had these weird speed is beyond my comprehension but now that I rewired it correctly my advance matches perfeclty with the calculation and I needed a STEP_SCALE = 64 000/100.531 = 636.62.

That will teach me a lesson about buying cheap connectors.
  • rodw
  • rodw's Avatar
29 Apr 2024 09:10
Replied by rodw on topic Control panel hardware buttons

Control panel hardware buttons

Category: General LinuxCNC Questions

Hello All,

Sorry for hijacking the thread slightly....
@ Rodw   Could you send me a link to more info about the Mill conversion shown in this image please?
Many Thanks

Sorry, I just got in and got it done so there is not really a thread anywhere. It works quite well. Ethercat hardware.
  • andypugh
  • andypugh's Avatar
29 Apr 2024 08:57
Replied by andypugh on topic Fehler Rules

Fehler Rules

Category: General LinuxCNC Questions

Well, that sounds like a Linux problem rather than a LinuxCNC problem.

Maybe this? www.forum.linuxcnc.org/38-general-linuxc...ing-up-as-usb#238667
  • polskleforgeron
  • polskleforgeron
29 Apr 2024 08:29 - 29 Apr 2024 08:56
Replied by polskleforgeron on topic TB6600 and STEP_SCALE with Mesa7i96s

TB6600 and STEP_SCALE with Mesa7i96s

Category: PnCConf Wizard

Thank you, I'll try that.

edit : it is basically what i've done exept I directly edited the .ini file and didn't use the calibration menu from linuxCNC. I've counted how many turn for my pignon in one minute, then edited the STEP_SCALE accordingly. This is how I ended up with a 2348 value for STEP_SCALE which moves the gantry at the speed selected on the linuxCNC slide button.

I could of course calibrate every axis this way in a more precise manner, but it feels janky and i'ts bothering me to not understand where does the discrepancy with my calcluation comes from.
  • Mr Moo
  • Mr Moo
29 Apr 2024 08:25
Replied by Mr Moo on topic Control panel hardware buttons

Control panel hardware buttons

Category: General LinuxCNC Questions

Hello All,

Sorry for hijacking the thread slightly....
@ Rodw   Could you send me a link to more info about the Mill conversion shown in this image please?
Many Thanks
  • VonSzarvas
  • VonSzarvas
29 Apr 2024 08:24
Replied by VonSzarvas on topic n100 mesact get cpu speed

n100 mesact get cpu speed

Category: Computers and Hardware

Thank you, thank you, everyone.

Lot's of great advice- I will work through them all, starting with the tweaks, and then finally the kernel update if nothing helped, and keep photos/logs of the steps so that I can report back. It will only be on the next weekend, but I can't wait to get back to the workshop and experiment!
  • diammo
  • diammo
29 Apr 2024 08:03
Replied by diammo on topic SERVO_PERIOD

SERVO_PERIOD

Category: General LinuxCNC Questions

Thanks very much. And I see “loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD” code in the source code. But why is there no “traj_period_nsec=[EMCMOT]TRAJ_PERIOD”? Does this mean that traj_period cannot be set?
  • royka
  • royka
29 Apr 2024 07:53
Replied by royka on topic n100 mesact get cpu speed

n100 mesact get cpu speed

Category: Computers and Hardware

Built the rt kernel from source: 6.9.0-rc5 and in mesact it shows:
Max Speed: 3400 MHz
Current Speed: 2871 MHz

Here are the packages:
drive.google.com/drive/folders/1L28lG0zD...2XQJx?usp=drive_link
  • Aciera
  • Aciera's Avatar
29 Apr 2024 07:19
Replied by Aciera on topic Double Miter Saw Machine XAB Configuration

Double Miter Saw Machine XAB Configuration

Category: Basic Configuration

The limit3 component has pins for min,max output-value, max first derivative and max second derivative (ie in the case of an axis limits can be set for position, velocity and acceleration hence limit'3')
linuxcnc.org/docs/html/man/man9/limit3.9.html
Displaying 26326 - 26340 out of 26677 results.
Time to create page: 1.330 seconds
Powered by Kunena Forum