Advanced Search

Search Results (Searched for: )

  • michaeln
  • michaeln
02 Apr 2025 06:24 - 02 Apr 2025 06:32
Replied by michaeln on topic user defined m code and e-stop

user defined m code and e-stop

Category: HAL

Hello,
is there an other way to set the output complete off?
Is there something like a shutdown.hl, but for e-stop?
I controll a cutting unit with this M100/M101. After reset the e-stop it should not start automatically.
I have VOLATILE_HOME = 1 that after an e-stop homing is necessary. So the user have to start the program again and the start of M100 come to the right time.

Thanks!
  • HalaszAttila
  • HalaszAttila
02 Apr 2025 05:18

Advanced Lube pump timing and memory for oil mist spindles

Category: Advanced Configuration

As I saw, all the download links on the "Contributed Components" page are not working.

 
  • PCW
  • PCW's Avatar
01 Apr 2025 23:39
Replied by PCW on topic Question about custom BOB for a 7i92

Question about custom BOB for a 7i92

Category: Driver Boards

I missed the too, I'll fix that formatting error when I get a chance.
 
  • blazini36
  • blazini36
01 Apr 2025 22:56
Replied by blazini36 on topic Question about custom BOB for a 7i92

Question about custom BOB for a 7i92

Category: Driver Boards

Not sure what you mean by output pin.

 

Ah, sorry that's a bit of a brainfart. Had to look at the stepgen setup to realize they do the exact same thing.

There's probably nothing wrong other than I was expecting to see scale, etc pins where they are actually parameters. That doc actually does say they are parameters, the word "parameters" is just shifted so I didn't notice it.
  • ContinenteCNC
  • ContinenteCNC's Avatar
01 Apr 2025 22:44
Replied by ContinenteCNC on topic A Simple Parallel Port Tester Board

A Simple Parallel Port Tester Board

Category: Computers and Hardware

I believe I can add this option to my circuit as well. I just have to add a output connector and set all pins to output.

When I find time to design the PCB I will include this feature.
  • PCW
  • PCW's Avatar
01 Apr 2025 22:35
Replied by PCW on topic Question about custom BOB for a 7i92

Question about custom BOB for a 7i92

Category: Driver Boards

Scale and output types are parameters, not pins.
That does seem to be an error in the hostmot2
man page (it shows them as pins)

Not sure what you mean by output pin.
 
  • blazini36
  • blazini36
01 Apr 2025 22:19
Replied by blazini36 on topic Question about custom BOB for a 7i92

Question about custom BOB for a 7i92

Category: Driver Boards

What is the name of your output pin?

The hm2....pwmgen stuff was setup when I was messing with it over a year ago but I know it did work because I was testing it with a small DC vacuum pump.

I didn't realize setting the scale wrong could make the output pin disappear but now that you mention it I do have  scale and output-type setp'd in the hal file for 2 of the 3 pwmgens. The config doesn't fail with "pin does not exist" when loaded but $ halcmd show pin does not show the scale or output-type pins either. According to the docs these are pins and not parameters so I don't know what's going on.

I'll go mess with the scale and such but that seems like a hm2 component bug or something if that's what's causing it
  • snowgoer540
  • snowgoer540's Avatar
  • PCW
  • PCW's Avatar
01 Apr 2025 21:58
Replied by PCW on topic Question about custom BOB for a 7i92

Question about custom BOB for a 7i92

Category: Driver Boards

It works for me:
halcmd -kf
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_eth board_ip=10.10.10.10
halcmd: loadrt threads
halcmd: addf hm2_7i92.0.read thread1
halcmd: addf hm2_7i92.0.write thread1
halcmd: setp hm2_7i92.0.pwmgen.00.enable true
halcmd: setp hm2_7i92.0.pwmgen.01.enable true
halcmd: setp hm2_7i92.0.pwmgen.02.enable true
setp hm2_7i92.0.pwmgen.00.value .5
setp hm2_7i92.0.pwmgen.01.value .5
setp hm2_7i92.0.pwmgen.02.value .5

And I get square waves on all three PWM pins


Is its a PWM scale issue? (default scale is 1.0)
  • rodw
  • rodw's Avatar
01 Apr 2025 21:42 - 01 Apr 2025 21:43
  • rodw
  • rodw's Avatar
01 Apr 2025 21:38
Replied by rodw on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Looking at my chromebook with 2.10 installed from a .Deb, tpmod.so is installed in
/usr/lib/linuxcnc/modules

My thinking is that you could just deploy your new files in the right location in a stand alone deb.

But I think you also do more than just create a new tpmod version because you change some other files. I think that results in a new motmod.so
If that's the case, its loaded in the hal file so the modular approach of Linuxcnc still lets you keep it compartmentalised and add everything to the core Linuxcnc build just by adding some new folders under /src/emc

The trajectory planner is in
src/emc/tp
So if you made a new folder
src/emc/grotius-tp 
for your planner and included a Submakefile in that folder, you  just need to edit the main make file to include the new folder.
Here is the main tpmod makefile entry
github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L1230

You could also use the same approach for changes to motion
github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L1215

I suspect the Debian .deb build will include all .so files built, so it may not need changing.

I tested this methodology once by building a new module plasmatask because Andy thought that might be a good approach for plasma. I copied the  /src/emc/task folder to /src/emc/plasmatask and updated the main make file as I describe. Everything built perfectly and I could load plasmatask in the ini file no problems.

If you could do this, grotius-tp would be super simple to include in the main distribution. :)
 
  • blazini36
  • blazini36
01 Apr 2025 20:54
Replied by blazini36 on topic Question about custom BOB for a 7i92

Question about custom BOB for a 7i92

Category: Driver Boards

PCW, any idea why I'm missing all of the PWM output pins? None of the 3 pwmgens have been usable with the new firmware. The pwmgens have no output and the gpio pins that correspond have no output pin either.


 

File Attachment:

File Name: pins.txt
File Size:60 KB
  • tommylight
  • tommylight's Avatar
01 Apr 2025 20:33
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

Are you saying I can use 1 stepgen and connect it to 2 drivers in the HAL file?  This is different that physically wiring the one output to two drivers. 

Yes, exactly, sorry if i was not clear enough.
Glad you got things working.
  • tommylight
  • tommylight's Avatar
01 Apr 2025 20:29
Replied by tommylight on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

What could be the reason  the business is quiet?

From last year we can travel visa free through EU, so nearly 10% of the population moved to Europe due to much better pay.
In a country with a total of 1.7 million people,that is noticeable. Add to that we do not manufacture or produce anything at all, the price hike, huge unemployment, extremely lazy people, "experts" with absolutely no knowledge, etc etc... and we are f@ked, properly.
  • PCW
  • PCW's Avatar
01 Apr 2025 19:55

Trouble probing 1Vpp signal from Heidenhain LS403 with oscilloscope

Category: Milling Machines

Yes, a missing power supply may be the issue
All 7I77 encoder circuitry is 5V, so you would
need a separate 12V supply.

Do you have the converter manual? it should show
the 12V connection.
 
Displaying 16261 - 16275 out of 18537 results.
Time to create page: 2.561 seconds
Powered by Kunena Forum