Advanced Search

Search Results (Searched for: 7i76e)

  • PCW
  • PCW's Avatar
15 Sep 2025 01:50 - 15 Sep 2025 01:59

HAL help needed for MPG wheel jogging and machine enabling logic

Category: HAL

A very basic bit of hal code for a 7I76E MPG would be:

net mpg-counts  hm2_7i76e.0.7i76.0.0.enc0.count 
net mpg-counts  axis.x.jog-counts
net mpg-counts  axis.y.jog-counts
net mpg-counts  axis.z.jog-counts
net x-jog-enable hm2_7i76e.0.7i76.0.0.input-07 axis.x.jog-enable
net y-jog-enable hm2_7i76e.0.7i76.0.0.input-08 axis.y.jog-enable
net z-jog-enable hm2_7i76e.0.7i76.0.0.input-09 axis.z.jog-enable

loadrt mux4
addf mux4.0 servo thread
net jog-inc0 hm2_7i76e.0.7i76.0.0.input-10  mux4.0.sel0
net jog-inc1 hm2_7i76e.0.7i76.0.0.input-11  mux4.0.sel1
setp mux4.0.in0 0.0001
setp mux4.0.in1 0.0010
setp mux4.0.in2 0.0100
setp mux4.0.in3 0.1000
net jog-scale mux4.0.out
net jog-scale axis.x.jog-scale
net jog-scale axis.y.jog-scale
net jog-scale axis.z.jog-scale

Notes:

This is for axis rather than for joints so will only work after homing
(a minor change is needed to jog before and after homing)

The I/O pins and jog increments are arbitrary

The mux4 select bits are a binary code 00,01,10,11 to select the jog increment.
This can usually be arranged with a wafer switch but can be redone for linear select
or button press to select the increments.

 
  • PCW
  • PCW's Avatar
15 Sep 2025 00:32
Replied by PCW on topic 7i76E Spindle configuration

7i76E Spindle configuration

Category: PnCConf Wizard

There is no PWM involved (at least at the configuration level)

pncconf setup looks like:


 


and:


 
 
  • LinuxCrashOut
  • LinuxCrashOut's Avatar
14 Sep 2025 17:54

HAL help needed for MPG wheel jogging and machine enabling logic

Category: HAL

Ok, I got some help and realized the mesa 7i76e was in mode 0, now it is in mode 2 and I can see the counts on hm2_7i76e.0.7i76.0.0.enc0.count

I am still lost about how the following works (as for the logic)

I would love to have one button that enables the jog for x axis for example, and then the mpg makes it move (while the button is pressed)

 

File Attachment:

File Name: empty_sample_0.4.hal
File Size:10 KB
Displaying 496 - 498 out of 498 results.
Time to create page: 0.829 seconds
Powered by Kunena Forum