Advanced Search

Search Results (Searched for: )

  • 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.
 
  • vedatech
  • vedatech
01 Apr 2025 19:54
Replied by vedatech on topic whc-whb04b-6 button debounce

whc-whb04b-6 button debounce

Category: General LinuxCNC Questions

I did check a few of the whc-whb04b-6 buttons with halscope and they look clean so I guess the answer is that the pendant buttons don't need debounce in the .hal file
  • workshop54
  • workshop54
01 Apr 2025 19:38 - 01 Apr 2025 19:38

Trouble probing 1Vpp signal from Heidenhain LS403 with oscilloscope

Category: Milling Machines

Thanks for your reply, PCW.

I did some more measurements and I’m starting to learn a lot. It’s definitely a bit trickier working on a real machine compared to those nice clean test setups we often see on YouTube or datasheets

I noticed there’s a 12V pin on the board (right next to the white cable), but I originally assumed this was only used in other configurations. Now I’m starting to suspect it might actually be required for the board to function properly — possibly to power some signal conditioning or amplification circuitry.

 

Do you happen to know if this 12V input is normally used in setups with Mesa hardware? The 7i77 doesn’t provide 12V, so I’m wondering how this is usually handled. Is it common to add a separate 12V supply just for boards like this?

I haven’t applied 12V yet, since I don’t want to risk damaging anything.

Thanks again for the help!
  • PCW
  • PCW's Avatar
01 Apr 2025 19:37
Replied by PCW on topic Variable PID deadband

Variable PID deadband

Category: Advanced Configuration

Its certainly doable in hal, not sure if its a generally needed function
in the PID component.
  • iforce2d
  • iforce2d
01 Apr 2025 19:01

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

I second this. Big thanks to Scott for figuring out the Pi5 stuff. I was able to get SPI running for my own project (very similar to Remora SPI) in just a few hours, the same day I acquired a Pi5 !
  • Routerworks
  • Routerworks
01 Apr 2025 18:53
Replied by Routerworks on topic Need help setting up XYYZA for stepper motors

Need help setting up XYYZA for stepper motors

Category: General LinuxCNC Questions

Many, Many, Many thanks.  Followed your instructions and it looks like everything is working.  The old acronim about keeping it simple applies.  I will say that all the work I went through to get to the point where I understood what you were talking about was worth it.  However I will say I read a awful lot of suggestions that were all over the field.  You hit the nail on the head.
Sure I have much more to learn.  The only thing I have left to do is calibrate the A axis.

Best Regards,

Routerworks
Displaying 4396 - 4410 out of 26031 results.
Time to create page: 0.376 seconds
Powered by Kunena Forum