Advanced Search

Search Results (Searched for: )

  • richcolvin
  • richcolvin's Avatar
17 Jan 2025 17:56
Problems configuring 7i92TH with pncconf was created by richcolvin

Problems configuring 7i92TH with pncconf

Category: PnCConf Wizard

I am new to LinuxCNC, so please forgive me if this has already been answered.  I searched and could not find it anywhere so am asking here.  (I always hate on other forums when people just jump in with questions before searching.)

I have a 7i92TH connected to a Raspberry Pi 5.  The use case for it is for rose engine lathes, and we need to drive a spindle + 7 axes.

The break-out board we are using for both 26-pin outputs from the 7i92TH was developed using the input from Peter.  Fundamentally, we will have
  • 8 outputs to drivers, all with Step, Direction, & Enable
  • 7+ inputs for limit switches
Peter W. got us setup with the files needed to program the 7i92TH, and that seems to be working as expected.  When I run

         mesaflash --device 7i92t --addr 192.168.1.121 --readhmid

the output matches the .pin file supplied by Peter, telling me that the mesaflash --write command worked to load the .bin file supplied by Peter.

When running pncconf:
  • I've tried with copying the contents of the .pin file into the Input tab on the Help screen, and not doing this.
  • I was able to successfully discover the 7i92TH board, and it populated the Output tab on the Help screen (I didn't check word-for-word, but it seems to be duplicate of the output from mesaflash --readhmid).
When I want to proceed forward, assigning the pins to axes, I encounter the screens I've attached.

ISSUE for which I'm seeking help:  I can't figure out how the Num items (pin numbers?) match up to the .pin file.  What am I missing?
  • hmnijp
  • hmnijp
17 Jan 2025 17:54 - 17 Jan 2025 17:57

Error message "Radius to end of arc differs....etc etc"

Category: General LinuxCNC Questions

hello hmnijp,
could you please elaborate on that? 
I have tryed to comment out this section of the code in interp_arc.cc and then make the build, but I still get error message.
CHKS((abs_err > spiral_abs_tolerance * 100.0) ||
          (rel_err > spiral_rel_tolerance && abs_err > spiral_abs_tolerance),
      _("Radius to end of arc differs from radius to start: "
       "start=(%c%.4f,%c%.4f) center=(%c%.4f,%c%.4f) end=(%c%.4f,%c%.4f) "
       "r1=%.4f r2=%.4f abs_err=%.4g rel_err=%.4f%%"),
       a, current_x, b, current_y, 
       a, *center_x, b, *center_y, 
       a, end_x, b, end_y, radius, radius2,
       abs_err, rel_err*100);

 



The simplest solution with minimal changes is to fix the upper limit in "interp_internal.hh" file:
#define CENTER_ARC_RADIUS_TOLERANCE_MM (2 * 0.01 * M_SQRT2)
for example
#define CENTER_ARC_RADIUS_TOLERANCE_MM 1.001

after that the setting in the ini file will allow to set a higher value than before 
  • PCW
  • PCW's Avatar
17 Jan 2025 17:46
Replied by PCW on topic Operating computers in the cold

Operating computers in the cold

Category: Computers and Hardware

I can't rule out moisture.

However it's curios that the computer boots up fine but then crashes and once I take it inside it's running just fine.
 

Frost melting when first turned can have this effect, Beware that too long operation with actual
liquid water from melted frost can cause permanent damage due to electrolytic corrosion.
 
Displaying 20026 - 20028 out of 20028 results.
Time to create page: 0.346 seconds
Powered by Kunena Forum