Advanced Search

Search Results (Searched for: )

  • pavel7890
  • pavel7890
12 Apr 2024 08:15

Gantry position feedback check on Ethercat

Category: EtherCAT

There is a setup of Indradrive Cs with MSK servos for 4 axis machine via SoE. There are two Y axis joints.
Lately I have experienced rather awkward situation, when one of the Y joints suddenly changed feedback position. Perhaps a M1 encoder multiturn issue, but I can not be certain. It is being investigated.

Now, is there any possibility to check within HAL setup a difference between both joints feedback? In case there would be a difference (e.g. 0.5mm), I have in mind a stop of the machine.
  • rodw
  • rodw's Avatar
12 Apr 2024 06:44
Replied by rodw on topic Concession's for EtherCAT stepgens?

Concession's for EtherCAT stepgens?

Category: EtherCAT

I know hakan has been dabbling with ethercat for a long time. My thought would be that you are far better off using an ethercat stepper drive with cia402 interface. Rtelligent have 2 channel (2 steppers) open and closed loop controllers ECR60x2 and ECT60x2. @scottlaird is playing with them so I'm waiting to see how far he gets building internal support into the ethercat hal driver. I'm sure he will sort it. I have a box of open loop Sanyo Denkai motors I'd like to get going. 
Leadshine also have something similar.
I have the ECT60 and a couple of the ECT86 (also in the mill) which is the NEMA34  single channel version of the ECT60. I could not get NEMA 23/24's going nice on the ECT86

Beckhoff use Intel NIC's exclusively for a reason. My mill is using Odroid H2+ with Realtek and it has not missed a beat (On Bullseye which does not have the r8125-dkms driver which I would try if I could!)
  • rodw
  • rodw's Avatar
12 Apr 2024 06:27
Replied by rodw on topic Questions on THCad2

Questions on THCad2

Category: Driver Boards

the low voltage side of the thcad connects to the encoder input. The high voltage is either the ohmic power supply or the plasma cutter depending on application
  • Finngineering
  • Finngineering
12 Apr 2024 06:19
Replied by Finngineering on topic Un-lobotomizing a Maho MH600T

Un-lobotomizing a Maho MH600T

Category: CNC Machines

I haven't really made any comparison. But I would for sure prefer old Heidenhains over new "chinese" 5 µm scales. For my mill, I do want the 1µm resolution. I could also imagine that the actual accuracy (over length) is better with the Heidenhain scales.
  • JusKeepSwimming
  • JusKeepSwimming
12 Apr 2024 05:34 - 12 Apr 2024 05:50
Replied by JusKeepSwimming on topic 7i95T newb advice

7i95T newb advice

Category: PnCConf Wizard

I got hold of a cheap but newish Dell optiplex 7070 today. massive improvement on latency.
:~$ lspci | grep -i eth <--returns
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)

Latency test is Max Jitter (ns) around 50,000 (it was 500k before).
Tried the IRQ affinity again but something not quiet right with the commands i put into terminal. I'll have another go at the later, AXIS and other GUI's do not crash.
irqbalance is not running OR there are only 2 cpus - setting up IRQ affinity script

Put the settings in for the steppers again along with everything else and tested with volt meter over every positive/negative terminal and power supp/gnd - while jogging the corresponding axis in the GUI AXIS. All read 5v and a few less and from the power supply to drivers 42v. None changed while jogging except for Direction+/- on the driver and control board.
So where the control board and wires into the stepper driver at the Direction +/- will read 5v while jogging + on AXIS GUI and read -5v while jogging - on AXIS GUI.

Hope that makes sense. I'm actually happy it showed some feedback despite where I am. Any help is a God send.
  • PCW
  • PCW's Avatar
12 Apr 2024 01:23
Replied by PCW on topic Mesa 7i96S SSERIAL and pktuart

Mesa 7i96S SSERIAL and pktuart

Category: Driver Boards

I did check that firmware with a modbus device (GS10 VFD) and it worked
(+- the known Mesa-Modbus bugs)
  • PCW
  • PCW's Avatar
12 Apr 2024 01:12
Replied by PCW on topic Spindle speed via SuperPID

Spindle speed via SuperPID

Category: General LinuxCNC Questions

The 5ABOB firmware should match the Sainsmart BOB
(the common one has PWM on pin 1)

Are you using the analog 0 to 10V  output?

The analog out  seems OK with a quick test:

%  FS PWM  VOLTAGE
0                   0.026
10                 0.944
20                 1.862
30                 2.794
40                 3.744
50                 4.706
60                 5.686
70                 6.681
80                 7.692
90                 8.720
100               9.754

(the PWM output pin needs to be inverted as the BOB PWM input is active low)

test conditions: 12V on 12-24V power 50 Hz PWM
 
  • itsgudenuf
  • itsgudenuf
12 Apr 2024 00:48

What's the best way to override the facing.py utility?

Category: Qtvcp

Thanks Chris.

I'll give this a try as soon as I get back into town.

Yes, I hope my version will be suitable for integration. Once it's adequately tested I'll be sure to share it for integration.
~Brian
  • PCW
  • PCW's Avatar
12 Apr 2024 00:31
Replied by PCW on topic Low Cost Raspberry Pi Contoller Board

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards

Yes, any that has simple buffers and not optos on the outputs should work
The pinout is for this very common BOB:

www.forum.linuxcnc.org/media/kunena/atta...it-408-1000x1000.jpg

But almost any should work.


 
  • Project_Hopeless
  • Project_Hopeless's Avatar
12 Apr 2024 00:25
Replied by Project_Hopeless on topic Low Cost Raspberry Pi Contoller Board

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards

7I96S firmware with P1 pinout for the common "Mach 5 Axis BOB"
2 additional step/dir channels (7 total) and 4 RCPWMgens on the BOB

 

Would any inexpensive aka chinese "BOB" work? 
 
  • PCW
  • PCW's Avatar
12 Apr 2024 00:04
Replied by PCW on topic Questions on THCad2

Questions on THCad2

Category: Driver Boards

In either use case I would power the THCAD 5V from the 7I96
(Ohmic sensing with a THCAD requires a separate ISOLATED
24V supply)

If you have a 50:1 divider the THCAD needs no external resistors
Setting it to the 5V range gives you a 250V full scale plasma voltage
which is fine.

Mounting the THCAD in the plasma source is probably better noise wise.
In this case, I would use shielded  twisted pair and make sure that the
shield is grounded to the 7I96 GND and not anywhere  at the plasma
source end.
  • x26iclone
  • x26iclone
12 Apr 2024 00:03 - 12 Apr 2024 00:04
Spindle speed via SuperPID was created by x26iclone

Spindle speed via SuperPID

Category: General LinuxCNC Questions

Hoping for some help.
I was using a Dell Optiplex 780 SFF with a 5i25 a G540 and a SuperPID. All worked well until the G540 died. I replaced it with some sainsmart bobs and stepperonline motors/drivers. All worked great until the Dell died. I went with a RPi4 and 7c81 with mx3660x2d firmware. I had to remove the relay in order to use the DB25-14 pin as pwm. The output on that pin ranges from 0.90v to 5v when I click the + for the spindle speed in axis. When I do a M3 S8000 the rpm is something like 15000 and the pin voltage is something  like 1.7v. I have the pwm_frequncy set to 50 as I believe is needed. Whats the best way to calibrate the spindle?

Thanks for any help.
I can try to upload my configs if needed.
  • FlaredFins
  • FlaredFins
11 Apr 2024 23:19
Questions on THCad2 was created by FlaredFins

Questions on THCad2

Category: Driver Boards

I have searched with not much luck on info for the THCad2 (lots of info on the others) I'm curious on a few points that I've come across. When using the THCad2 for ohmic sense I've seen a separate power supply should be used, yet I've seen power being pulled directly from the 7i96s from the encoder pins.  What would the recommended setup for that be? And are there certain pin configurations the THCad2 should be set for,  as well as the pins for the encoder on the 7i96s? Also for using the THCad2 for height control I will be using Hypertherm 65 with 50:1 divider. I saw on a diagram a HV resistor is used but that was for 1:1 I believe. Will I need something in place of that running 50:1? And Does the THCad2 need to be mounted by the plasma or can it be located in the main control panel as I've seen conflicting ideas for that?
  • lrak
  • lrak's Avatar
11 Apr 2024 23:17 - 11 Apr 2024 23:20

Unexpected realtime delay on task 0 on a HP8300

Category: Computers and Hardware

OK - that seems to have fixed it - it has been up for some days now with out the hiccup..

What I did :
installed irqbalance

I had to change this line in /etc/irqbalance.d/lcnc_irqpolicy.sh


#NIC=`awk 'BEGIN{nic=""} {if ($1=="iface") {tmpnic = $2} if ($1=="address") {if ($2 == 10.10.10.1) {nic = tmpnic}}} END{print(nic)}' /etc/network/interfaces`
NIC=enp2s0



NIC just needs the name of the interface.
  • cmorley
  • cmorley
11 Apr 2024 23:08

What's the best way to override the facing.py utility?

Category: Qtvcp

# put/rename the file in YOUR CONFIGFOLDER/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py

import sys
import importlib

from qtvcp.lib.qt_ngcgui.ngcgui import NgcGui
from qtvcp.lib.auto_height.auto_height import Auto_Measure
from qtvcp.core import Path, Action

PATH = Path()
ACTION = Action()

# get reference to original handler file so we can subclass it
sys.path.insert(0, PATH.SCREENDIR)
module = "{}.{}_handler".format(PATH.BASEPATH,PATH.BASEPATH)
mod = importlib.import_module(module, PATH.SCREENDIR)
sys.path.remove(PATH.SCREENDIR)
HandlerClass = mod.HandlerClass

# return our subclassed handler object
def get_handlers(halcomp, widgets, paths):
    return [UserHandlerClass(halcomp, widgets, paths)]

class UserHandlerClass(HandlerClass):
    print('\nCustom subclassed handler for custom facing utility - loaded\n')

    def init_utils(self):
        from qtvcp.lib.gcode_utility.facing import Facing          # <<<< modify this
        self.facing = Facing()
        self.w.layout_facing.addWidget(self.facing)

        from qtvcp.lib.gcode_utility.hole_circle import Hole_Circle
        self.hole_circle = Hole_Circle()
        self.w.layout_hole_circle.addWidget(self.hole_circle)

        try:
            from qtvcp.lib.gcode_utility.hole_enlarge import Hole_Enlarge
            self.hole_enlarge = Hole_Enlarge()
            ACTION.ADD_WIDGET_TO_TAB(self.w.tabWidget_utilities,self.hole_enlarge, 'Hole Enlarge')
        except Exception as e:
            print("Utility hole enlarge unavailable: {}".format(e))

        #LOG.info("Using NGCGUI utility")
        self.ngcgui = NgcGui()
        self.w.layout_ngcgui.addWidget(self.ngcgui)
        self.ngcgui.warp_info_frame(self.w.ngcGuiLeftLayout)

        self.auto_measure = Auto_Measure(self.w)
        self.w.layout_workpiece.addWidget(self.auto_measure)
        self.auto_measure._hal_init()

Try this.
save it here on your system:  CONFIGFOLDER/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py
Then change the one line I marked to load your new facing program.

from qtvcp.lib.gcode_utility.facing2 import Facing 

I assume it's basically the same. Make sure it's in the path stated above and change the import line/program to suit the name.

Is your version suitable for integration into linuxcnc?

Chris
Displaying 26416 - 26430 out of 26755 results.
Time to create page: 0.817 seconds
Powered by Kunena Forum