Advanced Search

Search Results (Searched for: )

  • COFHAL
  • COFHAL
17 Jul 2025 00:56

W5100S-EVB-PICO stepgenerator and encoder driver

Category: Driver Boards

When will it be available for sale?
  • Cerezas
  • Cerezas
16 Jul 2025 22:52

Using a 7i92t as replacement for a parallel port

Category: Driver Boards

Motion in both axes and estop are working!! The spindle is not, but I guess that's easy to solve. And so far no smoke is coming out of any electronic component!!

Thank you unknown and PCW for your help. Now it's just a matter of adjusting parameters, the X axis is too slow, the Z axis looks right. I also want to configure the vistacnc pendant, but that'll be another topic if I don't manage.

Thanks again.
  • PCW
  • PCW's Avatar
16 Jul 2025 22:47 - 16 Jul 2025 22:52

Using a 7i92t as replacement for a parallel port

Category: Driver Boards

Those are G540 pin assignments (which can be ignored)
The only important thing with the stepgens is that you assign:

0 --> X
1 --> Z

( and whatever inversions you need, note that these inversions
apply to the stepgen, not the indicated pin so will be correct
even though "wrong" firmware was chosen )

Edit: I forgot to add that you can use the "discover" option to get the
correct pin numbers in pncconf, this requires that you setup the host
network so you can communicate with the 7I92, install the correct
firmware, power cycle the card, and then run the discover option in pncconf.

 
  • Cerezas
  • Cerezas
16 Jul 2025 22:35

Using a 7i92t as replacement for a parallel port

Category: Driver Boards

Thanks PCW. Yes, I guess I'm not understanding the configuration software. As shown in your second screenshot, pin 002 (which corresponds to pin 2 in the DB25 connector) shows "XAxisStepGen" and beside it, grayed out "Step Gen-A". Pin 004 (which corresponds to pin 3 in the DB25 connector) shows "XAxisStepGen" and beside it grayed out "DirGen B". So, I said to myself: "Step is being output in pin 2 and direction in pin 3." I need to swap them somewhere. Is my logic flawed? 

Sorry for the insistence, I want to understand the configuration tool.

 
  • PCW
  • PCW's Avatar
16 Jul 2025 22:15 - 16 Jul 2025 22:16

Using a 7i92t as replacement for a parallel port

Category: Driver Boards

I think there's a misunderstanding...

You don't need to change any pins.

If you use 7i92t_benezanx2d.bin firmware, the pins are
already correct:

IO Connections for P2
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                      0   IOPort       None           
14                      1   IOPort       None           
 2                      2   IOPort       StepGen          0        Dir/Table2      (Out)
15                      3   IOPort       None           
 3                      4   IOPort       StepGen          0        Step/Table1     (Out)
16                      5   IOPort       StepGen          4        Step/Table1     (Out)
 4                      6   IOPort       StepGen          1        Dir/Table2      (Out)
17                      7   IOPort       PWM              0        PWM             (Out)
 5                      8   IOPort       StepGen          1        Step/Table1     (Out)
 6                      9   IOPort       StepGen          2        Dir/Table2      (Out)
 7                     10   IOPort       StepGen          2        Step/Table1     (Out)
 8                     11   IOPort       StepGen          3        Dir/Table2      (Out)
 9                     12   IOPort       StepGen          3        Step/Table1     (Out)
10                     13   IOPort       None           
11                     14   IOPort       QCount           0        Quad-A          (In)
12                     15   IOPort       QCount           0        Quad-B          (In)
13                     16   IOPort       QCount           0        Quad-IDX        (In)



 
  • Cerezas
  • Cerezas
16 Jul 2025 21:57 - 16 Jul 2025 22:22

Using a 7i92t as replacement for a parallel port

Category: Driver Boards

Strange. I'm attaching the pncconf file that generated the HAL and INI I posted before. When I load it, I see different screens from what you are showing. I had already set pwms and encoders to 0 and steppers to 2.

Anyway, the question remains: how do I change pin 2 (002)  to be XDIR, pin 3 (004) to be XSTEP (Inverted), pin 4 (006) to be ZDIR and pin 5 (008) to be ZSTEP (Inverted)? I was thinking this needs to be done in the HAL file, but I don't see how.
 
  • pippin88
  • pippin88
16 Jul 2025 21:55

W5100S-EVB-PICO stepgenerator and encoder driver

Category: Driver Boards

Do you have code example using the SH1106 oled display?

I see the SH1106 module? But not any other reference / how you use it.
  • Lcvette
  • Lcvette's Avatar
16 Jul 2025 21:44
Replied by Lcvette on topic Probe Basic Screen missing axes

Probe Basic Screen missing axes

Category: QtPyVCP

Get everything squared away?
  • Lcvette
  • Lcvette's Avatar
16 Jul 2025 21:42

Error when saving postion offsets in the offsets tab

Category: QtPyVCP

If you have an "a" axis specified in the ini anywhere, But do not have an "a" axis actually configured in hal you will get the error as its trying to store a position for an undefined axis.

Would be my guess of the error condition
  • atrex77
  • atrex77's Avatar
16 Jul 2025 21:04

W5100S-EVB-PICO stepgenerator and encoder driver

Category: Driver Boards

The first card is in testing now.

 
  • andypugh
  • andypugh's Avatar
16 Jul 2025 20:53
Replied by andypugh on topic Running two LinuxCNC instances in parallel

Running two LinuxCNC instances in parallel

Category: General LinuxCNC Questions

There is an outstanding pull request to allow this.

github.com/LinuxCNC/linuxcnc/pull/2722

I can definitely see uses for this, especially if there was a way for the two processes to communicate.
  • PCW
  • PCW's Avatar
16 Jul 2025 20:41

Using a 7i92t as replacement for a parallel port

Category: Driver Boards

Look like the scaling is wrong on the X Axis ( max velocity is .1666 mm/s )

If there is an issue with pncconfs scaling helper, you could just calculate
the steps per mm and enter that directly.

The PID boilerplate is fine.

To setup pin 16 for spindle control you need to set the number of stepgens to
3 or 2 in pncconf to free up pin 16 as GPIO 5. I would also set the number of pwmgens
and encoders to 0, then hit "Accept components changes" to free up all GPIO
for any other outputs or inputs you need:


 


GPIO outputs need to be set to "GPIO Output" in the pin type menu:


 


 
  • Cerezas
  • Cerezas
16 Jul 2025 20:08 - 16 Jul 2025 20:24

Using a 7i92t as replacement for a parallel port

Category: Driver Boards

Thank you unknown, that's very important information. I noticed that the card came with the W1 and W2 jumpers in pull-up mode. I moved them to pull-downs. 
Hardware-wise, I'm closer to my goal. 

Now, regarding software configuration. I used pncconf to generate a configuration using 7i92t_g540d.bin, since pncconf does not show the firmware that corresponds to what I need (in the stepconfs, dir and step are swapped). The firmware that matches the lathe is 7i92t_benezanx2d.bin.

Can anyone review my hal and ini files (attached) and tell me how to handle swapping the dir and step pins? After the hal is corrected, I assume I need to flash the benezan firmware, right?

Also, if someone can suggest how to clean up those files... I only need to control the pins I mentioned when I opened this topic (see top).

I may need to come back later about the PID stuff and the scale calculation. One of the issues I found in pncconfig is that the pitch can only be a value >= 1, I needed to enter a value of 0.8 mm/rev.
  • Sternfox
  • Sternfox
16 Jul 2025 19:33

Error when saving postion offsets in the offsets tab

Category: QtPyVCP

Hey peeps. I have searched the Internet and cant find an answer. I have hooked up absolute encoders and when I try to save the current position G54 on the offsets page I get the error bad character a used. Any idea what's going on? I can losd the table and clear it, but cant save it. 

Not sure if this is a pb thing or a linuxcnc thing. I read that when himing for the first time with absolute encoders i need to save the home position by zeroing the axis and saving the cirrent position to the offsets tab.

Many thanks 
  • heaven
  • heaven
16 Jul 2025 16:18

Control linuxcnc by FT sensor (external force)?

Category: Advanced Configuration

I tried Jogwheel to move the robot and encountered a problem. If I move a single axis, it's good, but if I move multiple axes at the same time, it won't be smooth because they are not synchronized.
Displaying 13696 - 13710 out of 15144 results.
Time to create page: 0.577 seconds
Powered by Kunena Forum