Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
  • waldo
  • waldo
29 Jan 2025 22:54
  • 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)
Displaying 19801 - 19805 out of 19805 results.
Time to create page: 0.522 seconds
Powered by Kunena Forum