Advanced Search

Search Results (Searched for: )

  • royka
  • royka
03 Jun 2024 23:06 - 04 Jun 2024 10:48
Replied by royka on topic Bad Latency Fujitsu Esprimo D756 i5 6500

Bad Latency Fujitsu Esprimo D756 i5 6500

Category: Computers and Hardware

sudo update-grub
Oops see that you already did that, then it's indeed what tommylight said.
So that would be:
GRUB_CMDLINE_LINUX="isolcpus=3 intel_pstate=disable processor.max_cstate=0 idle=poll cpufreq.default_governor=performance ahci.mobile_lpm_policy=1 irqaffinity=0 nomodeset quiet"

After 'sudo update-grub' you can see if it worked at: /boot/grub/grub.cfg

You could also still try the newer kernel version
  • PCW
  • PCW's Avatar
03 Jun 2024 21:29
Replied by PCW on topic Deckel FP4A

Deckel FP4A

Category: Installing LinuxCNC

What I meant is what kind of machine hardware are you interfacing
Drives  (step/dir analog etc)
Encoders
etc
 
  • cmorley
  • cmorley
03 Jun 2024 21:26
Replied by cmorley on topic z_level_compensation

z_level_compensation

Category: Qtvcp

yes I believe that is the one to replace, just remove the .py from the filename.

I'd keep a copy of the old file in case something goes wrong
  • cmorley
  • cmorley
03 Jun 2024 21:22

how to make my own custom page for qtdragon_hd?

Category: Qtvcp

Designer is, in principal a wysiwyg editor, but python code can modify it after.
for instance the macro buttons are always shown in the editor but are hidden by default when the screen starts.

Let me know if the changes worked for you.
  • PCW
  • PCW's Avatar
03 Jun 2024 21:16 - 03 Jun 2024 22:09
Replied by PCW on topic 7i95 + serial absolute encoder

7i95 + serial absolute encoder

Category: Driver Boards

#setp hm2_7i95.0.dpll.base-freq-khz 1.007
setp hm2_7i95.0.ssi.00.frequency-khz 800
#setp hm2_7i95.0.ssi.00.timer-number 1
setp hm2_7i95.0.dpll.01.timer-us -100

Without the timer specified you are guaranteed to get
a data transmission not complete error.

Also you should never have to change the DPLL base frequency
since it's set to the servo thread frequency as the default.

If not a clock or data polarity issue, my guess is that you do not have
DPLL lock for some reason. I would check this by either watching
or halscope plotting hm2_7i95.0.dpll.phase-error-us

Here is an normal plot of the DPLL error (at 100 usec per division) when locked:

 

Here is a plot (also 100 usec per division) where DPLL lock has been lost:

 
 
  • cmorley
  • cmorley
03 Jun 2024 21:16

Help,How to customize language of QtDragon's interface

Category: Qtvcp

I have added the ability to add translations to qtdragon/hd in the master development branch.
There are no translations as of yet.
This work just makes adding translations much easier then modifying the code directly.
Qtplasmac has had this for awhile and I just copied it.
  • tommylight
  • tommylight's Avatar
03 Jun 2024 21:10
Replied by tommylight on topic Bad Latency Fujitsu Esprimo D756 i5 6500

Bad Latency Fujitsu Esprimo D756 i5 6500

Category: Computers and Hardware

sudo nano /etc/default/grub

and add
isolcpus=3 intel_pstate=disable processor.max_cstate=0 idle=poll cpufreq.default_governor=performance ahci.mobile_lpm_policy=1 irqaffinity=0 nomodeset quiet

Those parameters must be added at the end an existing line containing words "quiet splash" and must be inside "
  • tommylight
  • tommylight's Avatar
03 Jun 2024 21:06

Unable to install plasmac configurator.py file not found

Category: Plasmac

Moved to PlasmaC section.
-
PlasmaC is not being developed anymore, so last version of LinuxCNC with PlasmaC was 2.8, i think.
From 2.9 and up, QtPlasmaC is used, and that does not use the configurator.py to set up the machine, now that can be done in PncConf.
There is also PlasmaC 2 i think in the new versions that looks similar to PlasmaC but does not use Axis GUI.
More info
forum.linuxcnc.org/plasmac/37233-qtplasmac-updates
  • PCW
  • PCW's Avatar
03 Jun 2024 21:04

Smart Serial port not detecting remote 7i87 card

Category: General LinuxCNC Questions

Yes there's a bug of some kind with the 7I87 and modes >1 with recent
LinuxCNC versions. I will take a look at this later this week.
 
  • TangentAudio
  • TangentAudio
03 Jun 2024 21:02

LinuxCNC Beckhoff EK1100 EL2004 EL1014 Failed to register PDO entry

Category: EtherCAT

That thread I linked has an example of a manually configured PDO entry for the older unit.  Replace the EL2004 line in your XML with:
<slave idx="1" type="generic" vid="00000002" pid="07D43052" name="el2004_dout">
<syncManager idx="0" dir="out">
<pdo idx="1600">
<pdoEntry idx="3001" subIdx="01" bitLen="1" halPin="dout-0" halType="bit"/>
</pdo>
<pdo idx="1601">
<pdoEntry idx="3001" subIdx="02" bitLen="1" halPin="dout-1" halType="bit"/>
</pdo>
<pdo idx="1602">
<pdoEntry idx="3001" subIdx="03" bitLen="1" halPin="dout-2" halType="bit"/>
</pdo>
<pdo idx="1603">
<pdoEntry idx="3001" subIdx="04" bitLen="1" halPin="dout-3" halType="bit"/>
</pdo>
</syncManager>
</slave>

Try your setup with just the EK1100 and EL2004, take the other module off for now.  I think the EL1014 is probably also old and may need a similar manual configuration.  It's easier to get one working at a time.


 
  • TangentAudio
  • TangentAudio
03 Jun 2024 20:57

LinuxCNC Beckhoff EK1100 EL2004 EL1014 Failed to register PDO entry

Category: EtherCAT

[ +0,000152] EtherCAT ERROR 0 0:1: PDO entry 0x7000:01 is not mapped.

I think that you have very old modules (EL2004, EL1014) in your system.

From what I've read, older versions of the modules (before revision 10) have their PDOs mapped differently. The EtherCAT code is expecting to find PDOs at 0x7000 on the EL2004, but your older unit has them at 0x3001.

I am not sure if it's possible to update/fix the unit by using the TwinCAT software on Windows, but there's also a way to use a modified ethercat XML file.

Take a look at this thread, it sounds very similar to your situation.

www.forum.linuxcnc.org/ethercat/44685-the-holy-grail?start=60
  • pingtomi
  • pingtomi
03 Jun 2024 20:56
Replied by pingtomi on topic 7i95 + serial absolute encoder

7i95 + serial absolute encoder

Category: Driver Boards

So I have configured it, but it doesn't work properly:
relevant HAL section:

loadrt hm2_eth board_ip="192.168.1.121" config="num_stepgens=5 num_encoders=5 ssi_chan_0=position%25ge"

#SSI stuff
#setp hm2_7i95.0.dpll.base-freq-khz 1.007
setp hm2_7i95.0.ssi.00.frequency-khz 800
#setp hm2_7i95.0.ssi.00.timer-number 1
setp hm2_7i95.0.dpll.01.timer-us -100

Encoder is Leine & Linde ISA 608, output is 25 bit gray.

I always get "data transmission not complete ..." error, regardless of clock frequency/ timer / dpll base freq values.
Theoretically this encoder supports up to 1Mhz clock freq.

position.counts is always 23773199 or close to.
I checked polarity of clock/data signals, also have seen clock signal with oscilloscope.

For sure, my 7i95 card has some hardware issues what I already asked it here, but due to chip issue and long time of post (from EU to US and return) I didn't want to request RMA.
Here is the mentioned topic: forum.linuxcnc.org/27-driver-boards/37894-mesa-7i95?start=230

Can we rule out that this issue might impact the communication on the SSI interface?

Plan B: I have an unused 7i96s, could you PCW please make me a bitfile with SSI support? To test if this issue is related to 7i95.

Any other clue please?

Thank you
Tamas
  • Tobi
  • Tobi
03 Jun 2024 20:18

LinuxCNC Beckhoff EK1100 EL2004 EL1014 Failed to register PDO entry

Category: EtherCAT

Hi, thank you for your help and your suggestions.
I'm already suspicious on the EK1100 too. I already tested linuxcnc with following ethercat-config and it ran just fine, showing data from the EK1100 in hal terminal:
<masters>
  <master idx="0" appTimePeriod="1000000" refClockSyncCycles="5">
      <slave idx="0" type="EK1100"/>
  </master>
</masters>
I ran the command you suggested on my normal ethercat-config and filtered the output by using "grep EtherCAT" i got following output with 2 ERRORS:
Before running linuxcnc:
[  +0,011274] EtherCAT: Master driver 1.5.2 1.5.2.433.g30b782e-1+467.1
[  +0,000090] EtherCAT: 1 master waiting for devices.
[  +0,026181] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 1.5.2.433.g30b782e-1+467.1
[  +0,000012] EtherCAT: Accepting 64:51:06:2E:AA:E5 as main device for master 0.
[  +0,013530] EtherCAT 0: Starting EtherCAT-IDLE thread.
[  +0,000062] EtherCAT 0: Link state of ecm0 changed to UP.
[  +0,004562] EtherCAT 0: Link state of ecm0 changed to DOWN.
[  +0,001934] EtherCAT 0: Link state of ecm0 changed to UP.
[  +0,012006] EtherCAT 0: 3 slave(s) responding on main device.
[  +0,000003] EtherCAT 0: Slave states on main device: INIT.
[  +0,000058] EtherCAT 0: Scanning bus.
[  +0,119514] EtherCAT 0: Bus scanning completed in 116 ms.
[  +0,000005] EtherCAT 0: Using slave 0 as DC reference clock.
[  +0,000001] EtherCAT ERROR 0: Failed to calculate bus topology.
[  +0,023868] EtherCAT 0: Slave states on main device: PREOP.

New entrys after running linuxcnc:
[Jun 3 21:59] EtherCAT: Requesting master 0...
[  +0,000005] EtherCAT: Successfully requested master 0.
[  +0,000152] EtherCAT ERROR 0 0:1: PDO entry 0x7000:01 is not mapped.
[  +0,000035] EtherCAT 0: Releasing master...
[  +0,000005] EtherCAT 0: Released.

I also ran the command on my ethercat-configuration with only the EK1100 and got following output:
[Jun 3 22:14] EtherCAT: Requesting master 0...
[  +0,000004] EtherCAT: Successfully requested master 0.
[  +0,000036] EtherCAT 0: Domain0: Logical address 0x00000000, 0 byte, expected working counter 0.
[  +0,000015] EtherCAT 0: Master thread exited.
[  +0,000002] EtherCAT 0: Starting EtherCAT-OP thread.
[  +0,000327] EtherCAT WARNING 0: 57 datagrams TIMED OUT!
[  +0,035152] EtherCAT 0: Slave states on main device: PREOP, OP.
[  +0,887990] EtherCAT WARNING 0: 7 datagrams UNMATCHED!
[  +1,999988] EtherCAT WARNING 0: 2 datagrams UNMATCHED!
[  +8,016000] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[ +18,039998] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[  +0,715671] EtherCAT 0: Master thread exited.
[  +0,000010] EtherCAT 0: Starting EtherCAT-IDLE thread.
[  +0,000208] EtherCAT 0: Releasing master...
[  +0,000001] EtherCAT 0: Released.
[  +0,031909] EtherCAT 0: Slave states on main device: PREOP.
  • RMJ fabrication
  • RMJ fabrication
03 Jun 2024 20:07

Unable to install plasmac configurator.py file not found

Category: Plasmac

Hello everyone I am asking for help and insights with installing plasmac to a base machine configuration of a cnc plasma table. I tried installing plasmac using the terminal and following instructions however when I enter the command to start the configurator it says "python: command not found". so I use the alias command to point python to python3 and then I get this second error "no such file or directory". I then checked where my path was pointing to in file explorer and there is no plasmac folder in the by_machine folder and also searching the whole system shows no configurator.py file. I just want to install plasmac any help or insights are greatly appreciated!
Displaying 25096 - 25110 out of 26466 results.
Time to create page: 0.513 seconds
Powered by Kunena Forum