Advanced Search

Search Results (Searched for: )

  • sk_linuxcnc
  • sk_linuxcnc
22 Nov 2024 08:48

Help: configure a Servo motor with (PUL/DIR) as a Spindle by Par-port stepconfig

Category: StepConf Wizard

**the values in the Z axis config are just a replica of the parameters i used for A axis in a different config. (in reality i dont have a Z axis.)

the attached post is where i describe my machine, and the use case of Spindle, instead of A axis. but i would be really happy if you could give your 2 cents on this matter too! :)

forum.linuxcnc.org/20-g-code/54516-help-...usly?start=10#314987
 
  • timo
  • timo
22 Nov 2024 06:19

Help: How to run X and A axis with different feed rates simultaneously?

Category: G&M Codes

One stupid idea:

Just program the rotary axis as y-movement. :-) Then program it as a diagonal move based on the diameter. Basically reverse what the CAM software does when you "wrap a path around a cylinder".

Curious if that would do the trick. (it should)
  • Aciera
  • Aciera's Avatar
22 Nov 2024 03:56
Replied by Aciera on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

Might be interesting to output the tool length offset of the current tool and check if it is the same as #<calculated_offset>. (Note the queue buster 'M66 E L0' that makes sure the DEBUG line is not executed prematurely by the read ahead)
G10 L1 P#<tool> Z[#<calculated_offset>]
G43
M66 E0 L0
(DEBUG, Current Tool Z Offset: #5403)
  • NTULINUX
  • NTULINUX's Avatar
22 Nov 2024 03:08
  • swanie2000
  • swanie2000
22 Nov 2024 01:38

Are there no increase/decrease spindle speed buttons in Gmoccapy?

Category: Gmoccapy

OK, I added these commands to my ini file.

MIN_SPINDLE_0_SPEED = 200
MAX_SPINDLE_0_SPEED = 2500
MAX_SPINDLE_0_OVERRIDE = 1
MIN_SPINDLE_0_OVERRIDE = 0.5

Please see attached error log Swanie-CNC-error2.txt.
I also attached my current ini file.

Swanie
 
  • swanie2000
  • swanie2000
22 Nov 2024 01:19

Are there no increase/decrease spindle speed buttons in Gmoccapy?

Category: Gmoccapy

Open a terminal (Ctrl Alt t) and enter this command
linuxcncthen choose your config and check for errors in the terminal output. 
 


Hi, thanks for you help. I am new to all this, and the  terminology is driving me crazy.

There were some errors.I attached the entire error log to this post, but below seems to be the big problem areas.

--------------------------------------------------------------------

I will look into how to add these commands to my ini file.


[DEFAULT.QTVCP.QT_ISTAT][WARNING]  INI Parsing Error, No DEFAULT_SPINDLE_0_SPEED Entry in DISPLAY, Using: 200 (qt_istat.py:515)
[DEFAULT.QTVCP.QT_ISTAT][WARNING]  INI Parsing Error, No MIN_SPINDLE_0_SPEED Entry in DISPLAY, Using: 100 (qt_istat.py:515)
[DEFAULT.QTVCP.QT_ISTAT][WARNING]  INI Parsing Error, No MAX_SPINDLE_0_SPEED Entry in DISPLAY, Using: 2500 (qt_istat.py:515)
[DEFAULT.QTVCP.QT_ISTAT][WARNING]  INI Parsing Error, No MAX_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 1 (qt_istat.py:515)
[DEFAULT.QTVCP.QT_ISTAT][WARNING]  INI Parsing Error, No MIN_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 0.5 (qt_istat.py:515)
not enough values to unpack (expected 2, got 1)
-----------------------------------------------------------------------

This also looks like a problem, but I do not know where to go with this one.

spindle_button.hal:17: Pin 'halui.spindle.increase' does not exist'halcmd -f spindle_button.hal' exited with 1
  • PCW
  • PCW's Avatar
22 Nov 2024 01:18 - 22 Nov 2024 01:47
Replied by PCW on topic PC for Mesa 5i25T

PC for Mesa 5i25T

Category: Driver Boards

I've narrowed this down to SERR on some machines
If you disable PCI #SERR generation in the BIOS setup
its solves the issue with the Elite 8200 at least.

I will look further into this next week.
 
  • stirra
  • stirra
22 Nov 2024 01:13
Replied by stirra on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

That fixed it! Thank you very much.

-- Ralph
  • COFHAL
  • COFHAL
22 Nov 2024 00:58 - 22 Nov 2024 01:01
Replied by COFHAL on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

 

File Attachment:

File Name: LC10EV1.04.xml
File Size:735 KB
With version 1.04 it works, I installed 1.11 and it didn't work.
  • stirra
  • stirra
22 Nov 2024 00:28
Replied by stirra on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

"LC10E V1.11.xml" is what I just got from Lichuan and wrote to the drive EEPROM.

Is there an older one I should try?

-- Ralph
  • royka
  • royka
21 Nov 2024 23:44 - 21 Nov 2024 23:47
Replied by royka on topic Remora - NVEM / EC300 / EC500

Remora - NVEM / EC300 / EC500

Category: Computers and Hardware

You'll need to upload a config to the nvem first with upload_config.py
github.com/scottalford75/Remora-NVEM/blo...sic/upload_config.py

This is a config with everything activated, but it's better to remove what you don't need:
github.com/scottalford75/Remora-NVEM/blo...nvem-full-config.txt

The uart port (rs232) port you can see in this post:
forum.linuxcnc.org/18-computer/44828-rem...board?start=0#231853

When you power up the board it'll show you it's current config, but if everything works after uploading the config it's not really necessary.
  • COFHAL
  • COFHAL
21 Nov 2024 23:35
Replied by COFHAL on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

What version of firmware do the drivers have installed?
  • Sternfox
  • Sternfox
21 Nov 2024 23:27
Cant change from develop to stable was created by Sternfox

Cant change from develop to stable

Category: QtPyVCP

Hi I have installed Probebasic, each time i open it, i get the message about being in develop mode, when i go to change the repos to the stable mode, it is already down as stable mode!

I have tried to update Probe basic and get the following error.

Building module:
Cleaning build area...
'make' all KVER=6.1.0-27-rt-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-27-rt-amd64 (x86_64)
Consult /var/lib/dkms/rtl8814au/4.3.21/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-27-rt-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-head
ers-6.1.0-27-rt-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-27-rt-amd64 (--configure):
 installed linux-headers-6.1.0-27-rt-amd64 package post-installation script subp
rocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-rt-amd64:
 linux-headers-rt-amd64 depends on linux-headers-6.1.0-27-rt-amd64 (= 6.1.115-1)
; however:
  Package linux-headers-6.1.0-27-rt-amd64 is not configured yet.

dpkg: error processing package linux-headers-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-6.1.0-27-rt-amd64
 linux-headers-rt-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

many thanks
  • Masiwood123
  • Masiwood123's Avatar
21 Nov 2024 22:54
Replied by Masiwood123 on topic Remora - NVEM / EC300 / EC500

Remora - NVEM / EC300 / EC500

Category: Computers and Hardware

``The firmware cannot see if there's a motor connected, so that's not the cause``

yes i agree such an error would be thrown out in case it has encoder feedback, so it's strange to me too.. it can be seen that the card works, communicates and the eth port lights up, also when I look at it, the halshow turns off the light when I disconnect the power supply.. in basic config, i didn't change anything except that I have inserted one input which is not responding in halshow. I will see in more detail when I adjust the configuration to my needs...I'm really glad, also in halshow I see that there are all 6 axes, the file I used for the firmware Remora-NVEM-STM32-1.0.0.bin, later I just halcompile with remora-eth.c and nothing else.

``To see if the config is uploaded correctly you'll see that on the uart output.`` did you mean uart on mpg port ? how to check it? thank you
  • stirra
  • stirra
21 Nov 2024 22:44
Replied by stirra on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

I just bought a set of Lichuan drives and motors (400w and 750w with brake), and am trying to bring one up.  I started with a fresh 2.9.3 debian 12 install, and have carefully gone through this entire thread.  As far as I can see, the last, most successful configuration was this one by Robbb:

forum.linuxcnc.org/ethercat/52341-proble...rive?start=60#304887

When I use this, I cannot get beyond PREOP state (blinking 2 0ry).  The dmesg output is:
[  +9.303879] EtherCAT: Requesting master 0...
[  +0.000004] EtherCAT: Successfully requested master 0.
[  +0.000248] EtherCAT 0: Domain0: Logical address 0x00000000, 24 byte, expected
 working counter 3.
[  +0.000003] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000,
24 byte, type LRW.
[  +0.000014] EtherCAT 0: Master thread exited.
[  +0.000001] EtherCAT 0: Starting EtherCAT-OP thread.
[  +0.000048] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[Nov21 11:52] e1000e 0000:00:1f.6 eno1: NIC Link is Up 100 Mbps Full Duplex, Flo
w Control: None
[  +0.000804] EtherCAT 0: Link state of ecm0 changed to UP.
[  +0.042737] EtherCAT 0: 1 slave(s) responding on main device.
[  +0.000005] EtherCAT 0: Slave states on main device: PREOP.
[  +0.002248] EtherCAT 0: Scanning bus.
[  +0.509737] EtherCAT WARNING 0: 2 datagrams TIMED OUT!
[  +0.840264] EtherCAT ERROR 0-0: Reception of CoE upload request for SDO 0x1c12
:0 failed with timeout after 1000 ms: No response.
[  +0.000007] EtherCAT ERROR 0-0: Failed to read number of assigned PDOs for SM2
.
[  +0.999993] EtherCAT ERROR 0-0: Reception of CoE upload request for SDO 0x1c13
:0 failed with timeout after 1000 ms: No response.
[  +0.000006] EtherCAT ERROR 0-0: Failed to read number of assigned PDOs for SM3
.
[  +0.000398] EtherCAT 0: Bus scanning completed in 2352 ms.
[  +0.000003] EtherCAT 0: Using slave 0 as DC reference clock.
[  +0.000003] EtherCAT 0: Starting EoE thread.
[  +0.039613] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused stat
e change (PREOP + ERROR).
[  +0.001998] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input confi
guration".
[  +0.004007] EtherCAT 0-0: Acknowledged state PREOP.
[  +0.033984] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused stat
e change (PREOP + ERROR).
[  +0.000997] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input confi
guration".
[  +0.002000] EtherCAT 0-0: Acknowledged state PREOP.

From the Lichuan LC-E manual, it looks like 0x1c12 sets the RxPDO allocation and 0x1c13 sets the TxPDO allocation.  I have programmed the drive EEPROM using the xml file and eeprom programming software provided to me by Lichuan.  It seems off that it is complaining about this, since I seem to be able to see the PDO registers with 'ethercat pdos':
SM0: PhysAddr 0x1000, DefaultSize  256, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1400, DefaultSize  256, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1800, DefaultSize   12, ControlRegister 0x64, Enable 1
  RxPDO 0x1600 "1st receive PDO Mapping"
    PDO entry 0x6040:00, 16 bit, "Control Word"
    PDO entry 0x607a:00, 32 bit, "TargetPosition"
    PDO entry 0x60b8:00, 16 bit, "Touch probe function"
    PDO entry 0x6060:00,  8 bit, "Modes of Operation"
    PDO entry 0x60ff:00, 32 bit, "Target velocity"
SM3: PhysAddr 0x1c00, DefaultSize   28, ControlRegister 0x20, Enable 1
  TxPDO 0x1a00 "1st transmit PDO Mapping"
    PDO entry 0x603f:00, 16 bit, "Error code"
    PDO entry 0x6041:00, 16 bit, "Statusword"
    PDO entry 0x6064:00, 32 bit, "Position actual value"
    PDO entry 0x606c:00, 32 bit, "Velocity Actual Value"
    PDO entry 0x60b9:00, 16 bit, "Touch probe status"
    PDO entry 0x60ba:00, 32 bit, "Touch probe pos1 pos value"
    PDO entry 0x60fd:00, 32 bit, "Digital inputs"
    PDO entry 0x6061:00,  8 bit, "Modes of Operation Display"

Can somebody help me over this hump?  I feel like I'm close to success.

Thanks!
-- Ralph
Displaying 16756 - 16770 out of 24521 results.
Time to create page: 0.550 seconds
Powered by Kunena Forum