Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
23 Mar 2025 04:15 - 23 Mar 2025 04:19

Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos

Category: Configuration Tools

Here's a 7I95T config with all 6 stepgens replaced with PWMgens:

 

File Attachment:

File Name: 7i95t_pwmd...3-23.zip
File Size:275 KB


Its a existing config but it's not on the distribution image for some reason.
(I'll fix that Monday)

Note that you should choose the PWM output pin polarity so you get the
low state at power up/watchdog bites (this may also require inverting the PWM
outputs in the hal file)
 
  • Keincncnewbie
  • Keincncnewbie
23 Mar 2025 03:54
5 axis configuration. was created by Keincncnewbie

5 axis configuration.

Category: General LinuxCNC Questions

 
Hi Guys!!

I decide to configure a 5 axis machine for my project, but my knowledge is not as those guy on youtube, but i wish the linuxcnc community could help with their knowledge.

using vismach 5 axis configuration on a mesa board 7c80. Installed linuxcnc on my rasberry 4.   
xyzac-trt.hal keep changing every time i run linuxcnc but I know that they are related with a file *.tcl on hallib but my question can I delete those files and only use *.ini, *.hal only using those files that are essentially need it. 

also do I need to use all the parameters of 7c80 to make the axis to move?
because the I had identified that the linuxcnc only used some of themhm2_7c80.0.stepgen.00.control-typehm2_7c80.0.stepgen.00.countshm2_7c80.0.stepgen.00.dbg_err_at_matchhm2_7c80.0.stepgen.00.dbg_ff_velhm2_7c80.0.stepgen.00.dbg_pos_minus_prev_cmdhm2_7c80.0.stepgen.00.dbg_s_to_matchhm2_7c80.0.stepgen.00.dbg_step_ratehm2_7c80.0.stepgen.00.dbg_vel_errorhm2_7c80.0.stepgen.00.enable               x-enablehm2_7c80.0.stepgen.00.position-cmd         not usehm2_7c80.0.stepgen.00.position-fb          x-pos-fbhm2_7c80.0.stepgen.00.position-reset       not usehm2_7c80.0.stepgen.00.velocity-cmd         x-outputhm2_7c80.0.stepgen.00.velocity-fb                  not use

Trying to configuration with xyzac-trt.ini and xyzac-trt_cmd.hal. without any success on it.
can someone help give some extra info. get the axis moving. 

thanks for your time.
 


 
  • Becksvill
  • Becksvill
23 Mar 2025 03:46
Replied by Becksvill on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

hey Giovanni

did you use virtual box for your VM

i am about to try your guide again using virtual box and a stock standard linuxcnc iso 2.93 install

just thinking i could just grab your vm file and work back from there if you used virtual box

cheers

Andrew 
  • Boogie
  • Boogie
23 Mar 2025 03:39 - 23 Mar 2025 04:57

Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos

Category: Configuration Tools

Yeah, i should gave the details in the previous post. Sorry. 
H-bridge in question is popular module based on two BTS7960B half bridge chips.
As per data sheet:
- PWM up to 25 kHz
- 5 V logic for control is ok
- two inputs for control should be ok: CW PWM and CCW PWM.
- two inputs for CW enable and CCW enable

Looks like i'll need 3 PWM generator pairs (used in mode 2: PWM up, PWM down) to drive 3 motors and i think i can use enable signal from LinuxCNC to drive CW/CCW enable inputs so when machine is off in LinuxCNC motor will be free rotating.

 
  • snowgoer540
  • snowgoer540's Avatar
23 Mar 2025 03:33

Config will not open after Buildbot2 upgade from 2.9.4 to 2.10

Category: Plasmac

There is no error.  It’s informational.  There’s over twenty logs of updating to 001.017 in the update log file.

As I said, expecting handling is present:

github.com/LinuxCNC/linuxcnc/blob/0e1f56...asmac/updater.py#L31

github.com/LinuxCNC/linuxcnc/blob/0e1f56...asmac/updater.py#L42

Nonetheless all of that is irrelevant; something’s up with your installation/OS.  All of the issues you mentioned have been taken care of for some time now. 
 
  • rodw
  • rodw's Avatar
23 Mar 2025 03:19

Config will not open after Buildbot2 upgade from 2.9.4 to 2.10

Category: Plasmac

update_log.txt
Warning: Spoiler!


machine_log
Warning: Spoiler!


Clearly there is no error reporting to the screen or to any log. I checked the screeen handler code. My comments about exception handling lacking stand.
  • rodw
  • rodw's Avatar
23 Mar 2025 03:11

Config will not open after Buildbot2 upgade from 2.9.4 to 2.10

Category: Plasmac

In particular, that update is looking for 'nc_files/plasmac/m_files' in your USER_M_PATH, to be able to see the Mxxx files. It’s not seeing it so it’s trying to update the ini file to fix it.

Perfect that's where they're supposed to be:


Your previously advised location was different. What is correct?

I installed the latest package on buildbot2 for bookworm a few minutes ago, it opened the qtplasmac_l_metric simulation without issue, no update messages, etc.

That would be expected. You would need to install on 2.94 then upgrade to 2.10 to replicate the issue. Confirmed behavoiur on 2 different PC's

This was fixed on Sept 6, 2024. Commit notes:

This was not fixed for sims because I installed packages dated Feb 2025 from the buildbot. Bug remains. 

Did you think it referred to QtDragonHD, or Axis? ;)

I suppose it could say something to the effect of "QtPlasmaC configuration changes mandated at V2.10-001.017 were applied". As a developer it's not always easy to know how the end user will interpret a message. Since January 23, 2024 you are the very first to complain.


I had no idea as Axis, QTdragon and QTplasmac.sim configs were installed on my PC.
Clearer messaging would be nice 
I had a specific reason to test upgrade from 2.9.4 to 2.10.

There must be something going on with your OS/Installation. Simulations work fine on version V2.10-008.056 for a Package install and V2.10-008.061 for RIP. No update messages.

Sadly, the buildbot must be stuck again if it is that far behind for a package install done yesterday.
You would need to build for 2.9.4, install the sim, then open the config in 2.10 to replicate this error. Installing on 2.10 proves nothing as no upgrade will be triggered.

I can't use RIP given my customer is 1000 miles away and I want him to upgrade to 2.10 becasue you are no longer supporting 2.9

PC is running Trixie with kernel 6.12. But it also happened on a Bookworm PC. I think Debian version is irrelavent. (Trixie is only a couple of months away and 2.9.4 will be in it)

Click the Statistics tab, there's a MACHINE LOG frame, it'll be there. machine_log_{date/time}.txt in the config folder also reflects the log on the Statistics tab. It's also in the "update_log.txt" file in the config folder.

There is no erors in any of the MACHINE logs. There is no information in the update logs. We need better error reporting.
  • diy
  • diy
23 Mar 2025 02:33

Raspberry Pi 5 CNC configuration software

Category: Show Your Stuff

Raspberry Pi 5 CNC Configuration Software Raspberry Pi 5 has much stronger performance than Raspberry Pi 4, and runs LINUXCNC software very smoothly. It is often difficult for enthusiasts to configure themselves. I have written this software, which allows users to simply fill in Raspberry Pi GPIO pins and export HAL files directly. Welcome to try it out. 
  • snowgoer540
  • snowgoer540's Avatar
23 Mar 2025 02:05
Replied by snowgoer540 on topic 2.9.3 - Stuck in wrong state and stops

2.9.3 - Stuck in wrong state and stops

Category: Plasmac

More feedback here. Customer has an IT savvy brother. His brother told him to lift the torch to clear the stall after reviewing the code and it worked!
It goes without saying, I have asked for a line number reference. :)

I think this implies the bug lurks in the plasmac.comp state machine somewhere.

I've already found my plasmac bug for the day. Maybe someone elses turn!


Provided the works was not completely locked up, float activation, torch breakaway, ohmic detection, or arc ok lost will always result in a program pause which should break up any state hangs.

That check (during a running program) begins at line 691. What would be more useful would be to know what state it was in when it "freezes".

That could be seen by running QtPlasmaC from a terminal, and either using Halshow to change plasmac.debug-print True, or having already added
setp plasmac.debug-print 1
to the postgui.hal file. Watch the terminal for the state it freezes in.

A backup of the config from the Settings tab may help too.
  • unknown
  • unknown
23 Mar 2025 02:01
Replied by unknown on topic Any experience with cnc-step machines?

Any experience with cnc-step machines?

Category: Milling Machines

Bikes are a different kettle of, on the street out right HP doesn't mean a lot, ask the guy on Fireblade I cut up and easily got away from on old KLR- 250 four stroke that I used as my courier bike. Get a guy who can use 75% of the power of a modern sports bike and you've found someone who should really be club racing.
Obviously racing is a different kettle of fish.
Anyways as for these control boxes, why do they insist on using lower power connectors for the steepers ?
  • ContinenteCNC
  • ContinenteCNC's Avatar
23 Mar 2025 02:00

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

Category: Advanced Configuration

I think i should do a summary of the Sunix PCI-E card as the info got scattered in pieces, so:
I had one, it works perfectly but:
In a Lenovo PC it show the warning when LinuxCNC starts, but it works fine
In another PC with Asus Prime Z270 board, it shows no warning and no ................................
IT JUST dawned on me:
It will show the warning on older kernels, it will not show on new-er kernels!!!
Lenovo has Mint 19.3, the Asus has Mint 21.3, the friend with the same model cards has LMDE 6
Ok just checked the original post and it is Debian 12 so most probably 6.1.nn kernel, should be the same as in LMDE 6, so there goes my joy, oh hell, back to more testing! :) :) :)

It happend to me as well. LinuxCNC 2.8.4 / Debian Buster (live install) / Dell Optiplex 760 / Card chipset: Sunix SUN2212 (PCIe)

The message shows up when I try to run the parallel port tester. The address appear in lspci -v, the port works just fine, all inputs and outputs in all modes, but it won't show as a parallel port in ioports nor in dmesg.

However, for the Moschic MCS9805CV (PCI) it behaves as intended. Port not only works, but it shows as a parallel port in ioports and dmesg.

 

 
  • snowgoer540
  • snowgoer540's Avatar
23 Mar 2025 01:51

Config will not open after Buildbot2 upgade from 2.9.4 to 2.10

Category: Plasmac

Thanks Greg, I've beem away for years and find a bug in 5 minutes 


You've been doing a lot of posting over the years for someone who has been away for years ...

I'd hold the back patting, I think you have something else going on ...

The m_files folder was in ~/linuxcnc/nc_files/examples/plasmac


Perfect that's where they're supposed to be:

github.com/LinuxCNC/linuxcnc/commit/d4bf...8829a665f015f1982562

Note that this ends up being nc_files/examples/plasmac/m_files on a package install.

The files in the m_files folder under examples were owned by root and the user did not have permissions to the M codes


That's possible, I don't do much with package installs, but it shouldn't impact the end user either way.

I installed the latest package on buildbot2 for bookworm a few minutes ago, it opened the qtplasmac_l_metric simulation without issue, no update messages, etc.

The INI M_CODE variable in the ini file was not updated in qtplasmac_metric_ini.inc. I suspect this was because its not the top level ini file (I'm not sure if you actually write to that folder)


This was fixed on Sept 6, 2024. Commit notes:
qtplasmac: fix m_code pathing
Fixes the m_code path for a package install sim.
Allows update 001-017 to be applied correctly for configs that were build prior to then.

github.com/LinuxCNC/linuxcnc/commit/da67...c33db02daefaa2460e18

The error message should refer to plasmac so the user knows its specific to Plasmac. I had to deduce that by checking other configs


Did you think it referred to QtDragonHD, or Axis? ;)

I suppose it could say something to the effect of "QtPlasmaC configuration changes mandated at V2.10-001.017 were applied". As a developer it's not always easy to know how the end user will interpret a message. Since January 23, 2024 you are the very first to complain.

The version number reported does not reconcile with the version details displayed on startup 2.10.0-pre-4165-xxxxxxxxxxxxxxxx


It's not supposed to. The main takeaway from the message is you have to restart QtPlasmaC. Similar to this case, the screenshot helps us with figuring out where the issue might lie.

Let me introduce you to Python try/except error handling www.w3schools.com/python/python_try_except.asp This would ensure the user is less bewildered when it  fails. There is nothing displayed on the screen when it fails


I am quite aware of try/except error handling. It's pompous comments like these coupled with the shameless back patting that usually serve to make me sorry I tried to help you in the first place.

Both functions are wrapped in try/except, as interacting with the filesystem sometimes results in unexpected behavior.

There must be something going on with your OS/Installation. Simulations work fine on version V2.10-008.056 for a Package install and V2.10-008.061 for RIP. No update messages.

Perhaps the message could be a little more specific eg "updating qtplasmac mcode folder"


It serves the purpose as is.

Perhaps the upgrade message could also be printed on the console. Displaying Top right when console is in bottom left meant I did not even see the error the first couple of times!


Click the Statistics tab, there's a MACHINE LOG frame, it'll be there. machine_log_{date/time}.txt in the config folder also reflects the log on the Statistics tab. It's also in the "update_log.txt" file in the config folder.

I might add Joco is also in trouble over this for adding these gcodes! 


Ok.
  • Murphy
  • Murphy
23 Mar 2025 01:47
Replied by Murphy on topic Remora - NVEM / EC300 / EC500

Remora - NVEM / EC300 / EC500

Category: Computers and Hardware

Thanks Cakeslob, I'll have a look at this again in a couple of weeks as I'm away with work. 
  • frayja2002
  • frayja2002
23 Mar 2025 00:54
Replied by frayja2002 on topic USB pendant not drive axis

USB pendant not drive axis

Category: Qtvcp

Hi there

Sorry... I have had another look through my config file & realised that I am a twit.

I thought that the jog speed would reflect what was on the screen but I set it up so you have to (keep ) holding the fast/med/slow buttons for it to work.

Sorry to have wasted you time.

Alex
  • cakeslob
  • cakeslob
23 Mar 2025 00:48
Replied by cakeslob on topic Remora - NVEM / EC300 / EC500

Remora - NVEM / EC300 / EC500

Category: Computers and Hardware

Hey Murphy, here is a small video of my lathe doing CSS. It appears to function as intended. I have included my halfile so you can compare

github.com/cakeslob/upload_things/blob/main/20180218_225707.mp4
Displaying 7651 - 7665 out of 24517 results.
Time to create page: 0.333 seconds
Powered by Kunena Forum