Advanced Search

Search Results (Searched for: )

  • Will_cnc
  • Will_cnc
30 Oct 2025 11:01
Replied by Will_cnc on topic Stepper online A6 Servo motor as Spindle motor

Stepper online A6 Servo motor as Spindle motor

Category: General LinuxCNC Questions

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.6
Machine configuration directory is '/home/cnc/linuxcnc/configs/probe_basic_dev'
Machine configuration file is 'EL8_machine.ini'
INIFILE=/home/cnc/linuxcnc/configs/probe_basic_dev/EL8_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=el8_homecomp
TASK=milltask
HALUI=halui
DISPLAY=probe_basic
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=el8_homecomp EMCMOT=motmod
Found file(REL): ./hallib/EL8_machine.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
cia402pv: dlopen: /usr/lib/linuxcnc/modules/cia402pv.so: cannot open shared object file: No such file or directory
./hallib/EL8_machine.hal:9: waitpid failed /usr/bin/rtapi_app cia402pv
./hallib/EL8_machine.hal:9: /usr/bin/rtapi_app exited without becoming ready
./hallib/EL8_machine.hal:9: insmod for cia402pv failed, returned -1
2207
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
  • Will_cnc
  • Will_cnc
30 Oct 2025 11:00
Replied by Will_cnc on topic Stepper online A6 Servo motor as Spindle motor

Stepper online A6 Servo motor as Spindle motor

Category: General LinuxCNC Questions

sudo halcompile --install cia402pv.comp

cnc@raspberrypi:~$ sudo halcompile --install cia402pv.comp
Traceback (most recent call last):
File "/usr/bin/halcompile", line 1553, in <module>
main()
File "/usr/bin/halcompile", line 1523, in main
process(f, mode, outfile)
File "/usr/bin/halcompile", line 1363, in process
a, b = parse(filename)
^^^^^^^^^^^^^^^
File "/usr/bin/halcompile", line 434, in parse
f = open(filename).read()
^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'cia402pv.comp'
  • my1987toyota
  • my1987toyota's Avatar
30 Oct 2025 10:59 - 31 Oct 2025 00:19
Replied by my1987toyota on topic ARE YOU KIDDING ME YOUTUBE !!!

ARE YOU KIDDING ME YOUTUBE !!!

Category: Off Topic and Test Posts

  Well looks like YouTube has finally done it . They are now making you sign in to watch ANYTHING . At least in the USA,
I don't know about everywhere else.  That said I will be shutting down my channel so all my video's I have links too on
this site and elsewhere will soon be dead.
There excuse is preventing Bots from clicking on video's  Funny they don't seem to have a problem with all the A.I. 
slop that has proliferated the site.

addendum
After some looking into it seems the culprit was not with YouTube it self but something else ISP, ect,ect. exact
issue still unknown. so I will leave my channel in place for now. 

 
  • Hakan
  • Hakan
30 Oct 2025 10:45

Stepper online A6 Servo motor as Spindle motor

Category: General LinuxCNC Questions

Very difficult to say, you give me no clues.
You have to show the error messages from linuxcnc startup, that is the biggest help.
I kind of think you have not installed the component?
"sudo halcompile --install cia402pv.comp"
should put the component in the right place.
Anyway, I have to see the errors you get. A general description is not enough.
  • Will_cnc
  • Will_cnc
30 Oct 2025 10:40
  • Will_cnc
  • Will_cnc
30 Oct 2025 10:38 - 30 Oct 2025 10:41
Replied by Will_cnc on topic Stepper online A6 Servo motor as Spindle motor

Stepper online A6 Servo motor as Spindle motor

Category: General LinuxCNC Questions

Hi Hakan thanks for your help  to configure the drive. 
Unfortunately I am having no luck in getting it to work. 
I have attached my files below do you mind having a look to see if there is anything obvious I am missing?  
I am very new to linux so am struggling to work out when using the loadrt command in the .hal file  where the other  file is loading from? 

Thanks Will 


 
  • ihavenofish
  • ihavenofish
30 Oct 2025 10:16
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

just for kicks, chat gpt has sent me down several roads that i know are wrong.

1st it tried to use motion component, but it has no spindle pins defined.(i expect these need to be set up in the main ini or hal but it couldnt tell me

so this in said i could use the spindle components... and then realised its read only.

then it took to just fabricating pins and functions that dont exist.

sigh. and this is what we have trying to run out law enforcement cameras? mmmmm good times.
  • Hakan
  • Hakan
30 Oct 2025 10:09

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Wouldn't surprise me if /etc/ethercat.conf got overwritten. Anyway, check syslog.

I guess onceloved has a solution and you don't need to disable eoe in the master after that.

On a more general note it seems EoE and linuxcnc will not work together.
EoE as such may work, if that helps with configuration of a drive for example.
Reference is this post. forum.linuxcnc.org/ethercat/53961-eoe-configuration#311275
  • hanz24
  • hanz24
30 Oct 2025 09:47

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Thank you for your help in advance, I have tried to reinstall ethercat master and trying to disable eoe, but its getting worse with the ethercat service can't start. I hope I can continue to update when it works with onceloved's help
  • ihavenofish
  • ihavenofish
30 Oct 2025 09:19
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

ooh, thanks

ill look at this when i wake up. im burned out from trying to make chatgpt give me something useful haha
  • tommylight
  • tommylight's Avatar
30 Oct 2025 09:17

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Nothings makes me more curious than someone being secretive haha.
 

Probably invented hot water, again!
:)
  • minimac
  • minimac
30 Oct 2025 09:12

Hilfe bei Pinbelegung ERL PCSE200 an Mesa 7i96S (Step/Dir

Category: Deutsch

Hallo miteinander,ich konnte keine vernünftigen Datenblätter für diesen Antrieb irgendwo finden.Schade denn ich hätte diesen Antrieb gut gebrauchen können. Jetzt habe ich Plan B umgesetzt.Wenigstens konnte ich das Getriebe retten, ich habe ein Adapter gebaut und wie ihr seht ein JMC Servo verbaut.Im Anhang findet ihr ein Bild.Vielen Dank an alle die das gelesen haben.Viele Grüße.
  • Hakan
  • Hakan
30 Oct 2025 09:03 - 30 Oct 2025 09:28

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Nothings makes me more curious than someone being secretive haha.

This is what Ethercat master documentation says
 

Two places to modify

Read out the sii info with "ethercat -p 0 sii_read"

1. Supported mailbox protocols.
Like it says in the figure, word 0x1C byte 0x38, bit 0x02 specifies EoE support.
Clear that bit for no support.
To orient yourself, you should find bit 3, 0x04, set for CoE support.

2. Enabled EoE mailboxes.

To find the byte that specifies drive EoE mailbox enabled:

In the read sii file, use some kind of hex editor.
Skip 0x80 bytes forward over the hardware config info
Byte 0x80-0x81 is 0x1a00 meaning strings section
Byte 0x82-0x83 is a word specifying the length of the string section.
  Example : 0xd100 = 209(dec) words.
  Add 1 to make it even: 210 words.
  Multiply by 2 to make number of bytes: 420.
  Add two for the size of the 0x1a00 identifier word: 422
  Sum up 128 + 422 = 550. Hex 0x226
At bytes 0x226-0x227 one finds 0x1e00 meaning general information section
0x228-0x229 is a word specifying the length of the general section
EoE mailbox specifier is now byte 9 in this section: 0x231 
To orient yourself, byte 8 (0x230) is FoE mailbox specifier, CoE details are in byte 7, (0x22f)

To disable EoE, first verify that the specified byte is 1. Then, write a zero in that position.


Upload the modified sii file to the drive again with "ethercat -p n sii_write mod_eeprom"

Personally, I wouldn't do this. I would use a Ethercat master with EoE disabled.

The above is only theoretical and may be wrong. Don't use it.


 
  • unknown
  • unknown
30 Oct 2025 08:53

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

Category: Computers and Hardware

I haven't had a chance to really give it a good go lately, other things have got in the way.
But I've found your project to be solid and though it doesn't really relate to your project, but when I came across it I was in a bit of a dark place and it gave me the will and drive to get active again.
  • Hakan
  • Hakan
30 Oct 2025 08:29

New ethercat / probe basic control for minimonster

Category: CNC Machines

Here are the general signals that was generated for me by pncconf some years ago.
net spindle-vel-cmd-rps        <=  spindle.0.speed-out-rps
net spindle-vel-cmd-rps-abs    <=  spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm        <=  spindle.0.speed-out
net spindle-vel-cmd-rpm-abs    <=  spindle.0.speed-out-abs
net spindle-enable             <=  spindle.0.on
net spindle-cw                 <=  spindle.0.forward
net spindle-ccw                <=  spindle.0.reverse
net spindle-brake              <=  spindle.0.brake
net spindle-revs               =>  spindle.0.revs
 net spindle-at-speed           =>  spindle.0.at-speed
setp spindle.0.at-speed 1
net spindle-vel-fb-rps         =>  spindle.0.speed-in
net spindle-index-enable      <=>  spindle.0.index-enable
net spindle-revs              <=   hm2_7i76e.0.encoder.04.position
net spindle-vel-fb-rps        <=   hm2_7i76e.0.encoder.04.velocity
net spindle-index-enable      <=>  hm2_7i76e.0.encoder.04.index-enable
net spindle-manual-cw     halui.spindle.0.forward
net spindle-manual-ccw    halui.spindle.0.reverse
net spindle-manual-stop   halui.spindle.0.stop
You would need at least the enable and one of the vel-cmds.
Maybe forward/reverse and so on.
They all connect to the spindle pins (created by the motmod component).
Speed feedback is optional but nice to have, at-speed if your spindle can do that.
 
Displaying 8986 - 9000 out of 14969 results.
Time to create page: 1.317 seconds
Powered by Kunena Forum