Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
08 Jul 2025 22:11

Best HAL function 2 contol bits for S32 in, 1 of 4 out?

Category: HAL

Normally the MPG encoder count goes to all Axis jog count pins,
so no routing of the counts is needed.

This is required so that LinuxCNC can track the current MPG count
and only apply changes to the enabled axis.
 
  • unknown
  • unknown
  • unknown
  • unknown
08 Jul 2025 22:08
Replied by unknown on topic Bios error during lcnc start

Bios error during lcnc start

Category: Computers and Hardware

I think the card needs to be installed during the installation.

That way, its kernel module will be loaded during boot-up.
 

You're wrong, so very very wrong.
 
  • tommylight
  • tommylight's Avatar
08 Jul 2025 22:06

7i77 lost connection while encoder counts (PREEMPT-RT)

Category: Driver Boards

OK, that only leaves the memory modules, so if there are two, try yanking one out and testing, then the other one and test again.
-
Explanation for some of my replies:
I use a lot of Ryzen PC's, including this one i am typing on:
forum.linuxcnc.org/show-your-stuff/55173...thers-company#331546
And the rest on that topic, one thing i found out the hard way is that PCI-E issues will sometimes show as memory errors on Linux boot and DMESG, and easy to reproduce by using different GEN devices, mostly graphic cards, especially if using riser cable for it.
  • tommylight
  • tommylight's Avatar
08 Jul 2025 21:59
Replied by tommylight on topic Custom PC build for my brothers company and more

Custom PC build for my brothers company and more

Category: Show Your Stuff

No RGB for now, but soon, and putting that tempered glass on! :)
  • slowpoke
  • slowpoke
08 Jul 2025 21:42

Best HAL function 2 contol bits for S32 in, 1 of 4 out?

Category: HAL

Typically this is done by by connecting the MPG count to all axis
and selectively enabling jogging on the desired axis
 


Thanks for that. I'm almost there.....

I have two rotary switches, each switch has 2 outputs driving inputs on a MESA card as 00,01,10,11

Switch #1 is used to select MPG increment 0, 0.0001", 0.001", 0.01"  I'm using a MUX4 to control that. No problem with this.

Switch#2 is for selection of where the MPG ticks   ( net encoder-counts  <= hm2_7i96s.0.inm.00.enc1-count ),gets routed, so to either:
X, Z, C (Compound), or N(None), so....
axis.x.jog-counts
axis.z.jog-counts
anglejog.counts-in
or to nowhere when position N is selected

I now have the rotary switch working for: none, X or Z by simply enabling jogging for X or Z as required. For Compound action I can simply enable both X and Z when in compound mode.

Final hurdle is that I have two S32 source signals:
   1) The MPG signal called (encoder-counts), for non-compound moves. Configured and working as net encoder-counts => axis.x.jog-counts
   2) The modified by anglejog MPG signal for compound moves called (angle_x). I can't simply configure as net angle-x => axis.x.jog-counts

 HAL does not allow two sources to drive one output pin. I'm guessing that mux_generic might be the best solution, to allow choosing the source signal for axis.x.jog-counts?

Assuming mux_generic is the best solution, I need a little help configuring mux_generic:
  - I assume I would add it to the servo-thread?   loadrt mux_generic config="??????"
  - the other pins are a bit fuzzy, looks like I need to specify:
     mux-gen.00.in-s32
     mux-gen.00.out-s32
    
I'm not sure how to:
a)  assign encoder-counts and angle_x to the two inputs of the multiplexer?
b)  route the output of the multiplexer to axis.x.jog-counts?
c)  define the control bit that will select the desired input?

   Your help is appreciated.
  • Esaber
  • Esaber
08 Jul 2025 21:15
Replied by Esaber on topic Esab Ultrarex UXD-P2000 Upgrade Project

Esab Ultrarex UXD-P2000 Upgrade Project

Category: Plasma & Laser

I put an old working backup of the ini and hal files just in case. Same outcome. The x and y encoders do read fine when moved by hand.
Displaying 14521 - 14527 out of 14527 results.
Time to create page: 0.569 seconds
Powered by Kunena Forum