Advanced Search

Search Results (Searched for: )

  • Soccer Kid
  • Soccer Kid's Avatar
29 May 2025 09:27

Help! Regarding the data reading offset issue of the ether cat IO module

Category: EtherCAT

Currently, my configuration is rather messy. I will choose to upload it after I have some time to tidy it up later. The current problem has been largely identified. By analyzing the PDO data from different platforms, I identified some subtle differences. I then reported the bugs to the manufacturer and waited for them to provide a new firmware. Once the new firmware is ready, I will post the detailed differences here.
  • PopBang
  • PopBang
29 May 2025 08:19 - 29 May 2025 08:20

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hey guys, I'm pretty new to all this coding jazz, but I've fumbled my way through a bit so far. I'm using a NVEM V2 board with the NVMPG to control a RongFu RF31 i have retro fitted with some stepper/servos. So far i can move the X Y Z axes accurately using the key board and the NVMPG, I can also select axes with the NVMPG and I'm seeing all the inputs work in the Hal Configuration. But now I'm at a loss at how to modify the Hal file to get those inputs to function, especially the estop. I'm using a N/O estop switch and it's switching remora.input.04 to false (.04.not to True) when hit.
What do i need to add to the Remora-nvem.hal file to make it work?
Or does any one have an already working .Hal file for the NVEM V2 with limit switches and other typical milling functions i could look over?
 

File Attachment:

File Name: remora-nvem.hal
File Size:2 KB



Thanks
 
  • TheRealMable
  • TheRealMable
29 May 2025 08:09
Replied by TheRealMable on topic MESA 7i76 - Lenze VFD: Where are the 10V

MESA 7i76 - Lenze VFD: Where are the 10V

Category: Driver Boards

Thanks for the quick answer, a little bit busy at work, so I am somewhat slow.

My problem with that 5V Output was, that it, oddly specific, says 5.2V. Since the documentation mentions that the inputs U1, U2 have 1% error (when using 0-5V), I thought 5% more voltage is a lot...

The specs mention, that the "resistance of the input" needs to be above 1k. I could not find any specifics in the Mesa manual regarding that, but the "SPINOUT" should be high enough impedance?

BTW, I have no Idea why he is using 2U, instead of 1U. The two inputs seem to be equal. A1 seems to be a fault indicator, as far as I undestand.
  • juliankoenig87
  • juliankoenig87
29 May 2025 08:07
Replied by juliankoenig87 on topic What encoder resolution?

What encoder resolution?

Category: Computers and Hardware

Doesnt really matter. 100 is enough an you will have less frequency and therefor less emf topics.

I assume we are speaking of an non hf spindle right? So 6000 rpm results in 100 rps and therefor to 10.000 ppr or 40.000 cpr. So totally easy to handle.

But in this case a 600 encoder also will work efortless.
  • PeteTech
  • PeteTech
29 May 2025 07:59
Replied by PeteTech on topic Machine Cutting 1 - 2mm short semi frequently

Machine Cutting 1 - 2mm short semi frequently

Category: General LinuxCNC Questions

Hi Tommy.

I implemented the changes you suggested except for those done on the Bios as I do not have access to it over AnyDesk.
After implementing the machine would home correctly as normal, but when running to a set distance the arm would halt after moving about 20 mm and give an error, "joint 0 following error" and this process of moving slightly and giving error happens every time any distance is entered. I also received latency warnings for 100000. I have attached a picture of the errors.

I reverted the settings back one by one and machine ran as it did before only after all changes were reverted. These were the changes I made:
  • Base_Period = 100000 >>> set back to 500
  • Drive microstepping = 1600 >>> set back to 2000 pul/rev 
  • Parport reset time = 10000 >>> set back to 500
  • I added STEP_SPACE and STEP_TIME to the "EMCMOT" section as I did not already have it in the ini file. STEP_SPACE & STEP_TIME = 0.00001 >>> I removed these two settings after.

    Any thoughts on how to proceed? Thank you for your input so far
  • Aciera
  • Aciera's Avatar
29 May 2025 07:24
Replied by Aciera on topic Gmoccapy 3.5.0 - opinions needed

Gmoccapy 3.5.0 - opinions needed

Category: Gmoccapy

Yes, that is my alterego on github.
  • zz912
  • zz912's Avatar
29 May 2025 06:10
  • zz912
  • zz912's Avatar
29 May 2025 05:31
Replied by zz912 on topic Gmoccapy 3.5.0 - opinions needed

Gmoccapy 3.5.0 - opinions needed

Category: Gmoccapy

Aciera = Sigma1912 ???
:-D
  • spincycle
  • spincycle
29 May 2025 04:38
Replied by spincycle on topic Bridgeport VMC760 retrofit

Bridgeport VMC760 retrofit

Category: Milling Machines

Nope!

Mesa cards and servos are on there way though1 Ill make a more detailed post of my progress in the next day or two.

To answer your question. With a forklift.
  • kubes
  • kubes
29 May 2025 04:24
Huanyang GT Series VFD Issues was created by kubes

Huanyang GT Series VFD Issues

Category: General LinuxCNC Questions

I am trying to get a Huanyang GT VFD to work with LinuxCNC. When I start Linux CNC or via halrun..
halrun
loadusr -W hy_gt_vfd -d /dev/ttyUSB0 -p none -r 38400 -s 1 -t 1 -S1410 -F60 -f10
twopass:pass0: loadusr -W hy_gt_vfd -d /dev/ttyUSB0 -p none -r 38400 -s 1 -t 1 -S1410 -F60 -f10
hy_gt_vfd: device='/dev/ttyUSB0', baud=38400, parity='N', bits=8, stopbits=1, address=1
read_modbus_register: error reading freq-fb (register 0x3000): Connection timed out
read_modbus_register: error reading freq-fb (register 0x3000): Connection timed out
read_modbus_register: error reading freq-fb (register 0x3000): Connection timed out
...
set_motor_off: error writing 5 to register 0x1000: Connection timed out
set_motor_off: error writing 5 to register 0x1000: Connection timed out
set_motor_off: error writing 5 to register 0x1000: Connection timed out
set_motor_off: error writing 5 to register 0x1000: Connection timed out
set_motor_off: error writing 5 to register 0x1000: Connection timed out

I can successfully connect and send commands via mbpoll and the command line
$ mbpoll -m rtu -a 1 -0 -t 4:hex -v  -r 0x1000 -b 38400 -P none /dev/ttyUSB0 0005
debug enabled
Set start reference=4096
Set rtu baudrate=38400
Set rtu parity=none
Set device=/dev/ttyUSB0
1 write data have been found
Set data=5
Word[0]=0x5
mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright © 2015-2019 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.

Opening /dev/ttyUSB0 at 38400 bauds (N, 8, 1)
Set response timeout to 1 sec, 0 us
Protocol configuration: Modbus RTU
Slave configuration...: address = [1]
                        start reference = 4096, count = 1
Communication.........: /dev/ttyUSB0,      38400-8N1
                        t/o 1.00 s, poll rate 1000 ms
Data type.............: 16-bit register, output (holding) register table

[01][06][10][00][00][05][4D][09]
Waiting for a confirmation...
<01><06><10><00><00><05><4D><09>
Written 1 references.

I've tried different baud rates, etc and the same results.  Works via the command line, but not via the hal.

Any ideas?
  • cmorley
  • cmorley
29 May 2025 03:36
Replied by cmorley on topic woodpecker.ini - cant be loaded

woodpecker.ini - cant be loaded

Category: General LinuxCNC Questions

Hello,

I have RIP installation LCNC 2.10

I cannot woodpecker.ini in sim configs.

Is it bug or dont I have some packages?

zdenek@cnc:~/linuxcnc/linuxcnc-zz912$ linuxcnc
LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/zdenek/linuxcnc/linuxcnc-zz912/configs/sim/woodpecker'
Machine configuration file is 'woodpecker.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./core_sim.hal
Found file(lib): /home/zdenek/linuxcnc/linuxcnc-zz912/lib/hallib/simulated_home.hal
[QTvcp.QTVCP.QT_MAKEGUI][CRITICAL]  'MachineLog' object has no attribute 'setFrameShape' (qt_makegui.py:213)
[QTvcp][CRITICAL]  Aborted from Error Dialog
 Qtvcp encountered an error.  The following information may be useful in troubleshooting:
LinuxCNC Version  : 2.10.0~pre0

Traceback (most recent call last):
  File "/home/zdenek/linuxcnc/linuxcnc-zz912/bin/qtvcp", line 607, in <module>
    _qtvcp = QTVCP()
             ^^^^^^^
  File "/home/zdenek/linuxcnc/linuxcnc-zz912/bin/qtvcp", line 307, in __init__
    window.instance(filename=self.PATH.XML)
  File "/home/zdenek/linuxcnc/linuxcnc-zz912/lib/python/qtvcp/qt_makegui.py", line 202, in instance
    instance = uic.loadUi(filename, self)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 241, in loadUi
    return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/loader.py", line 66, in loadUi
    return self.parse(filename, resource_suffix)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 1037, in parse
    actor(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 828, in createUserInterface
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 273, in createWidget
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 503, in createLayout
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 546, in handleItem
    self.traverseWidgetTree(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 806, in traverseWidgetTree
    handler(self, child)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 264, in createWidget
    self.stack.push(self.setupObject(widget_class, parent, elem))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 230, in setupObject
    self.wprops.setProperties(obj, branch)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/properties.py", line 417, in setProperties
    getattr(widget, 'set%s%s' % (ascii_upper(prop_name[0]), prop_name[1:]))(prop_value)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'MachineLog' object has no attribute 'setFrameShape'

 (qtvcp:557)
'QTVCP' object has no attribute 'panel'
/home/zdenek/linuxcnc/linuxcnc-zz912/scripts/linuxcnc: řádek 990: 14734 Neoprávněný přístup do paměti (SIGSEGV)                     $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS "${EXTRA_ARGS[@]}"
Shutting down and cleaning up LinuxCNC...
task: 0 cycles, min=0.000005, max=0.010430, avg=-1.000000, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/zdenek/linuxcnc_debug.txt
and
    /home/zdenek/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
 

Fixed in master.
  • grandixximo
  • grandixximo's Avatar
29 May 2025 03:30
Replied by grandixximo on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

The best way to know is testing for yourself, it all depends on what you mean by "real work", if you find issues for your use case politely post them here.
I did my own testing, and it is getting closer to my "real work", it is very exciting, but there is still a lot of work, and I'm extremely impressed and grateful to Grotius and co to be tackling this, much appreciated...
  • rodw
  • rodw's Avatar
29 May 2025 03:17
Replied by rodw on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Should be fine
  • ihavenofish
  • ihavenofish
29 May 2025 03:16
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Is this the correct type of modbus usb adaper?

www.digikey.ca/en/products/detail/dfrobot/FIT0737/13688358

Will get here friday if I order it now.
  • COFHAL
  • COFHAL
29 May 2025 03:16
Replied by COFHAL on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

Interesting. But for us newbies, how do we use this mesambccc command? There's a detailed description, but no example of how to use it.
Displaying 346 - 360 out of 26058 results.
Time to create page: 1.151 seconds
Powered by Kunena Forum