Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
29 Jan 2025 22:51
Replied by PCW on topic Spindle Pulses Lost in System

Spindle Pulses Lost in System

Category: General LinuxCNC Questions

Yes, you need to both connect to the proper pins that connect
to the internal hardware encoder _AND_ modify your hal file so
it uses the hardware encoder rather than the encoder component.

 That is, you will no longer have anything in the hal file that
refers  to GPIO 13 or 15 nor loadrt's the encoder component
 
  • 10K
  • 10K's Avatar
29 Jan 2025 22:19
Replied by 10K on topic Spindle Pulses Lost in System

Spindle Pulses Lost in System

Category: General LinuxCNC Questions

tommylight-
The spec sheet on the opto says it's rated for 5-24V input, with a 30V max, so it should be OK. The output is 0-5V, so that should also be OK. I'll take a look at all the signals again when I get back to the lathe.

PCW-
It's been a while since I wired up all of this, so forgive me if I don't remember it all.
The 7i92 was flashed with G540x2D.bit
 2      2   IOPort       StepGen          0        Step/Table1     (Out)
15      3   IOPort       None           
 3      4   IOPort       StepGen          0        Dir/Table2      (Out)
16      5   IOPort       StepGen          4        Step/Table1     (Out)
 4      6   IOPort       StepGen          1        Step/Table1     (Out)
17      7   IOPort       None           
 5      8   IOPort       StepGen          1        Dir/Table2      (Out)
 6      9   IOPort       StepGen          2        Step/Table1     (Out)
 7     10   IOPort       StepGen          2        Dir/Table2      (Out)
 8     11   IOPort       StepGen          3        Step/Table1     (Out)
 9     12   IOPort       StepGen          3        Dir/Table2      (Out)
10     13   IOPort       QCount           0        Quad-A          (In)
11     14   IOPort       QCount           0        Quad-B          (In)
12     15   IOPort       QCount           0        Quad-IDX        (In)
13     16   IOPort       None           

IO Connections for P1
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1     17   IOPort       None           
14     18   IOPort       PWM              1        PWM             (Out)
 2     19   IOPort       StepGen          5        Step/Table1     (Out)
15     20   IOPort       None           
 3     21   IOPort       StepGen          5        Dir/Table2      (Out)
16     22   IOPort       StepGen          9        Step/Table1     (Out)
 4     23   IOPort       StepGen          6        Step/Table1     (Out)
17     24   IOPort       None           
 5     25   IOPort       StepGen          6        Dir/Table2      (Out)
 6     26   IOPort       StepGen          7        Step/Table1     (Out)
 7     27   IOPort       StepGen          7        Dir/Table2      (Out)
 8     28   IOPort       StepGen          8        Step/Table1     (Out)
 9     29   IOPort       StepGen          8        Dir/Table2      (Out)
10     30   IOPort       QCount           1        Quad-A          (In)
11     31   IOPort       QCount           1        Quad-B          (In)
12     32   IOPort       QCount           1        Quad-IDX        (In)
13     33   IOPort       None 
.
It appears that I mis-connected the "A" signal to the DB25 P13 / HAL 16 and the Index to DB25 P11 / HAL 14.
I'm going to move the wires around and connect them to DB25 P10 and P12 to see if that has an effect. Is that what you were referring to when you talked about Firmware?
  • ihavenofish
  • ihavenofish
29 Jan 2025 22:11
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Dreaming of jerk control now :P

haha

(cant test grotius's yet on this machine cause i need to get some work done)
  • ihavenofish
  • ihavenofish
29 Jan 2025 21:39
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Tormach will be more pissed, cause if I manage to do this right, it will directly compete with the 440 and 770 as a higher performance alternative if you don't need to make heavy steel cuts.
  • kb0thn
  • kb0thn
29 Jan 2025 21:37

Run external script on NGC file load?

Category: Gmoccapy

Hi Guys,

I would like to run an external program automatically upon loading a file. Are there any hooks for doing with this LinuxCNC / Gmoccapy?

My goal is to compare the tools in the CAM generated file to my current tool table and make sure there are no mis-matches.

Thanks

-Jim
  • Fianna
  • Fianna's Avatar
29 Jan 2025 21:30

Does 7i76e + 7i78 + 7i85 need a custom bin file?

Category: Basic Configuration

Legend thank you!

I stop poking around for now so and just see what mesaflash reports
  • PCW
  • PCW's Avatar
29 Jan 2025 20:44
Replied by PCW on topic 7i96s maximum number of encoders?

7i96s maximum number of encoders?

Category: Driver Boards

With a single input, it must connect to the 'A' pin.
(and the encoder counter set to counter mode)


 
  • slowpoke
  • slowpoke
29 Jan 2025 20:38
Replied by slowpoke on topic 7i96s maximum number of encoders?

7i96s maximum number of encoders?

Category: Driver Boards

There are no normal encoders on TB3
(there are 4 MPG encoders but these are not suitable
for measuring frequency)

It would require different firmware to put standard
encoders on TB3 (7i96s_p1encd has 1 encoder on TB2 and
6 more on P1)

Your mesaflash command may have failed because either you have LinuxCNC running
or LinuxCNC did not exit cleanly. LinuxCNC blocks access to the Ethernet port it uses
when running.

The .pin file just a human readable file that  describes the firmware contents and
pin connections. Its made by running mesaflash's --readhmid command.

To make new firmware, one changes the PINXXXX.vhd file and re-compiles
the firmware source using the software toolchain for the particular FPGA.

 

Hmmm....

So with the existing firmware, it sounds like I could connect my two MPG encoders to say the first two MPG inputs on TB3, and then connect my two potentiometer based frequency sources to the 3rd & 4th encoder inputs on P1?

Assuming that sounds acceptable, if I want to get the frequency values from the P1 encoders, should I be wiring my frequency sources, to A, B, or IDX of those P1 encoder inputs? I'm not sure which of the three signals is the source for hm2_7i96s.0.encoder.04.velocity




 
  • spumco
  • spumco
29 Jan 2025 20:30
Replied by spumco on topic halui.axis.jog-speed

halui.axis.jog-speed

Category: HAL

Very simple way - not trying to be snarky.

Just have a potentiometer on the control panel which adjusts the halui.axis.jog-speed value.  Manually adjust the pot when you want to slow down one of the axes, and turn it back up for the faster one.  This is how I've got mine configured.
  • spumco
  • spumco
29 Jan 2025 20:27
Replied by spumco on topic halui.axis.jog-speed

halui.axis.jog-speed

Category: HAL

Just off the top of my head...

If you will never jog both axes at once, you could have a mux2 component, and connect the X or Z jog commands (button signals) to the mux select.

If you jog X, nothing changes.  If you jog Z, the mux output goes through a scale component to offset (up or down) the Z jog speed from the X speed.

If you want to have independent control of the jog speed, you could have two potentiometers on the control panel - one for X and one for Z, and the Z-pot adjusts the scale output connected to the mux while the X-pot adjusts the 'baseline' jog speed.

If you try to jog both axes at once, I think the mux-selected axis scale would take over regardless of which button was pressed first.  Probably a better idea to have a separate (and adjustable) angle-jog component & button for any XZ jogs.
  • PCW
  • PCW's Avatar
29 Jan 2025 20:14
Replied by PCW on topic How to use Rcservos as axis motor.

How to use Rcservos as axis motor.

Category: Basic Configuration

net xpos-cmd <= joint.0.motor-pos-cmd => remora.sp.0 joint.0.motor-pos-fb
 
  • amanker
  • amanker
29 Jan 2025 20:12
Replied by amanker on topic How to use Rcservos as axis motor.

How to use Rcservos as axis motor.

Category: Basic Configuration

My pwm pin is remora.sp.0...7.
Can you write sample hal config lines for single axis. Dont know how and where i link joint.n.motor-pos-fb?

Net xpos-cmd <= joint.0.motor-pos-cmd => remora.sp.0
Net xpos-fb <= remora.sp.0 => joint.0.motor-pos-fb
Setp joint.0.amp-enable-out 1
  • PCW
  • PCW's Avatar
29 Jan 2025 20:04
Replied by PCW on topic Following error - Rotary Axis

Following error - Rotary Axis

Category: Basic Configuration

I played around a bit with this and learned that  with such
extreme acceleration, the stepgen PID loop must be tuned
(with added FF2 and I term)

_BUT_ I wonder why you need such high acceleration.
30000 degrees/S^2 means you get to full speed (10000 degrees/sec)
= 1666.7 RPM in 1/3 of a second!
  • langdons
  • langdons's Avatar
29 Jan 2025 19:29
Replied by langdons on topic Replacement for THK GSR20T LM Block and rails

Replacement for THK GSR20T LM Block and rails

Category: General LinuxCNC Questions

I looked in the HIWIN catalogue, there is no LM Guide with a B dimension of 20mm and a C dimension of 30mm.

Is there a place that sells knockoff THK GSR20T guides.

I would prefer to save the $100-$300 cost of 1-3 new LM Guides.

(1 is definitely broken, 1 is potentially repairable, 1 is lost but potentially findable.)
Displaying 18781 - 18795 out of 21689 results.
Time to create page: 0.566 seconds
Powered by Kunena Forum