Advanced Search

Search Results (Searched for: )

  • alwinjohn
  • alwinjohn
11 Jul 2024 12:21
NX CAM was created by alwinjohn

NX CAM

Category: Post Processors

HI, Is there any postprocessors available for using NX CAM for Linux CNC. Or any other postprocessors which I can modify to suite for Linux CNC. 
Kindly help me?
  • Aciera
  • Aciera's Avatar
11 Jul 2024 11:28
Replied by Aciera on topic Gmoccapy SCARA EtherCAT drive - joint error

Gmoccapy SCARA EtherCAT drive - joint error

Category: Gmoccapy

 

After I added both of above setting, the issue still happens.

FERROR and MIN_FERROR entries need to be in the [JOINT_n] section not in the [AXIS_l] section:
linuxcnc.org/docs/html/config/ini-config.html

I tried (FERROR; MIN_FERROR) options: (1;0.1) ; (0.1; 0.01) ; (0.01; 0.001)

I would suggest something like (100,100). I presume you are running your drives in position mode and the loop is closed in the drive, if so LinuxCNC really has no part in monitoring following errors at all and setting the values very high will effectively eliminate following error checking in LinuxCNC.

Yes, I think EtherCAT drives handle joint error, but it makes motor shocking so strong & stop suddenly without finishing targeted  position. 

If you get drive faults because of following error then you likely need to lower acceleration/velocity values. Also note that if your SCARA pose is close to a singular point  the kinematic model will likely fail and cause large or even infinite angular velocities which will then cause the drives to fault.
  • meme
  • meme
11 Jul 2024 11:13
Replied by meme on topic [solved] Auto Tool Measurement

[solved] Auto Tool Measurement

Category: Qtvcp

I folllowed your suggestion and now I have a different error:



Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtvcp/widgets/status_slider.py", line 142, in _action
ACTION.SET_RAPID_RATE(value)
File "/usr/lib/python3/dist-packages/qtvcp/qt_action.py", line 400, in SET_RAPID_RATE
self.cmd.rapidrate(rate / 100.0)
KeyboardInterrupt
  • DPFlex
  • DPFlex
11 Jul 2024 10:57 - 11 Jul 2024 10:58
Replied by DPFlex on topic Gmoccapy SCARA EtherCAT drive - joint error

Gmoccapy SCARA EtherCAT drive - joint error

Category: Gmoccapy

Hello Aciera,

Before your advice, I did not have FERROR & MIN_FERROR.
After I added both of above setting, the issue still happens.
I tried (FERROR; MIN_FERROR) options: (1;0.1) ; (0.1; 0.01) ; (0.01; 0.001)

Yes, I think EtherCAT drives handle joint error, but it makes motor shocking so strong & stop suddenly without finishing targeted  position.

I attach my INI file for your reference.
 

File Attachment:

File Name: dpf_scara.ini
File Size:3 KB
  • MarkoPolo
  • MarkoPolo
11 Jul 2024 10:38
Replied by MarkoPolo on topic [solved] Auto Tool Measurement

[solved] Auto Tool Measurement

Category: Qtvcp

Not like that. Don't change anything in this line "rapid = (float(value) / 100) * self.factor"
If you have updated linuxcnc it is possible that it will work.
You should have checked if there is a line "self.factor = 1.0" in the global variables section, as in the screenshot
  • Aciera
  • Aciera's Avatar
11 Jul 2024 10:18

[resolved]Ethercat servo spindle orient problem while using M19 ?

Category: General LinuxCNC Questions

I guess you could verify by checking the value of the 'orient.0.mode' pin.
  • timaer
  • timaer
11 Jul 2024 09:57

[resolved]Ethercat servo spindle orient problem while using M19 ?

Category: General LinuxCNC Questions

Thank you,Aciera. I just followed the pin guide map in the following link wiki.linuxcnc.org/uploads/orient.svg , I dont know if I need to net the orient.mode and spindle.orient-mode,because it 's not mentioned in that link.
  • seyad
  • seyad
11 Jul 2024 09:50
Replied by seyad on topic How to make my machine move

How to make my machine move

Category: EtherCAT

use this video for your refernce (
). This video thay have the testing part for ethercat.
  • Aciera
  • Aciera's Avatar
11 Jul 2024 09:50

[resolved]Ethercat servo spindle orient problem while using M19 ?

Category: General LinuxCNC Questions

Besides the pins you were already watching also have a look at the 'orient' component pins:
linuxcnc.org/docs/html/man/man9/orient.9.html

This should verify if you are getting any useful signal to 'pos-pid.command'

I see that you have not connected 'orient.0.mode' to 'spindle.0.orient-mode'. Not sure if the 'orient' component has a default value for its 'mode'-pin but you may want to make the connection just to be sure.

Note that I know nothing about the EtherCAT side of things at all, including the 'cia402' component.
  • syschkr
  • syschkr
11 Jul 2024 09:49
Connecting Siemens NX to LinuxCNC was created by syschkr

Connecting Siemens NX to LinuxCNC

Category: Post Processors

Is there any postprocessor for Siemens NX to generate G-code compatible with LinuxCNC?
  • Robbbbbb
  • Robbbbbb
11 Jul 2024 09:49 - 11 Jul 2024 10:10
Replied by Robbbbbb on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

Success! So I added the missing pdo entry, and the two missing sync managers (with no pdos set) and now everything is working great. Attached my complete config. Working ethercat-conf.xml:
<masters>
  <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
    <slave idx="0" type="generic" vid="00000766" pid="00000402" configPdos="true">
      <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
      <syncManager idx="0" dir="out">
      </syncManager>
      <syncManager idx="1" dir="in">
      </syncManager>
      <syncManager idx="2" dir="out">
        <pdo idx="1600">
          <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"/>
          <pdoEntry idx="60FF" subIdx="00" bitLen="32" halPin="target-speed" 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="606C" subIdx="00" bitLen="32" halPin="actual-velocity" halType="s32"/>
          <pdoEntry idx="6077" subIdx="00" bitLen="16" halPin="actual-torque" halType="s32"/>
        </pdo>
      </syncManager>
    </slave>
  </master>
</masters>
  • timaer
  • timaer
11 Jul 2024 09:45 - 11 Jul 2024 09:47

Built my .ui, works in SIM, how do I move it to the machine?

Category: QtPyVCP

The .ui file is related to the handler.py file. You'd better check the official doc linuxcnc.org/docs/stable/html/gui/qtvcp.html  ,
in real enviroment ,you need also adjust your hal and ini file to satisfy the specific machine detail.
  • meme
  • meme
11 Jul 2024 09:28
Replied by meme on topic [solved] Auto Tool Measurement

[solved] Auto Tool Measurement

Category: Qtvcp

I updated linuxcnc, I edited the file as you suggested:

def slider_rapid_changed(self, value):
rapid = (float(value) / 100) * self.factor = 1.0
self.w.lbl_max_rapid.setText("{:4.0f}".format(rapid))

Now the error is as follow:


Traceback (most recent call last):
File "/usr/bin/qtvcp", line 508, in <module>
_qtvcp = QTVCP()
^^^^^^^
File "/usr/bin/qtvcp", line 251, in __init__
window.load_extension(opts.usermod)
File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 265, in load_extension
methods, self[obj].handler_module, self[obj].handler_instance = self._load_handlers([handlerpath], self.halcomp, self[obj])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 293, in _load_handlers
mod = __import__(basename)
^^^^^^^^^^^^^^^^^^^^
File "/usr/share/qtvcp/screens/qtdragon/qtdragon_handler.py", line 700
rapid = (float(value) / 100) * self.factor = 1.0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: cannot assign to expression
Displaying 22966 - 22980 out of 26420 results.
Time to create page: 0.464 seconds
Powered by Kunena Forum