Advanced Search

Search Results (Searched for: )

  • Grotius
  • Grotius's Avatar
04 May 2025 11:10

Lcnc & Ethercat data types, Ethercat automated hal pin setup.

Category: General LinuxCNC Questions

Hi all,

I was wondering why lcnc don't have the data types U8, U16, S8, S16 to use with ethercat lcec?
To me it looks like the lcec is some times loading S32 types (bigger data types) when it could load a U8.
The result is in-effiecient memory management. Don't get me wrong if this is not the case.

This issue came to light when i made a few tests to automate the ethercat hal pin setup for lcnc.
After automated hal pin setup worked i added new hal data types into the lcnc source code : U8, U16, S8, S16

Now the ethercat data types can be used 1:1 with lcnc.
For example a ethercat U16 is loaded into a hal pin off type U16 and
not as a U32 as before. This saves us the memory size of a U16 i guess?

Mention the automated hal pin names and the new data types:


In above picture, a component called ecad.so is loaded in hal. (lcec replacement)
The component name: ecad.so

When the component start's up, it load's c++ code that has a automated hal pin setup under the hood,
looking what kind off data types are used etc.
Setting up the hal pins :  hal pin setup

And at runtime update the hal pins every cycle :
Update hal pins: hal_pin_update

So far above situation works quite well.

In the ecad.so component we don't need any .xml config file anymore.
As the component just throws out all hal pins from the ethercat bus by itself.

What i didn't code yet, is time dc synchronisation. I tested a stepper config in axis, and steppers run just
as fast as using the linuxcnc-ethercat config. However i am on a really bad desktop pc.
Axis stepper config, driving one stepper motor: axis config
 
  • epineh
  • epineh
04 May 2025 09:51

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

That's really cool, I'm working on translating the captions but I notice you are driving an AC servo, does that mean we could theoretically drive some large AC servo motors with this ?
  • magyariadam
  • magyariadam
04 May 2025 09:25 - 04 May 2025 11:25
Replied by magyariadam on topic WebGUI

WebGUI

Category: Other User Interfaces

Hi Folks,

this is an awesome project, thanks for it!

Please could anyone support me, how I could able to install git and linuxcnc-web to my LinuxCNC VM?

 
  • jochen91
  • jochen91
04 May 2025 09:19 - 04 May 2025 09:32

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration

Hi Aciera,

i can't thank you enough! You know I'm not afraid of all the mechanics and electrics and getting the whole thing HAL ready also with custom M codes and custom Components I feel okay. But the kinematics and PP stuff... it scares me. I'm so glad that you help me so much on getting this thing to reality! I wish i could do more than just saying thanks a thousand times.

Kind regards,
Jochen

EDIT: I would be nice if two features could be added. An X Axis Tool offset is needed for lathe tooling. Also i dont know if the kinematics change, but the B axis can only rotate +/-90° while 0° is the tool looking straight down the X axis.
  • Aciera
  • Aciera's Avatar
04 May 2025 09:03

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration


But i would prefer the solution by Mazak. They used iirc a custom tool change command and added the desired spindle angle.

It looked something like this: T01XX while XX equals the desired spindle orientation.


This can be done using a remap of the 'M6' command.

I would be super thankfull for some help, cause this is really a critical feature. I guess the same problem is not just drilling but also milling pockets at an angle other then 0° or 90°.


This can be done using an additional custom kinematic and custom Gcodes that implement 'Tilted Work Plane' functionality.
For a demonstration see the sim config I linked earlier:
github.com/Sigma1912/LinuxCNC_Demo_Confi...lt/table_c-spindle_b

Note that your case probably only needs G68.3, G69 and a basic implementation of G53.1 (see link above for a description of these codes)

I'll have a look at expanding the mazak sim config in this respect.
  • Aciera
  • Aciera's Avatar
04 May 2025 08:39
Replied by Aciera on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Das Hauptproblem bei dir ist, dass du VIEL zu wenig Information lieferst. Ist halt mühsam wenn man jedes mal fragen muss 'wo hast du was wie gemacht und was geht denn genau nicht, wo sind die zugehörigen hal- und ini-Dateien'.

Also:

1. Skizze von deiner Verdrahtung zwischen Mesakarte und Umrichter machen und hier anhängen.
2. Bekannt geben welchen Umrichter du verwendest und wenn möglich einen Link zu einem Onlinemanual
3. Das 'Video von talla83' ebenfalls verlinken
4. HAL und INI Dateien anhängen wie du das versucht hast umzusetzen.
5. Bekannt geben was damit GENAU nicht funktioniert, wenn Fehlermeldungen erscheinen diese hier angeben.
  • jochen91
  • jochen91
04 May 2025 08:34 - 04 May 2025 08:35

Planning to Retrofit a Mazak Integrex200Y Mill-Turn Machine

Category: Advanced Configuration

Hello Aciera,

during the last few days I thought about how to implement the PP and functionality of this machine.
I stumpeled across this pdf. Its from a Doosan Mill but it has the same construction as the Mazak and a PP is already there in Fusion. Now what came to my mind is how to drill holes if the B Axis is not oriented at 0° or 90°. Lets say at 45°. It uses a custom G-code G368 see page 40. I dont even have an idea how to implement this into LCNC but the question is do i need it? Couldn't it be done via TCP or kinematics?

I had to .zip the PDF. Otherwhise it would >1.6MB.

I would be super thankfull for some help, cause this is really a critical feature. I guess the same problem is not just drilling but also milling pockets at an angle other then 0° or 90°.

Kind regards,
Jochen 
  • machinedude
  • machinedude's Avatar
04 May 2025 07:50
Replied by machinedude on topic Black Friday Deal got me :)

Black Friday Deal got me :)

Category: Plasma & Laser

Not too much going on this weekend the grandkids and kids got me sick so i have slept through most of it.

but it does work as intended. hopefully now that i have a physical assembly made it's starting to make sense as a whole a little more.
  • hans48
  • hans48
04 May 2025 07:34
Replied by hans48 on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Hallo
Ich komme mit meiner Spindel Installation nicht weiter. Was mich stutzig macht das die Outputs beide HI sind (cw und ccw) hier weden 13,5V ausgeben, sollten da nicht 5V rauskommen? Auch bekomme ich keinen Output beim Analogausgang. Ich habe beim Eingang 5V anstehen.
Wenn ich M3 S1000 eingebe werden am Bildschirm die Drehzahlvorgabe angezeigt.  Habe den Vorschlag von talla 83 genommen natürlich in HAL und INI die Zeilen eingefügt aber keinen Erfolg gehabt. Villeicht kann sich einer erbarmen und mir weiterhelfen.
Gruß Hans
  • Aciera
  • Aciera's Avatar
04 May 2025 04:42
Replied by Aciera on topic A-axis machining a brassball

A-axis machining a brassball

Category: Show Your Stuff

Thanks for sharing.
  • clayton2ndtry
  • clayton2ndtry
04 May 2025 03:20
Replied by clayton2ndtry on topic + and - both go same direction

+ and - both go same direction

Category: Basic Configuration

I saw discussion of dirty parallel port PCI connection, so I started looking. The parallel port to controller box has a USB cord supplying power. I had taken the tower in the house where I had Ethernet because 2.7.14 has no built-in WiFi driver. I neglected to plug that cable into a USB port when I took it back to the shop. Everything works again! Thanks!
  • PCW
  • PCW's Avatar
04 May 2025 03:18
  • tommylight
  • tommylight's Avatar
04 May 2025 03:07
Replied by tommylight on topic + and - both go same direction

+ and - both go same direction

Category: Basic Configuration

Chromium has nothing to do with no direction change.
Check wiring first, most probably loose wire inside a connector or broken wire.
  • clayton2ndtry
  • clayton2ndtry
04 May 2025 02:48 - 04 May 2025 02:49
+ and - both go same direction was created by clayton2ndtry

+ and - both go same direction

Category: Basic Configuration

I have used 2.7.14 for several years now without problems.  Friday, Chromium stopped working so I reinstalled it.  Now _ and - both go the same direction.  So I reinstalled. No change.  Suggestions?  Sherline mill.
Displaying 856 - 870 out of 26498 results.
Time to create page: 0.401 seconds
Powered by Kunena Forum