Advanced Search

Search Results (Searched for: )

  • MaHa
  • MaHa
Today 19:01
Disable pushbutton was created by MaHa

Disable pushbutton

Category: Flex GUI

I am looking at disable a pushbutton during program runtime. No idea how to do. It is connected to python module, and should not
be enabled during runtime. Is there a setting, it gets greyed out, eg. like mdi-button?
  • cmorley
  • cmorley
Today 18:45
Replied by cmorley on topic QT Dragon Unable to Set Tool Height

QT Dragon Unable to Set Tool Height

Category: Qtvcp

What version of linuxcnc are you using?
  • cmorley
  • cmorley
Today 18:17

LatheEasyStep – experimental QtVCP macro for step-by-step lathe programming

Category: Qtvcp

There is a version of nativecam in a linuxcnc branch that mostly works.
It's a work in very slow progress. It's based on Qt.
github.com/LinuxCNC/linuxcnc/tree/qt_ncam

There is also another project I've seem on the forum that keeps it gtk based and just updates it to python3 and whatever pygtk is called now.

But I would suggest you just finish what you have built, as it seems you are pretty far along.
You could always convert it to another platform later.
  • RotarySMP
  • RotarySMP's Avatar
Today 17:12

How to install simplescreenrecorder on old version of Debian?

Category: Computers and Hardware

Thanks guys.
I did do:
apt-get update
before I started. 

I just ran it update again to check, and the distro is wheezy. 

I watched Rods video, but don't want to update to LCNC 2.8 or above as I have had a working system, and don't have the time to play around getting it configured again for the joints change, mesa card latency etc.
Cheers,
Mark
 
  • Thllll
  • Thllll
Today 16:52

Freelancer wanted to get tool sensor working (software)

Category: User Exchange

Mr.Rodw big fan of your work! I wouldnt disagree with that however if there is solution to continue to use ER16 tooling (I should have mentioned that in the og post) then I would rather do that then invest in a TTS spindle and TTS collets. I know there is a solution to this
  • PCW
  • PCW's Avatar
  • aDm1N
  • aDm1N's Avatar
Today 15:38

LatheEasyStep – experimental QtVCP macro for step-by-step lathe programming

Category: Qtvcp

NativeCAM is an interesting project, but it has a fundamental issue today:the codebase is very old (Python 2, GTK2/PyGTK) and has not been actively maintained for quite some time. I have taken a closer look at the project locally and am currently trying to get it running on a modern system (Debian 13, Python 3, LinuxCNC 2.10). At the moment it already fails at the basic dependency level, since Python 2 and PyGTK are essentially unavailable on current distributions. Before discussing any functional extensions, a significant porting effort is required (Python 3, GTK3/gi).Only if NativeCAM can be made stable on a modern system does it make sense to consider whether and how the lathe functionality could be extended or reimplemented. For now, my focus is not on new features, but solely on determining whether the project is still technically viable as a future foundation.
  • PCW
  • PCW's Avatar
Today 15:18

Bitfile for Mesa 7i96s + 7i85 (+Modbus (PKT-Pin))

Category: Driver Boards

Yes, you may need to use pkluart (RX and TX) version 2 if not running the latest LinuxCNC
  • manny
  • manny
Today 13:54

LinuxCNC + Mesa 7i43 – Axis A stepper (stepgen), error

Category: HAL

Hello,

I am using LinuxCNC with a Mesa 7i43 card.
Axes X, Y and Z are working correctly.

I need help with configuring Axis A (4th axis),
which I use as an auxiliary axis and want to control
with a stepper motor using STEP/DIR signals.

Hardware:
- LinuxCNC
- Mesa 7i43
- Stepper driver – blue digital stepper driver, Leadshine DM542 / DM556 type
  (or compatible clone) with PUL+, PUL-, DIR+, DIR-, ENA+, ENA- inputs
- 2-phase stepper motor

Stepper driver wiring:
- PUL+  -> Mesa P3 pin 25
- PUL-  -> Mesa P3 pin 26
- DIR+  -> Mesa P3 pin 27
- DIR-  -> Mesa P3 pin 28
- ENA+  -> Mesa P3 pin 29
- ENA-  -> Mesa P3 pin 30

The driver is configured by DIP switches for microstepping
(e.g. 3200 pulses per revolution).

Axis A is configured in the HAL file as a stepper axis
using hm2 stepgen (stepgen.00).

I need advice on how to correctly modify the HAL file
so that Axis A works properly as a stepper axis
with the Mesa 7i43.

I am attaching my complete HAL file.

Thank you.


#*******************
#  AXIS A
#*******************

setp   pid.a.Pgain     [AXIS_3]P
setp   pid.a.Igain     [AXIS_3]I
setp   pid.a.Dgain     [AXIS_3]D
setp   pid.a.bias      [AXIS_3]BIAS
setp   pid.a.FF0       [AXIS_3]FF0
setp   pid.a.FF1       [AXIS_3]FF1
setp   pid.a.FF2       [AXIS_3]FF2
setp   pid.a.deadband  [AXIS_3]DEADBAND
setp   pid.a.maxoutput [AXIS_3]MAX_OUTPUT
setp   pid.a.error-previous-target true
setp   pid.a.maxerror .0005

net a-index-enable  <=> pid.a.index-enable
net a-enable        =>  pid.a.enable
net a-pos-cmd       =>  pid.a.command
net a-vel-cmd       =>  pid.a.command-deriv
net a-pos-fb        =>  pid.a.feedback
net a-output        =>  pid.a.output

# Step Gen signals/setup

setp   hm2_7i43.0.stepgen.00.dirsetup        [AXIS_3]DIRSETUP
setp   hm2_7i43.0.stepgen.00.dirhold         [AXIS_3]DIRHOLD
setp   hm2_7i43.0.stepgen.00.steplen         [AXIS_3]STEPLEN
setp   hm2_7i43.0.stepgen.00.stepspace       [AXIS_3]STEPSPACE
setp   hm2_7i43.0.stepgen.00.position-scale  [AXIS_3]STEP_SCALE
setp   hm2_7i43.0.stepgen.00.step_type        0
setp   hm2_7i43.0.stepgen.00.control-type     1
setp   hm2_7i43.0.stepgen.00.maxaccel         [AXIS_3]STEPGEN_MAXACCEL
setp   hm2_7i43.0.stepgen.00.maxvel           [AXIS_3]STEPGEN_MAXVEL

# ---closedloop stepper signals---

net a-pos-cmd    <= axis.3.motor-pos-cmd
net a-vel-cmd    <= axis.3.joint-vel-cmd
net a-output     => hm2_7i43.0.stepgen.00.velocity-cmd
net a-pos-fb     <= hm2_7i43.0.stepgen.00.position-fb
net a-pos-fb     => axis.3.motor-pos-fb
net a-enable     <= axis.3.amp-enable-out
net a-enable     => hm2_7i43.0.stepgen.00.enable

# ---setup home / limit switch signals---

net a-home-sw     =>  axis.3.home-sw-in
net a-neg-limit     =>  axis.3.neg-lim-sw-in
net a-pos-limit     =>  axis.3.pos-lim-sw-in



 
  • tommylight
  • tommylight's Avatar
Today 12:07

No speed control on xhc-wb04b-6 pendant on 3 axis router

Category: Basic Configuration

Usually due to naming errors, like spindle.enable should be spindle.0.enable, axis should be joints, etc.
  • unknown
  • unknown
Today 10:54 - Today 11:01

How to install simplescreenrecorder on old version of Debian?

Category: Computers and Hardware

Dependencies will be a nightmare, libqt5 will be a problem as it would appear it wasn't packaged for Wheezy, if in fact Wheezy is the Debian version Old Mate is running.
  • TripleM
  • TripleM
Today 09:31

Bitfile for Mesa 7i96s + 7i85 (+Modbus (PKT-Pin))

Category: Driver Boards

I tested the bit file...
The good news: nothing is damaged. But I got this error
Debug file information:
Note: Using POSIX realtime
hm2/hm2_7i96s.0: Unsupported or inconsistent PktUART TX module (version 3)not loading driver 
hm2/hm2_7i96s.0: failed to parse Module Descriptor 12
hm2_eth: rtapi_app_main: Invalid argument (-22)

Should I use version 2?
I change the Version by editing x"03"--> x"02"?:
(PktUARTTTag,        x"03",    ClockLowTag,            x"01",    PktUARTTDataAddr&PadT,        PktUARTTNumRegs,         x"00",    PktUARTTMPBitMask),
        (PktUARTRTag,        x"03",    ClockLowTag,            x"01",    PktUARTRDataAddr&PadT,        PktUARTRNumRegs,        x"00",    PktUARTRMPBitMask),

Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I96
  FPGA Size: 20 KGates
  FPGA Pins: 256
  Number of IO Ports: 3
  Width of one I/O port: 17
  Clock Low frequency: 100.0000 MHz
  Clock High frequency: 160.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:

  Module: DPLL
  There are 1 of DPLL in configuration
  Version: 0
  Registers: 7
  BaseAddress: 7000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 3 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: OutM
  There are 1 of OutM in configuration
  Version: 0
  Registers: 1
  BaseAddress: B000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: PWM
  There are 1 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4100
  ClockFrequency: 160.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: StepGen
  There are 5 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: MuxedQCount
  There are 6 of MuxedQCount in configuration
  Version: 4
  Registers: 5
  BaseAddress: 3600
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: MuxedQCountSel
  There are 1 of MuxedQCountSel in configuration
  Version: 0
  Registers: 0
  BaseAddress: 0000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: SSerial
  There are 1 of SSerial in configuration
  Version: 0
  Registers: 6
  BaseAddress: 5B00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: SSR
  There are 1 of SSR in configuration
  Version: 0
  Registers: 2
  BaseAddress: 7D00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: InM
  There are 1 of InM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 8500
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: LED
  There are 1 of LED in configuration
  Version: 0
  Registers: 1
  BaseAddress: 0200
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: PktUARTTX
  There are 1 of PktUARTTX in configuration
  Version: 3
  Registers: 4
  BaseAddress: 6100
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: PktUARTRX
  There are 1 of PktUARTRX in configuration
  Version: 3
  Registers: 4
  BaseAddress: 6500
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for TB3 -> 7I96_0
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

TB3-1                   0   IOPort       InM              0        Input0_EncA0    (In)
TB3-2                   1   IOPort       InM              0        Input1_EncB0    (In)
TB3-3                   2   IOPort       InM              0        Input2_EncA1    (In)
TB3-4                   3   IOPort       InM              0        Input3_EncB1    (In)
TB3-5                   4   IOPort       InM              0        Input4_EncA2    (In)
TB3-6                   5   IOPort       InM              0        Input5_EncB2    (In)
TB3-7                   6   IOPort       InM              0        Input6_EncA3    (In)
TB3-8                   7   IOPort       InM              0        Input7_EncB3    (In)
TB3-9                   8   IOPort       InM              0        Input8          (In)
TB3-10                  9   IOPort       InM              0        Input9          (In)
TB3-11                 10   IOPort       InM              0        Input10         (In)
TB3-13,14              11   IOPort       SSR              0        Out-00          (Out)
TB3-15,16              12   IOPort       SSR              0        Out-01          (Out)
TB3-17,18              13   IOPort       SSR              0        Out-02          (Out)
TB3-19,20              14   IOPort       SSR              0        Out-03          (Out)
TB3-21,22              15   IOPort       OutM             0        Output4         (Out)
TB3-23,24              16   IOPort       OutM             0        Output5         (Out)

IO Connections for TB1/TB2 -> 7I96_1
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

TB1-2,3                17   IOPort       StepGen          0        Step/Table1     (Out)
TB1-4,5                18   IOPort       StepGen          0        Dir/Table2      (Out)
TB1-8,9                19   IOPort       StepGen          1        Step/Table1     (Out)
TB1-10,11              20   IOPort       StepGen          1        Dir/Table2      (Out)
TB1-14,15              21   IOPort       StepGen          2        Step/Table1     (Out)
TB1-16,17              22   IOPort       StepGen          2        Dir/Table2      (Out)
TB1-20,21              23   IOPort       StepGen          3        Step/Table1     (Out)
TB1-22,23              24   IOPort       StepGen          3        Dir/Table2      (Out)
TB2-2,3                25   IOPort       StepGen          4        Step/Table1     (Out)
TB2-4,5                26   IOPort       StepGen          4        Dir/Table2      (Out)
TB2-7,8                27   IOPort       MuxedQCount      2        MuxQ-A          (In)
TB2-10,11              28   IOPort       MuxedQCount      2        MuxQ-B          (In)
TB2-13,14              29   IOPort       MuxedQCount      2        MuxQ-IDX        (In)
TB2-16,17              30   IOPort       PktUARTRX        0        RXData          (In)
TB2-18,19              31   IOPort       PktUARTTX        0        TXData          (Out)
Internal-TXEn          32   IOPort       PktUARTTX        0        TXEna           (Out)
Internal               33   IOPort       SSR              0        AC Ref          (Out)

IO Connections for P1 -> 7I96_2
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

P1-01/DB25-01          34   IOPort       SSerial          0        RXData4         (In)
P1-02/DB25-14          35   IOPort       SSerial          0        TXData4         (Out)
P1-03/DB25-02          36   IOPort       SSerial          0        RXData3         (In)
P1-04/DB25-15          37   IOPort       SSerial          0        TXData3         (Out)
P1-05/DB25-03          38   IOPort       SSerial          0        RXData2         (In)
P1-06/DB25-16          39   IOPort       SSerial          0        TXData2         (Out)
P1-07/DB25-04          40   IOPort       SSerial          0        RXData1         (In)
P1-08/DB25-17          41   IOPort       SSerial          0        TXData1         (Out)
P1-09/DB25-05          42   IOPort       SSerial          0        RXData0         (In)
P1-11/DB25-06          43   IOPort       SSerial          0        TXData0         (Out)
P1-13/DB25-07          44   IOPort       MuxedQCountSel   0        MuxSel0         (Out)
P1-15/DB25-08          45   IOPort       MuxedQCount      0        MuxQ-A          (In)
P1-17/DB25-09          46   IOPort       MuxedQCount      0        MuxQ-B          (In)
P1-19/DB25-10          47   IOPort       MuxedQCount      0        MuxQ-IDX        (In)
P1-21/DB25-11          48   IOPort       MuxedQCount      1        MuxQ-A          (In)
P1-23/DB25-12          49   IOPort       MuxedQCount      1        MuxQ-B          (In)
P1-25/DB25-13          50   IOPort       MuxedQCount      1        MuxQ-IDX        (In)
    
  • timo
  • timo
Today 08:51 - Today 09:01
Replied by timo on topic CNC camshaft grinder DIY project

CNC camshaft grinder DIY project

Category: CNC Machines

I am super curious about that.
You might consider a more narrow grinding wheel. Then you can traverse the x-Axis. I think this might improve surface finish.

I also would add a tailstock support on the end of the cam shaft. It will improve things, worth the effort.

Edit: I would first try to get x-y-z and rotation running. Then try some simple cylindrical grinding to get a feel for the machine and surface finishes. 

Please keep reporting how things go. 
  • jameslc15
  • jameslc15
Today 06:36 - Today 06:37

No speed control on xhc-wb04b-6 pendant on 3 axis router

Category: Basic Configuration

Hi Tommy

Thank you for the heads up, I did some reading prior to get the vfd signal going and did hear to other peoples warnings on this forum so I've got an abs component running successfully. The issue is the pendant won't send rpm signal to analogue output 5 were as axis will ?
  • grandixximo
  • grandixximo's Avatar
Today 06:23
Replied by grandixximo on topic How to fix "Queue is not empty after probing"

How to fix "Queue is not empty after probing"

Category: General LinuxCNC Questions

could you run
latency-histogram
instead of latency-test?
I think you might be onto something, I use a custom version with probe tripped during non-probe move disabled, and I never see queue error...
Displaying 1 - 15 out of 20730 results.
Time to create page: 0.237 seconds
Powered by Kunena Forum