Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
03 Nov 2025 02:21
Replied by tommylight on topic motion.so not found error ...

motion.so not found error ...

Category: General LinuxCNC Questions

My bigger mistake was trying to code a HAL file by hand from scratch.

That is never a mistake, it hugely pays off later and makes things ... well, simple.

I am drinking from a fire hose!

Isn't it refreshing ! :)
  • MusicCityMfg
  • MusicCityMfg's Avatar
03 Nov 2025 01:58 - 03 Nov 2025 02:03
Replied by MusicCityMfg on topic motion.so not found error ...

motion.so not found error ...

Category: General LinuxCNC Questions

Thanks for reviewing my HAL file. So I learned that there is no "motion" component. Instead, it is the "motmod" component I should be trying to load.

My bigger mistake was trying to code a HAL file by hand from scratch. I learned that I can use LinuxCNC to create a configuration which generates the ".ini" and ".hal" files. And then I can modify those if they require any other changes.

Like I said in my earlier post, I'm just learning LinuxCNC now. And on top of that, I'm trying to understand HAL, and what Mesa cards I need to buy, and what components I need for the lathe CNC conversion. I am drinking from a fire hose!

Thanks again for your help!
  • unknown
  • unknown
03 Nov 2025 01:25 - 03 Nov 2025 01:27
Replied by unknown on topic Motor Driver Electrical Question

Motor Driver Electrical Question

Category: Basic Configuration

Take a deep breath, remain calm and read the stepper motor stuff by gecko

www.geckodrive.com/support/


This one is rather enlightening regard power draw and such
www.geckodrive.com/support/power-supply-basics/


I've had my mill setup for that long, using KL5066 drivers (no longer available) max PSU is 50v and I've been running them for years, 10+, on 48v with no ill affects. I think the motors are set for 4 or maybe 4.5 amp I thought I'd add I've run them on days where its been +35'C outside no idea what it's been in the workshop.....no issues
  • Dave3891
  • Dave3891
03 Nov 2025 01:13 - 03 Nov 2025 01:16

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

Category: Computers and Hardware

@meister Thanks for the offer, but I think I have it figured out, just waiting for the board to arrive and test!

 
 
  • john.obrien
  • john.obrien
03 Nov 2025 00:00
Replied by john.obrien on topic A suggestion for the 7i76 documentation

A suggestion for the 7i76 documentation

Category: Driver Boards

Thank you for considering my suggestion.
  • PCW
  • PCW's Avatar
02 Nov 2025 21:39
Replied by PCW on topic A suggestion for the 7i76 documentation

A suggestion for the 7i76 documentation

Category: Driver Boards

It's true that the 7I76U P1 DB25 pins are not relevant to normal
LinuxCNC setup which deals  with things like stepgen numbers.

The picture on page 4 gives the general location of the I/O pins and the individual
connector (TB1 through TB6) tables give the details. I guess it would be possible
to have another drawing with the individual pins labeled.
 
  • tommylight
  • tommylight's Avatar
02 Nov 2025 21:02
Replied by tommylight on topic Motor Driver Electrical Question

Motor Driver Electrical Question

Category: Basic Configuration

Set them at 2A and test, see if that is enough for what you need, if not add more in steps and test again.
And while testing, every 10 to 15 minutes do check the motor temperature with your hand, they might get warm and they might get hot and that is ok, as long as you can keep your hand on the motor all is good, and even when it feels it burns like hell, they are still OK, but you might want to lower the current a bit.
  • unknown
  • unknown
02 Nov 2025 20:37

Usable Interface for CNC Turntable on Manual Mill

Category: Other User Interfaces

Linuxcnc is probably overkill for this situation.
If you look around YouTube you'll find plenty of projects addressing this idea.
Myfordboy has done such a project but using a spin indexer.
  • Hakan
  • Hakan
02 Nov 2025 20:34

Help with Inovance IS620N Servo Drive - Stays in PREOP

Category: EtherCAT

For sure that is an issue.
So many UNMATCHED datagrams points to the ethernet adapter.
Do you have a realtek adapter? Find out with  "lspci -k".
If so, install the realtek dkms drivers, it has helped many.
Think it is called r8168-dkms or r8125-dkms. Search the forum, many have installed it.
  • gardenweazel
  • gardenweazel's Avatar
02 Nov 2025 19:57
Replied by gardenweazel on topic Motor Driver Electrical Question

Motor Driver Electrical Question

Category: Basic Configuration

The motors and drivers were part of a kit that included power supply, drivers and Nema 23's that I bought directly from
Stepper Online.

Here's a link to the DM556T drivers which were part of the kit. I could not find the kit online at this time.

On the Stepper Online web site I note the following documentation:Therefore, when setting the current on the stepper motor driver, please try to make the rated current of the motor close to the RMS value of the driver. If the motor needs to work continuously for a long time, you need to pay attention to the temperature rise of the motor. If you feel that the temperature of the motor is too high, you can properly reduce the current.In our experience, we usually match the RMS value on the driver to the rated current of the motor to ensure higher performance. When we feel that the motor is overheating, we match the rated current of the motor to the PEAK value on the driver.Additionally, under short-term working cycle conditions, we recommend using the RMS value, and under long-term working cycle conditions, we recommend using the PEAK value. This document is located here.

Honestly I see no reason why these motors can't be run at 48vdc.
  • Pinaz993
  • Pinaz993
02 Nov 2025 19:53

Usable Interface for CNC Turntable on Manual Mill

Category: Other User Interfaces

Greetings, all. I am currently helping a relative with a small project. He is a machinist, and has a manual horizontal mill. For this mill, he has a small manual turntable, which he is hoping to be able to automate to some degree.

The stepper motor that has been purchased to drive the turntable does not have enough torque to machine with, even at a 40:1 reduction. However, it should be able to turn the turntable a given number of degrees in a given direction, and then the turntable can be locked down before proceeding with the machining process.

I have the official LinuxCNC Debian image installed on a Pi4 (and have fixed the GPIO permissions issue), and have configured the X axis as angular, with no other axis in the configuration. I can put in the 40:1 gearing.

My problem is that I haven't the foggiest idea what interface to use. I need something that can order a rotation of a certain amount of degrees and then a stop, as well as switching between clockwise and counterclockwise. However, all the interfaces I've seen are specifically designed to run Gcode from CAM software. Is there an interface that supports these needs, or do I need to code something myself? 
  • conman
  • conman
02 Nov 2025 19:15

Help with Inovance IS620N Servo Drive - Stays in PREOP

Category: EtherCAT

Forgot to mention, I get this output from

cnc@debian:~$ sudo dmesg | grep lcec
[16318.518328] lcec_conf[18018]: segfault at 2000000004 ip 00007ff18a193ffe sp 00007fff53f417b8 error 4 in libc.so.6[7ff18a053000+155000] likely on CPU 17 (\core 5, socket 0)



cnc@debian:~$ sudo dmesg | tail -n20
[16005.505127] EtherCAT WARNING 0: 3 datagrams UNMATCHED! [16010.521123] EtherCAT WARNING 0: 3 datagrams UNMATCHED! [16019.541129] EtherCAT WARNING 0: 3 datagrams UNMATCHED! [16029.589122] EtherCAT WARNING 0: 3 datagrams UNMATCHED! [16041.645130] EtherCAT WARNING 0: 3 datagrams UNMATCHED! [16066.753139] EtherCAT WARNING 0: 3 datagrams UNMATCHED! [16090.805133] EtherCAT WARNING 0: 6 datagrams UNMATCHED! [16105.865142] EtherCAT WARNING 0: 3 datagrams UNMATCHED! [16107.694312] EtherCAT 0: Master thread exited. [
16107.694318] EtherCAT 0: Starting EtherCAT-IDLE thread.
[16107.694349] EtherCAT ERROR 0-0: Failed to receive AL state datagram: Datagram initialized.
[16107.694351] EtherCAT 0: Releasing master...
[16107.694359] EtherCAT 0: Released.
[16108.065140] EtherCAT WARNING: Datagram 00000000e31e2a72 (master-fsm) was SKIPPED 1 time.
[16318.518325] show_signal_msg: 7 callbacks suppressed
[16318.518328] lcec_conf[18018]: segfault at 2000000004 ip 00007ff18a193ffe sp 00007fff53f417b8 error 4 in libc.so.6[7ff18a053000+155000] likely on CPU 17 (core 5, socket 0)
[16318.518333] Code: 1f 84 00 00 00 00 00 0f 1f 44 00 00 89 f8 09 f0 c1 e0 14 3d 00 00 00 f8 0f 87 2e 03 00 00 62 e1 fe 28 6f 0f 62 b2 75 20 26 d1 <62> f3 75 22 3f 0e 00 c5 fb 93 c9 ff c1 74 53 0f 1f 00 f3 0f bc c9
[16727.336124] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[16727.336155] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input configuration".
[16727.337102] EtherCAT 0-0: Acknowledged state PREOP.


Could this be an issue?
  • john.obrien
  • john.obrien
02 Nov 2025 19:09
A suggestion for the 7i76 documentation was created by john.obrien

A suggestion for the 7i76 documentation

Category: Driver Boards

I am looking to try to wire a Gecko G320x to the 7i76U. I found this diagram , which I am planning on using to complete the wiring.

Now, in the manual , there is a diagram of the board on page 3 and a list of the pins ordered by DB25 pin on page 4. The layout of the diagram and pins ordered by DB25 is not as helpful as the diagram I alluded to which another user created.

I have another BOB from CNC4PC, the C11G. In its  documentation  on page 18 you can the pins are labeled on the board diagram making it much easier to figure out which pins to use to wire a stepper/servo driver to the board.

@PCW, after some googling, I believe you are the owner of Mesa Electronics. Is that correct?

If so, I'd like to humbly suggest updating your documentation for the 7i76U to include something like the diagram I found on the forum to make it easier for people to figure out the pins for the 7i76U.
  • conman
  • conman
02 Nov 2025 19:03

Help with Inovance IS620N Servo Drive - Stays in PREOP

Category: EtherCAT

Hello, thank you for that, I added it but still the same result.

<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
<slave idx="0" type="generic" name="IS620N_ECAT_v2.6.8" vid="0x00100000" pid="0x000C0108" configPdos="true">
<dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
<syncManager idx="2" dir="out">
<pdo idx="1701">
<pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="cia-controlword" halType="u32"/>
<pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="OperationMode" halType="s32"/>
<pdoEntry idx="607A" subIdx="00" bitLen="32" halPin="TargetPosition" halType="s32"/>
<pdoEntry idx="60FF" subIdx="00" bitLen="32" halPin="TargetVelocity" halType="s32"/>
</pdo>
</syncManager>
<syncManager idx="3" dir="in">
<pdo idx="1b01">
<pdoEntry idx="6041" subIdx="00" bitLen="16" halPin="cia-statusword" halType="u32"/>
<pdoEntry idx="6064" subIdx="00" bitLen="32" halPin="ActualPosition" halType="s32"/>
<pdoEntry idx="6061" subIdx="00" bitLen="8" halPin="ActualOperationMode" halType="s32"/>
<pdoEntry idx="606C" subIdx="00" bitLen="32" halPin="ActualVelocity" halType="s32"/>
<pdoEntry idx="6077" subIdx="00" bitLen="32" halPin="ActualTorque" halType="s32"/>
</pdo>
</syncManager>
</slave>
</master>
</masters>
Displaying 2611 - 2625 out of 20729 results.
Time to create page: 0.238 seconds
Powered by Kunena Forum