Advanced Search

Search Results (Searched for: )

  • tar_san
  • tar_san
27 Sep 2025 00:38

How to disable following error while homing ?

Category: EtherCAT

How to disable following error while homing ?

Background:
When we use "internal homing function" with EtherCAT servo driver, 
command position from LCNC and feedback position difference become large.
We can avoid this by setting f_error with large number, but I don't think it is good idea.

Are there any settings or something to do this ?
 
  • MarkoPolo
  • MarkoPolo
26 Sep 2025 23:10
Replied by MarkoPolo on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

Hi Cmorley

I made some adjustments to the brushed_metal_color file. Mainly to improve gcode readability (the white font was difficult to see).

If there's a space between the axis letter and the value in the gcode, the letter and value colors aren't applied. Is it possible to fix this?

Another idea and suggestion. I'd like the macro button (the last, first, or maybe all buttons) to have a drop-down menu so I can easily add more macros within easy reach. Something similar to the screenshot.
  • kworm
  • kworm
26 Sep 2025 21:12
Replied by kworm on topic Beckhoff AX5YZZ internal probing

Beckhoff AX5YZZ internal probing

Category: EtherCAT

Hi Endian, I don't have anything for LCNC but I think I have some probing routines in a TwinCAT project and I can see if there is anything helpful in there.

I also posted an issue to your codeberg page for your converter for the EL3074.
  • kb58
  • kb58
26 Sep 2025 20:44 - 26 Sep 2025 23:27

(Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60

Category: Driver Boards

I went back and carefully made the mods again, in case I missed something, but it still reports errors. Through a great deal of trial and error, I found that some of the configurations marked for removal must remain in the XML file for the program to run without error. Deleting any of the 0x60xx vars below cause many errors. Regardless, even with all the other mods in place, it's still stuck at "PrOp."

      <slave idx="0" type="generic" vid="00000a88" pid="0A880002" configPdos="true">
         <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0" />
         <sdoConfig idx="60FE" subIdx="2"> <!-- -->
            <sdoDataRaw data="00 00 03 00" /> <!-- set the bit mask for out1 and out2 (bit 16 and 17 should be 1) -->
         </sdoConfig>
         <!-- Note: 0x2007 address default value is 0x00000006, not what the manual claims -->     
         <syncManager idx="2" dir="out">
            <pdo idx="1600">
               <pdoEntry idx="60FE" subIdx="1" bitLen="32" halPin="set60FE-1" halType="u32" />
               <pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="cia-controlword" halType="u32" />
               <pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="opmode" halType="s32" />
               <pdoEntry idx="607A" subIdx="00" bitLen="32" halPin="target-position" halType="s32" />
           </pdo>
         </syncManager>
         <syncManager idx="3" dir="in">
            <pdo idx="1a00">
               <pdoEntry idx="6041" subIdx="00" bitLen="16" halPin="cia-statusword" halType="u32" />
               <pdoEntry idx="6061" subIdx="00" bitLen="8" halPin="opmode-display" halType="s32" />
               <pdoEntry idx="6064" subIdx="00" bitLen="32" halPin="actual-position" halType="s32" />
               <pdoEntry idx="60FD" subIdx="00" bitLen="32" halPin="digital-inputs" halType="u32" />
            </pdo>
         </syncManager>
      </slave>
 
  • nikopoli@live.it
  • nikopoli@live.it
26 Sep 2025 20:07 - 26 Sep 2025 20:10
Repair servodrive yaskawa CACR was created by nikopoli@live.it

Repair servodrive yaskawa CACR

Category: Off Topic and Test Posts

Hi everyone,
I’m working on a Yaskawa CACR-SR (BE1 series) servo drive. In general it works, but from time to time I randomly get A20 or A60 errors.

I have two identical drives, and I’ve already narrowed the issue down to the specific board shown in the photo. I was planning to replace all the electrolytic capacitors and also the film ones (I’ll probably do that anyway, given their age), but I also noticed component D20, which looks burned/blackened and has no readable marking.

I’m not an electronics engineer, but I’m quite good at soldering and I have a multimeter, so I can take measurements if needed. I’d really like to repair this drive because I have a milling machine that I only use as a hobby, and I simply can’t afford a new servo drive since I’m still young.

Could someone please help me identify exactly what D20 is (diode type and value), or point me to other likely components that could be causing these errors?

I wrote on this forum because I saw that in another topic an engineer had the same problem as me, but since it is an old topic I thought it was better to open a new one

Thanks a lot in advance for any help!
       
  • peterpan
  • peterpan
26 Sep 2025 18:53
Replied by peterpan on topic Trouble with Cia402 drive configuration

Trouble with Cia402 drive configuration

Category: EtherCAT

I am having trouble interpreting this thread, but it seems to have similar debug info to my problem:
forum.linuxcnc.org/ethercat/51505-new-hardware-trouble?start=0
Could my problem be EoE related?
  • kb58
  • kb58
26 Sep 2025 17:31 - 26 Sep 2025 17:42

(Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60

Category: Driver Boards

I followed your suggestions and am running into the following errors:

Machine configuration directory is '/home/kurt/linuxcnc/configs/BaxEDM-2axis-WireEDM'
Machine configuration file is '2axis-WireEDM.ini'
INIFILE=/home/kurt/linuxcnc/configs/BaxEDM-2axis-WireEDM/2axis-WireEDM.ini
VERSION=1.1
check_config: Unchecked: [KINS]KINEMATICS=baxkins
PARAMETER_FILE=baxedm_mm.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=baxkins
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
emc/iotask/ioControl.cc 786: can't load tool table.
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./2axis-WireEDM.hal
Shutting down and cleaning up LinuxCNC...
*** baxkins.comp setup ok
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./2axis-WireEDM.hal:51: Pin 'lcec.0.0.actual-velocity' does not exist
5318
Stopping realtime threads
Unloading hal components
Traceback (most recent call last):
  File "/home/kurt/linuxcnc/configs/BaxEDM-2axis-WireEDM/baxuipushbuttons.py", line 168, in <module>
Traceback (most recent call last):
  File "/home/kurt/linuxcnc/configs/BaxEDM-2axis-WireEDM/baxmisc.py", line 462, in <module>
    while True:
KeyboardInterrupt
    time.sleep(0.01)
KeyboardInterrupt
baxkinsdata: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
Note: Using POSIX realtime
  • peterpan
  • peterpan
26 Sep 2025 16:47
Replied by peterpan on topic Trouble with Cia402 drive configuration

Trouble with Cia402 drive configuration

Category: EtherCAT

This is the entirety of the linuxcnc command info
LINUXCNC - 2.9.4
Machine configuration directory is '/home/cnc/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./ethercat.hal
note: MAXV     max: 5.000 units/sec 300.000 units/min
note: LJOG     max: 5.000 units/sec 300.000 units/min
note: LJOG default: 0.250 units/sec 15.000 units/min
note: jog_order='X'
note: jog_invert=set()

When I type "lcec_config" into the command line I get command not found.

Changing dcConf didn't seem to change anything...

Is there a guide on the linuxcnc forums to setting up Twincat with LinuxCNC? I can't find out, but I could try to figure it out without one.
  • Lcvette
  • Lcvette's Avatar
26 Sep 2025 16:08
Replied by Lcvette on topic QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

Category: QtPyVCP

how is your project coming along?
  • Lcvette
  • Lcvette's Avatar
26 Sep 2025 16:07
Replied by Lcvette on topic Carousel don t stop when estop is pushed

Carousel don t stop when estop is pushed

Category: QtPyVCP

were you able to get this resolved?
  • Lcvette
  • Lcvette's Avatar
26 Sep 2025 16:07
Replied by Lcvette on topic Probe Basic ATC Setup Problems

Probe Basic ATC Setup Problems

Category: QtPyVCP

happy to help and glad you got it sorted out!
  • SvenRSA
  • SvenRSA
26 Sep 2025 16:03
Replied by SvenRSA on topic proudly presenting a Maho MH700 retrofit ..

proudly presenting a Maho MH700 retrofit ..

Category: CNC Machines

Hi there, So i have done the same conversion on my 700c, I replaced all the scales except the B axis seeing that it's a Heidenheime scale. Any change you perhaps still have the HAL file. the Software side has stumped me and I am not sure how to start or setup the scales etc.
Delos W series scales used
5i25T
7i77 for the scale inputs and the 3trm2 and B axis
7i84 for the 24V relays and inputs
  • andypugh
  • andypugh's Avatar
26 Sep 2025 15:17
Replied by andypugh on topic LinuxCNC RT blindspots (I2C and UART/Serial)

LinuxCNC RT blindspots (I2C and UART/Serial)

Category: Driver Boards

This isn't an answer to your question, but have you tried hal_gpio on the Odroid?

I was actually wondering the same thing about the serial port las month:

sourceforge.net/p/emc/mailman/emc-develo...arg.org/#msg59226340

Maybe a realtime modbus driver through the onboard serial port could work, for example.

If you can drive the serial port by sending bytes with outb() / inb() it might work, though you would end up having to re-invent the drivers as non-blocking code.
  • kb58
  • kb58
26 Sep 2025 15:03

(Solved) Initialization code for a rintelligent ECT60 fails when run on an ECR60

Category: Driver Boards

Thank you very much! Though I don't know Linux or XML, I'm familiar with other languages so feel assured that I can get myself in way over my head! First thing I'll do is save off a backup, then give your suggestion a go.
Thanks again.
  • PCW
  • PCW's Avatar
26 Sep 2025 14:58

Going from Devian 10 to 12 has created problems

Category: General LinuxCNC Questions

The issue with sudo and the command line is that the redirect (>) is done by the shell
and the shell is just running with your normal user permissions.

sudo -c bash 'echo 2 > /proc/irq/29/smp-affinity'

should work (as will a simplified 1 line script)
Displaying 10711 - 10725 out of 15058 results.
Time to create page: 1.852 seconds
Powered by Kunena Forum