Advanced Search

Search Results (Searched for: )

  • dabiaoge6699
  • dabiaoge6699
27 Aug 2024 17:45
Replied by dabiaoge6699 on topic Servo HCFA Y7

Servo HCFA Y7

Category: EtherCAT

抱歉,我想发给你pid和vid图片的,但是他超出了1.6mb的文件限制,如果你需要的话可以留下邮箱,我使用邮箱发送给你
  • dabiaoge6699
  • dabiaoge6699
27 Aug 2024 17:44
Replied by dabiaoge6699 on topic Servo HCFA Y7

Servo HCFA Y7

Category: EtherCAT

抱歉,我英语不会,只能中文和你交流,你需要先设置伺服驱动器的控制模式,手册里有设置的方法,我用的也是禾川的伺服,不知道你的是不是和我一样的设置方法,控制模式设置到7,ethercat控制模式. 然后使用ethercat slaves命令查询伺服是否连接到,然后使用sudo ethercat csteuct命令来查询PID和VID,就是图片里的Vendor ID和Produce codm,然后记录好这两个ID,在打开XML文件,把XML文件里的VID和PID替换成你的,我发给你几个文件,你可以看一下,可能对你有所帮助

File Attachment:

File Name: axis_mm.ini
File Size:5 KB

File Attachment:

File Name: ethercat-c...8-27.xml
File Size:5 KB

File Attachment:

File Name: lathe2-nopid.hal
File Size:4 KB
  • spumco
  • spumco
27 Aug 2024 17:32
Replied by spumco on topic Is there an easy way to swap axes?

Is there an easy way to swap axes?

Category: General LinuxCNC Questions

Thanks guys. I was following Andys instructions, and didn't rename all the signals names, as I figured the more I changed the more I would screw up, but it didn't help and I still ended up tied in knots. :)

Is switchkins useable with LinuxCNC 2.7? I have never updated the Maho to a Joints based version, as I am afraid of breaking a working system. I have that gearbox comp working and am loath risking bricking the machine.
Cheers,
Mark

Based on the manuals, it looks like switchkins started with 2.9.

Try renumbering the Y/Z axes in HAL like I suggested.

If that doesn't work, @timo's excellent idea is a brick-proof way to keep your vertical config safe while you fiddle with upgrading to 2.9.
  • nartburg
  • nartburg
27 Aug 2024 17:26
Replied by nartburg on topic Compiling extra Kinematics

Compiling extra Kinematics

Category: Installing LinuxCNC

@ ACIERA -- nice Hackadvice ;-))

Take an existing ...kins.c modify it and use the modified file.

I was not only trying to bend the machine to my will but also tried to de-cypher the linuxcnc make system ;-))
  • Moutomation
  • Moutomation
27 Aug 2024 17:19 - 27 Aug 2024 17:22
Replied by Moutomation on topic İnstall glade

İnstall glade

Category: Gmoccapy

Thank you very much for your answer. I will try, but all day today I tried to change a value in the gladevcp panel from the g code content. I researched a lot, tried a lot, but I was not successful.
example
test.ngc:
#<_hal[testpanel.hal_label]> = 1.0 it's doesn't work
#<testpanel.hal_label> = 1.0 it's doesn't work
#<_hal[testpanel.hal_label]> = #100 it's doesn't work
#100 = #<_hal[testpanel.hal_spinburon-fl]> I think its work

There is no problem reading the variable, but I could not manage to change the value of the variable.
  • Aciera
  • Aciera's Avatar
27 Aug 2024 17:02 - 27 Aug 2024 17:06
Replied by Aciera on topic durchmesser stimmt nicht

durchmesser stimmt nicht

Category: Other User Interfaces

ich habe in der letzten Anwort ein screen von probe-tab eingefügt,
schau mal da drauf, da ist Halui = halui zu sehen.


EBEN, Du sollst nicht 'Halui = halui' reinschreiben sondern 'HALUI = halui'
Also beim ersten ALLES GROSSBUCHSTABEN und beim zweiten alles kleinbuchstaben!
  • sin-do-re
  • sin-do-re
27 Aug 2024 16:56

Error finishing read! Iter and joint following error in Stepper machine

Category: General LinuxCNC Questions

i actually solved the issue by triggering 2 successive relays to trigger the arc instead of just one. while the first is running field voltage, the other is running 230vac.

the whole system is better after reducing pingtimes.

the table+generator+copper bar is on one ground while the cnc is on another, but this didn't help with the error. the relays did.
  • timo
  • timo
27 Aug 2024 16:50 - 27 Aug 2024 17:03

What's the Oddest Machine You Have Powered with LinuxCNC

Category: Off Topic and Test Posts

I would love to see a video of the 8 spindles moving about.

If that counts, to me the "odd machine" is my small gear hobber. After buying a 2nd hand hob and trying to use it I fell into the rabbit hole.
There should be some effort to make it more userfriendly. I still have to change some parameters in the .hal to get it to work, based on the gear at hand. 

Andy Pugh provided the necessary help to get it up and running.
 


 
  • gardenweazel
  • gardenweazel's Avatar
27 Aug 2024 16:48
Replied by gardenweazel on topic QTDragon spindle raise issues

QTDragon spindle raise issues

Category: Qtvcp

andy@file03:~/linuxcnc/configs/my_LinuxCNC_machine_QTDragon$ cat pause_pin.py
print('\nUser command file for pause pin found\n')

# import the handlerfile to get reference to it's libraries.
# use <screenname>_handler
import qtdragon_hd_handler as SELF

# needed to instance patch
# reference: ruivieira.dev/python-monkey-patching-for-readability.html
import types

############################################
# add new functions for new HAL pins to call
############################################

# external pin will call this
def external_pause_changed(data):
    # only if runnung a program
    if not SELF.STATUS.is_auto_running():
        return
    # only on true state of pin
    # mean can only pause with the external pin
    # toggle might be nicer...
    if data:
        # set pause button
        self.w.action_pause.setChecked(data)
        self.w.action_pause.clicked.emit(data)

        # set spindle pause button
        self.w.btn_spindle_pause.setChecked(data)
        self.w.btn_spindle_pause.clicked.emit(data)

# unpause machine if external offsets state is false
def external_offset_state_changed(data):
    # only if running a program
    if not SELF.STATUS.is_auto_running():
        return
    # only if machine in on
    if not SELF.STATUS.machine_is_on():
        return
    # only if pin is false
    if not data:
        print('automatic unpause')
        # set pause button
        self.w.action_pause.setChecked(data)
        self.w.action_pause.clicked.emit(data)

###############################################
# add hook to make HAL pins at the right time
###############################################

# add a HAL pin with a call back
def after_override__(self):
    try:
        pin = SELF.QHAL.newpin("external-pause", SELF.QHAL.HAL_BIT, SELF.QHAL.HAL_IN)
        pin.value_changed.connect(external_pause_changed)

        pin = SELF.QHAL.newpin("external-eoffset-state", SELF.QHAL.HAL_BIT, SELF.QHAL.HAL_IN)
        pin.value_changed.connect(external_offset_state_changed)
    except Exception as e:
        print(e)

# Here we are instance patching the original handler file to add a new
# function that calls our new function (of the same name)
# defined in this file
self.after_override__ = types.MethodType(after_override__, self)

#########################################
# override disable_spindle_pause method
#########################################
def disable_spindle_pause(self):
    if self.w.action_pause.isChecked():
        # set spindle pause button
        self.w.btn_spindle_pause.setChecked(True)
        self.w.btn_spindle_pause.clicked.emit(True)

# instance patch voodoo
self.disable_spindle_pause = types.MethodType(disable_spindle_pause, self)

#####################################
# override pause key binding method
#####################################
def on_keycall_pause(self,event,state,shift,cntrl):
    if state and SELF.STATUS.is_auto_mode() and self.use_keyboard():
        if not SELF.STATUS.stat.paused:
            external_pause_changed(state)
        else:
            self.w.btn_spindle_pause.setChecked(False)
            self.w.btn_spindle_pause.clicked.emit(False)

# instance patch voodoo
self.on_keycall_pause = types.MethodType(on_keycall_pause, self)

##############################################
# modify stop button to call an MDI command
##############################################
self.w.action_abort.setProperty('abort_action',False)
self.w.action_abort.setProperty('true_python_cmd_string', 'ACTION.ABORT();ACTION.CALL_INI_MDI(0)')
 
  • acondit
  • acondit
27 Aug 2024 16:45
Replied by acondit on topic Converting a 7i76e config to 7c81/7i76 pair

Converting a 7i76e config to 7c81/7i76 pair

Category: General LinuxCNC Questions

Yes, the 7i76 is on P1 on both the 5i25 and the 7c81.

I ran pncconf on the 5i25 again. I don't know what I did earlier but now the stepgens are back on 0..2. So, obviously I screwed up something earlier.

What about the "sets" vs "setp" in
" sets spindle-at-speed true"
  • cmorley
  • cmorley
27 Aug 2024 16:45
Replied by cmorley on topic QTDragon spindle raise issues

QTDragon spindle raise issues

Category: Qtvcp

Please remind (show) me of the pause pin code you are using.
  • timo
  • timo
27 Aug 2024 16:43 - 27 Aug 2024 16:44
Replied by timo on topic Is there an easy way to swap axes?

Is there an easy way to swap axes?

Category: General LinuxCNC Questions

Not really of any use for the issue, But if I am afraid to brick the machine, I just put a 2nd hard drive in, swap the physical connectors and start playing. Not much risk and a new SSD cost me 15Euros.
I use a USB enclosure to transfer files between the "experimental" and the "working" system.
  • hirst689
  • hirst689
27 Aug 2024 16:37

No motor control using 7i96A and DM542T drivers

Category: Installing LinuxCNC

Thanks PCW, I found those 24/5v switches, now I have movement. Just a couple of other issues to sort out now
  • wm56
  • wm56
27 Aug 2024 16:28
Replied by wm56 on topic Servo HCFA Y7

Servo HCFA Y7

Category: EtherCAT

Thank you for the tips. Would you be able to help me with a tip or best of all give examples of how to do it, create a working configuration. Is the file I have good for configuration?
  • RotarySMP
  • RotarySMP's Avatar
27 Aug 2024 16:01 - 27 Aug 2024 16:10
Replied by RotarySMP on topic Is there an easy way to swap axes?

Is there an easy way to swap axes?

Category: General LinuxCNC Questions

Thanks guys. I was following Andys instructions, and didn't rename all the signals names, as I figured the more I changed the more I would screw up, but it didn't help and I still ended up tied in knots. :)

Is switchkins useable with LinuxCNC 2.7? I have never updated the Maho to a Joints based version, as I am afraid of breaking a working system. I have that gearbox comp working and am loath risking bricking the machine.
Cheers,
Mark
Displaying 22336 - 22350 out of 24887 results.
Time to create page: 0.417 seconds
Powered by Kunena Forum