Advanced Search

Search Results (Searched for: )

  • tjtr33
  • tjtr33's Avatar
06 Jul 2024 11:50

Build 2.9 RIP in Debian 12 without Documents

Category: General LinuxCNC Questions

failed and the configurator said to add
--enable-non-distributable=yes
resulting in:

/configure --with-realtime=uspace --enable-build-documentation=no --enable-non-distributable=yes

which worked fine

HTH
tomp
  • garthnoakes
  • garthnoakes
06 Jul 2024 11:41
Replied by garthnoakes on topic Driving relay using NO, COM and or NC

Driving relay using NO, COM and or NC

Category: Driver Boards

I have this relay

www.amazon.com/gp/product/B01B60LPVK/ref..._title?ie=UTF8&psc=1

And this board

www.amazon.com/gp/product/B0093Y897A/ref..._title?ie=UTF8&psc=1

I've used X, Y, Z and A for the hot wire motors (XYUV), so besides the 5v and B output pins and the input pins, everything is used besides the NO/COM/NC connectors
  • Walkahz
  • Walkahz
06 Jul 2024 10:49
Replied by Walkahz on topic Deckel FP4 Gearbox Comp

Deckel FP4 Gearbox Comp

Category: Advanced Configuration

Not sure exactly how to open in comp.

Ive made a little progress.
I abandoned the modified Files I was using and went back to mark's files as downloaded from github.
i then have gone through to modify as required to remove the unneeded portions.
I was able to compile it and stopped getting the errors above when I uncomment the inputs and outputs, So the Hal is talking to the comp.
Still having a few problems but at least they are different. I was able to open LCNC but it opened very slow and showed a different version to what i have installed (2.4 rather than the 2.9 i have installed)
After some changes to the hal to try to identify the issue I was then once again unable to open LCNC  and had the following debug information come up.
2 steps forward 1 back.
Debug file information: Note: Using POSIX realtime rtapi_app: caught signal 11 - dumping core [Gmoccapy.QTVCP.QT_ISTAT][[33mWARNING[0m] INI Parsing Error, No DEFAULT_SPINDLE_0_SPEED Entry in DISPLAY, Using: 200 (qt_istat.py:532) [Gmoccapy.QTVCP.QT_ISTAT][[33mWARNING[0m] INI Parsing Error, No MIN_SPINDLE_0_SPEED Entry in DISPLAY, Using: 100 (qt_istat.py:532) [Gmoccapy.QTVCP.QT_ISTAT][[33mWARNING[0m] INI Parsing Error, No MAX_SPINDLE_0_SPEED Entry in DISPLAY, Using: 2500 (qt_istat.py:532) [Gmoccapy.QTVCP.QT_ISTAT][[33mWARNING[0m] INI Parsing Error, No MAX_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 1 (qt_istat.py:532) [Gmoccapy.QTVCP.QT_ISTAT][[33mWARNING[0m] INI Parsing Error, No MIN_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 0.5 (qt_istat.py:532) (gmoccapy:25734): Gtk-CRITICAL **: 06:32:40.415: gtk_entry_set_text: assertion 'text != NULL' failed [Gmoccapy.GMOCCAPY.GETINIINFO][[33mWARNING[0m] No DEFAULT_SPINDLE_SPEED entry found in [DISPLAY] of INI file (getiniinfo.py:282) Waiting for component 'inihal' to become ready. While waiting for 'inihal', component 'gmoccapy' loaded. Did you specify the correct name via 'loadusr -Wn'?.........................................................................................................................................................................................HAL: ERROR: exit called before init :0: waitpid failed milltask inihal :0: milltask exited without becoming ready [Gmoccapy][[33mWARNING[0m] No virtual keyboard installed, we checked for . Try 'sudo apt-get install onboard'. (gmoccapy:2080) Could not open command file 'gmoccapy_postgui.hal' 25678 Stopping realtime threads Unloading hal components Waited 3 seconds for master. giving up. Note: Using POSIX realtime mh400e_gearbox: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 Note: Using POSIX realtime mux16: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 Note: Using POSIX realtime classicladder_rt: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 Note: Using POSIX realtime pid: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 Note: Using POSIX realtime hm2_eth: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 Note: Using POSIX realtime hostmot2: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 Note: Using POSIX realtime motmod: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 Note: Using POSIX realtime trivkins: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 Note: Using POSIX realtime homemod: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 Note: Using POSIX realtime tpmod: not loaded :0: exit value: 255 :0: rmmod failed, returned -1 :0: unloadrt failed Note: Using POSIX realtime
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
06 Jul 2024 10:28
Replied by Cant do this anymore bye all on topic Driving relay using NO, COM and or NC

Driving relay using NO, COM and or NC

Category: Driver Boards

NO,COM,NC are (usually) the switched side of the relay.
Where are the coil connections connected to ?

Could you do a quick sketch of how you've wired the relay, you're description isn't quite clear.

If you want to drive a relay via another relay, connect one of the coil terminals on the relay you want to dirve to the + power rail, the the other terminal to the NC or NO depending on whether activating the first relay turns the second relay on or off and connect the COM to the ground of the power supply that the coil of the second relay is connected to.
  • Aciera
  • Aciera's Avatar
06 Jul 2024 10:26
Replied by Aciera on topic Driving relay using NO, COM and or NC

Driving relay using NO, COM and or NC

Category: Driver Boards

=0.8em  It has NO, COM, NC connectors

Those would be the contactors for the signal you want to switch with the relay: NormalyOpen, COMmmonm NormalyClosed.
To switch the relay you need to apply a voltage to coil (usually A1 and A2)

 
  • rodw
  • rodw's Avatar
06 Jul 2024 09:50 - 06 Jul 2024 09:51
Replied by rodw on topic Position vs Velocity mode

Position vs Velocity mode

Category: EtherCAT

I found an example of said inertia, where I cut a small V shaped notch when plasma cutting a hook for a curtain rod to act as a fold mark.

Here the notch was deep enough to get to cut speed of 2.2 m/min before immediately reversing. Accelleration was probably 5 m/sec/sec (0.5G)

And I thought I had a stiff gantry!
 
  • garthnoakes
  • garthnoakes
06 Jul 2024 09:22
Driving relay using NO, COM and or NC was created by garthnoakes

Driving relay using NO, COM and or NC

Category: Driver Boards

I have a SainSmart 5 Axis Breakout Board for Stepper Motor Driver CNC Mill board.  I want to drive a hot wire relay with it.  It has NO, COM, NC connectors - how do I wire these to the relay, and how is Linuxcnc configured for this? I connected the inputs to ground and NO, but an M3 does not trigger the relay
  • phillc54
  • phillc54's Avatar
06 Jul 2024 09:00
Replied by phillc54 on topic qtplasmac "torch not showing"

qtplasmac "torch not showing"

Category: Plasmac

Dies ist zwar die richtige Vorgehensweise, der Inhalt der von Ihnen geposteten Datei entspricht jedoch nicht dem, was in einer Konfigurationssicherung erwartet wird.
  • Aciera
  • Aciera's Avatar
06 Jul 2024 08:39
Replied by Aciera on topic Position vs Velocity mode

Position vs Velocity mode

Category: EtherCAT

I have experimented with 60m/min and 0.8 G Accelleration (8 m/sec/sec) on a plasma table and can confirm what Don says that the inertia at this level of performance will shake your machine apart. People seem to gloss over that part of his discussion but it is very true.

Hence the need for jolt limited tool paths.
Which shows, for high performance CNC machining, one needs to fine tune every component of the system. Toolpath, software, electronics, mechanics and ambient atmospheric conditions. The effort required climbs exponentially.     
  • SimonH
  • SimonH
06 Jul 2024 08:21 - 06 Jul 2024 08:46

Spindle started during tool length probing

Category: General LinuxCNC Questions

Hello,

sorry for asking without being able to give any valuable details. I have no logs, and the issue I had is not reproducible. But it was quite disturbing, so I'll try my luck and ask if this maybe rings a bell to someone out there.

I have installed LinuxCNC 2.9.2 on a Raspberry Pi 4, the image from the LinuxCNC page. Before I had 2.8 installed, which flawlessly cut many chips.

I'm running (as before) Gmoccypy.

After installing, I took over my config files from 2.8 and was surprised that it actually worked quite nicely out of the box. I installed ProbeScreen for LinuxCNC 2.9 (github.com/verser-git/probe_screen_v2.9); before I already had installed ProbeScreen for LinuxCNC 2.8).

Already cut some chips including tool length sensing etc, everything just flawless.

But today something VERY strange and disturbing happened: LinuxCNC had been running for some days, machine was homed, so I just loaded a GCode file (but did not start it yet) and then wanted to first touch off the tool probe with my 3d probe (which I always do and had done several times already with the new set up).
It drove above the tool probe, approached, touched, retracted, touched slowly, retracted - and then started the spindle motor!! Of course the probe cable was ripped apart and I was left shocked.

Then I tried several times again (with the 3d probe not attached and simulating touch-off by hand). It did the very same each time. Then I restarted LinuxCNC - and now it behaves as usual again.

Normally, when such things happen, I just frown a bit and am glad that the issue resolved. But here I am really curios how this could actually happen.

What I've seen is that I have repeated errors on the MB2HAL, I think every 2nd transaction does not work. But even with these error, the spindle works flawlessly (I will take care on these of course). My first guess was indeed that there was some glitch on the modbus, causing the spindle to start, but as it started after each probing repeatedly I don't think this is the issue.

I think, if I don't explicitly collect logging data from stdout, I don't have any logs, right? I should have stored the stdout (I even had LinuxCNC running from command line!) :-(

Any idea anyone how this could possibly happen? Again, sorry for the sparse information, I know it's hard to tell anything without seeing any logs.

BR Simon
  • Altenthaler1988
  • Altenthaler1988
06 Jul 2024 08:19 - 06 Jul 2024 08:20
Replied by Altenthaler1988 on topic qtplasmac "torch not showing"

qtplasmac "torch not showing"

Category: Plasmac

Ich habe auf Backup config in qtplasmac rechts unten geklickt und diese angehängt. Oder welches Backup soll ich benutzen oder ich habe die falsche zip erwischt sry.
  • Aciera
  • Aciera's Avatar
06 Jul 2024 08:07
Replied by Aciera on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

Here is a post regarding vector format that actually seems to be familiar with it.
forum.linuxcnc.org/10-advanced-configura...gcode?start=0#143455

As for the absence of arc moves in vector format code see this post in the same thread:
forum.linuxcnc.org/10-advanced-configura...gcode?start=0#143507
  • Aciera
  • Aciera's Avatar
06 Jul 2024 08:05
Replied by Aciera on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

They use I,J,K for vector. But for G2, G3 that is not a valid gcode input.

Yes, that is because the 5axis CAM output only consists of straight line segments (ie no G02 or G03 commands) the CAM user defines the length of the line segments.

I'm not suggesting to limit the interpreter to this format but it would make a lot of sense to allow vector format as an option since it makes the calculation of the tool vector unnecessary. It seems kind of silly to have the CAM calculate the tool vector and then to invest in a postprocessor to calculate the rotary angles from the tool vector just to have your algorithm reconstruct the tool vector that we already had in the CAM output.
So basically:
1. Check if the first G01 command has I,J,K words
2a. if no then read the machine kinematics from the ini file and recalculate the tool vector from the ABC values
2b. if yes, use the IJK values to create the tool vector directly.

 Basicly when using external rotary table, we could use this as axis u,v,w.
Where u=rotation around x, v=rotation around y, and w=rotary table clamp symetric axis.

Then we have a xyz, abc, uvw machine, 6 axis for tool, 3 axis for extern rotary table.

Not sure I can follow you there. I don't see the need for U,V,W for work side rotations. Come to think of it I may have been confused myself by thinking we need to handle work side rotation differently from tool side rotation as I thought we would need to reverse the rotation direction. However the positive rotation is defined in respect to the tool rotation around the machine XYZ in either case.

I have created kinematic models with mixed work side and tool side rotations but my 'tilted work plane work' only dealt with machines with tool side rotation (primary C, secondary B or A). Maybe I'll find some time to expand on that.

So all other configurations, like xyzab, xyzac, xyza, etc need a different software approach.
And i think not all of these variants can use tooldirection optimalisation. Like xyza, where a is secondaire z axis.


For Gcode that was postprocessed to fit a specific kinematic  you need to account for the kinematic settings in the postprocessor (PP) to basically undo what the PP did AND you need to know the machine kinematics for the calculation of the rotary axis position to achieve the requested tool orientation.

If you decide to allow vector format Gcode then you only need to worry about kinematics for the calculation of the rotary axis position to achieve the requested tool orientation. This is why I suggested looking at vector (ie IJK) format as it's really the easier task.

However, the usual 4axis case will still likely still involve XYZA gcode. I think this would still work with the orientation path smoothing as it still creates a valid 3d curve that can be smoothed out to a G2 continuous  path. What happens if you feed your 5axis test a XYZA gcode (ie B and C angle values all zero)?

Note: I would interpret XYZA as a machine with linear cartesian XYZ axes and a rotary A (ie rotates the tool around the X axis). And again I _think_ that it is irrelevant whether A rotates the work or the tool.

  Then it should use correspondenting c++ function to translate gcode into the proper tcp, and other axis.
Like choosing kinematics.

Overall the current use of kinematic modules works quite well, except for the inability of the trajectory planner to catch axis limit violations in the look ahead and decelerate in a controlled manner before raising a sudden joint limit abort. This would be nice to have but would mean that the planner passes every motion segment through the custom kinematic module to check for limit violations before actually adding it to the queue.



 
  • viesturs.lacis
  • viesturs.lacis
06 Jul 2024 07:19 - 06 Jul 2024 07:22
Replied by viesturs.lacis on topic BLDC component with 8i20 - how to get to work?

BLDC component with 8i20 - how to get to work?

Category: Driver Boards

Initial retrofit to LinuxCNC was done 3 or 4 years ago, now I am replacing servodrives (currently one 8i20 is installed and wired up) because originals have started to malfunction and show errors.
Currently I have not yet touched encoder wiring - old Yaskawa drives are still in machine and are exporting encoder signals to LinuxCNC. I do not think that there could be issues with encoder signal. The only change with servodrive wiring is that I have removed motor cable from the drive and attached it to 8i20.

Attached are INI and main HAL file. Relevant to 8i20 are sections of Z axis.
 

File Attachment:

File Name: 5i24.ini
File Size:6 KB

 

File Attachment:

File Name: hm2-servo.hal
File Size:18 KB
  • endian
  • endian's Avatar
06 Jul 2024 06:15
Replied by endian on topic Position vs Velocity mode

Position vs Velocity mode

Category: EtherCAT

There are more other stuff in the servo that we think.. current pid loop(which we should called torque) is running xtimes faster then velo or pos loops.. when we want to run comm faster then 1ms, here we are on limits of servo loops itself .. we can see that in default setup of many servodrivers is this velo loop in most cases longer then 1ms and from my expreriences current loop are shorter then 1ms... 
​​​These regulator are pain to set correctly.. when somebody want to have FE in the nm, atmosferic conditions have to be constant(p,t, etc..) .. guys from kern machine has tolerances around um and there top of the world..

But there we are facing of kinematics limits of serial kinematics machines..

When you want to have precision below um, you have to use paralel kinematics ..
Displaying 23251 - 23265 out of 26439 results.
Time to create page: 0.790 seconds
Powered by Kunena Forum