Advanced Search

Search Results (Searched for: )

  • Project_Hopeless
  • Project_Hopeless's Avatar
12 Oct 2024 17:24
Replied by Project_Hopeless on topic Ignore Limit check Box Missing

Ignore Limit check Box Missing

Category: AXIS

Maybe this helps:
forum.linuxcnc.org/21-axis/49044-axis-ov...limits-checkbox-gone
 

That was it.  I needed at least 1 axis limit setup in the io.hal.
  • timo
  • timo
12 Oct 2024 16:55
Replied by timo on topic CNC Code selber erstellen

CNC Code selber erstellen

Category: Deutsch

Welche Kamera? Iphone, oder Sony. :-)
  • PhilipME
  • PhilipME's Avatar
12 Oct 2024 16:38 - 13 Oct 2024 03:45
LMDE6 problem-----> (SOLVED) was created by PhilipME

LMDE6 problem-----> (SOLVED)

Category: General LinuxCNC Questions

I installed LMDE6. The installation wizard give me a message that installation is complete.

But when I boot, the process goes straight to windows. Linux not even in the bootable devices.

During installation. the wizard force me to create a partition for the grub. But I think windows boot manager takes over and no any sign that LMDE6 exist.

Any body came across this problem ?

EDIT: I tried this solution but still not working
linuxmint-installation-guide.readthedocs...atest/multiboot.html


Good day

Philip
  • Deckerjwd
  • Deckerjwd's Avatar
12 Oct 2024 16:23
Replied by Deckerjwd on topic What is gs2_vfd ?

What is gs2_vfd ?

Category: General LinuxCNC Questions

ok the vfd is installed and the motor work on Mostly stock setting, no serial yet. my MB have on board serial, i also have a 7i44 card in here is it possible to run gs2_vfd off that card
  • Muecke
  • Muecke's Avatar
12 Oct 2024 16:09
Replied by Muecke on topic CNC Code selber erstellen

CNC Code selber erstellen

Category: Deutsch

Gibt es einen Befehl, mit dem ich meinen gesamten G-Code zurückgeben kann, so dass ich nicht alle Zeilen in umgekehrter Reihenfolge eingeben muss?
  • Muecke
  • Muecke's Avatar
12 Oct 2024 16:07

Fehler: LinuxCNC Jog_CONT Mode is TELEOP, cannot jog joint

Category: Deutsch

 

File Attachment:

File Name: demo2023.ini
File Size:8 KB

 

File Attachment:

File Name: io_2024-10-12.hal
File Size:2 KB

 

File Attachment:

File Name: joypad_jog...0-12.hal
File Size:1 KB

 

File Attachment:

File Name: joypad_xyz.hal
File Size:2 KB

 

File Attachment:

File Name: main_2024-10-12.hal
File Size:9 KB

 
  • cnctrucker
  • cnctrucker's Avatar
12 Oct 2024 15:38
Replied by cnctrucker on topic Machine warning lights (Red, Amber, Green)

Machine warning lights (Red, Amber, Green)

Category: HAL

Please post your hal file so we are on the same page.
 



As requested.  I have 5 status LEDs on the face of the control box; I am trying to light them to reflect the status of the machine.  The machine itself works perfectly -- it is the status light code that I am having trouble with.
# Generated by stepconf 1.1 at Tue Oct  8 18:45:41 2024
# If you make changes to this file, they will be
# overwritten when you run stepconf again
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_spindles=[TRAJ]SPINDLES
loadrt hal_parport cfg="0xd010 out 0xb010 in"
setp parport.0.reset-time 2000
loadrt stepgen step_type=0,0,0,0
#
# Uncomment next 4 lines for classicladder version of machine lights in custom_postgui.hal
# Load classic ladder
# loadrt classicladder_rt numPhysInputs=15 numPhysOutputs=15 numS32in=10 numS32out=10 numFloatIn=10 numFloatOut=10 numBits=50 numWords=50
# addf classicladder.0.refresh servo-thread
# loadusr classicladder --nogui custom.clp

# START CODE: Trying pure hal version of machine lights
loadrt and2 count=2
loadrt xor2 count=1
loadrt siggen num_chan=1
addf and2.0 servo-thread
addf and2.1 servo-thread
addf xor2.0 servo-thread
addf siggen.0.update servo-thread

setp siggen.0.frequency 2

#Yellow Light
net yellow-in1 <= halui.machine.is-on => and2.0.in0
net yellow-in2 <= halui.program.is-idle => and2.0.in1
net yellow-out <= and2.0.out
net yellow-out => parport.1.pin-16-out

#Green Light
net green-in1 <= halui.program.is-running => xor2.0.in0
net green-in2 <= halui.program.is-paused => and2.1.in1
net flash <= siggen.0.clock => and2.1.in0
net green-flash <= and2.1.out => xor2.0.in1
net green-on <= xor2.0.out => parport.0.pin-17-out

#Red Light
net red-on <= halui.estop.is-activated => parport.0.pin-16-out
# END CODE: Trying pure hal version of machine lights

loadrt lut5
loadrt  plasmac

addf parport.0.read base-thread
addf parport.1.read base-thread
addf stepgen.make-pulses base-thread
addf parport.0.write base-thread
addf parport.0.reset base-thread
addf parport.1.write base-thread

addf stepgen.capture-position servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf plasmac servo-thread
addf stepgen.update-freq servo-thread

# ---PLASMA INPUT DEBOUNCE---
loadrt dbounce names=db_breakaway,db_float,db_ohmic,db_arc-ok
addf db_float     servo-thread
addf db_ohmic     servo-thread
addf db_breakaway servo-thread
addf db_arc-ok    servo-thread

# ---JOINT ASSOCIATED WITH THE Z AXIS---
net plasmac:axis-position joint.3.pos-fb => plasmac.axis-z-position

# ---PLASMA INPUTS---
# ---all modes---
net plasmac:float-switch   => db_float.in
net plasmac:breakaway      => db_breakaway.in
net plasmac:ohmic-probe    => db_ohmic.in
net plasmac:ohmic-sense-in   => plasmac.ohmic-sense-in
# ---modes 0 & 1
net plasmac:arc-voltage-in => plasmac.arc-voltage-in
# ---modes 1 & 2
net plasmac:arc-ok-in      => db_arc-ok.in
# ---mode 2
net plasmac:move-up        => plasmac.move-up
net plasmac:move-down      => plasmac.move-down

# ---PLASMA OUTPUTS---
# ---all modes---
# net plasmac:ohmic-enable   <= plasmac.ohmic-enable
# net plasmac:scribe-arm     <= plasmac.scribe-arm
# net plasmac:scribe-on      <= plasmac.scribe-on

# ---ARC VOLTAGE ENCODER---
loadrt encoder num_chan=1
addf encoder.update-counters base-thread
addf encoder.capture-position servo-thread
setp encoder.0.counter-mode 1
setp encoder.0.position-scale 1
net plasmac:arc-voltage-raw encoder.0.phase-A
net plasmac:arc-voltage-in encoder.0.velocity

net estop-out       => parport.0.pin-01-out
net xstep           => parport.0.pin-02-out
setp parport.0.pin-02-out-reset 1
net xdir            => parport.0.pin-03-out
net ystep           => parport.0.pin-04-out
setp parport.0.pin-04-out-reset 1
net ydir            => parport.0.pin-05-out
net zstep           => parport.0.pin-06-out
setp parport.0.pin-06-out-reset 1
net zdir            => parport.0.pin-07-out
net y2step          => parport.0.pin-08-out
setp parport.0.pin-08-out-reset 1
net y2dir           => parport.0.pin-09-out
setp parport.0.pin-14-out-invert 1
net plasmac:torch-on => parport.0.pin-14-out


net plasmac:arc-voltage-raw <= parport.0.pin-10-in
net plasmac:arc-ok-in <= parport.0.pin-11-in-not
net plasmac:float-switch <= parport.0.pin-12-in-not
net estop-ext       <= parport.0.pin-13-in

net min-home-x      <= parport.1.pin-02-in
net max-x           <= parport.1.pin-03-in
net min-home-y      <= parport.1.pin-04-in
net max-y           <= parport.1.pin-05-in
net min-home-z      <= parport.1.pin-06-in
net max-z           <= parport.1.pin-07-in
net min-home-y2      <= parport.1.pin-08-in
net max-y2           <= parport.1.pin-09-in

setp lut5.0.function 0x10000
net all-limit-home => lut5.0.in-4
net all-limit <= lut5.0.out
net xhoming <= joint.0.homing => lut5.0.in-0
net yhoming <= joint.1.homing => lut5.0.in-1
net y2homing <= joint.2.homing => lut5.0.in-2
net zhoming <= joint.3.homing => lut5.0.in-3

setp stepgen.0.position-scale [JOINT_0]SCALE
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 70000
setp stepgen.0.dirsetup 150000
setp stepgen.0.maxaccel [JOINT_0]STEPGEN_MAXACCEL
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
net xstep <= stepgen.0.step
net xdir <= stepgen.0.dir
net xenable joint.0.amp-enable-out => stepgen.0.enable
net min-home-x => joint.0.home-sw-in
net min-home-x => joint.0.neg-lim-sw-in
net max-x => joint.0.pos-lim-sw-in

setp stepgen.1.position-scale [JOINT_1]SCALE
setp stepgen.1.steplen 1
setp stepgen.1.stepspace 0
setp stepgen.1.dirhold 70000
setp stepgen.1.dirsetup 150000
setp stepgen.1.maxaccel [JOINT_1]STEPGEN_MAXACCEL
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
net ystep <= stepgen.1.step
net ydir <= stepgen.1.dir
net yenable joint.1.amp-enable-out => stepgen.1.enable
net min-home-y => joint.1.home-sw-in
net min-home-y => joint.1.neg-lim-sw-in
net max-y => joint.1.pos-lim-sw-in

setp stepgen.2.position-scale [JOINT_2]SCALE
setp stepgen.2.steplen 1
setp stepgen.2.stepspace 0
setp stepgen.2.dirhold 70000
setp stepgen.2.dirsetup 150000
setp stepgen.2.maxaccel [JOINT_2]STEPGEN_MAXACCEL
net y2pos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
net y2pos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
net y2step <= stepgen.2.step
net y2dir <= stepgen.2.dir
net y2enable joint.2.amp-enable-out => stepgen.2.enable
net min-home-y2 => joint.2.home-sw-in
net min-home-y2 => joint.2.neg-lim-sw-in
net max-y2 => joint.2.pos-lim-sw-in

setp stepgen.3.position-scale [JOINT_3]SCALE
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 70000
setp stepgen.3.dirsetup 150000
setp stepgen.3.maxaccel [JOINT_3]STEPGEN_MAXACCEL
net zpos-cmd joint.3.motor-pos-cmd => stepgen.3.position-cmd
net zpos-fb stepgen.3.position-fb => joint.3.motor-pos-fb
net zstep <= stepgen.3.step
net zdir <= stepgen.3.dir
net zenable joint.3.amp-enable-out => stepgen.3.enable
net min-home-z => joint.3.home-sw-in
net min-home-z => joint.3.neg-lim-sw-in
net max-z => joint.3.pos-lim-sw-in

net estop-out <= iocontrol.0.user-enable-out
net estop-ext => iocontrol.0.emc-enable-in

net tool-number <= iocontrol.0.tool-prep-number
net tool-change-loopback iocontrol.0.tool-change => iocontrol.0.tool-changed
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

 
  • timo
  • timo
12 Oct 2024 15:28
Replied by timo on topic Mach3 machine, some questions.

Mach3 machine, some questions.

Category: CNC Machines

That is settled then :-), the machine will get a Linux.

For installation I will just use a fresh SSD and install it properly, no point in messing with the live boot. The latency test is soso on the machine, but I think will do. ( I

What about the other questions?

As fate has it the driver for the y-axis released the magic smoke just when I tried to home the bloody thing. :-) not the first driver that dies, (not sure why they do this)
  • Muecke
  • Muecke's Avatar
12 Oct 2024 15:18
Replied by Muecke on topic CNC Code selber erstellen

CNC Code selber erstellen

Category: Deutsch

Nicht sicher, was du meinst.
Wenn ich den Code in die Maschine lade, dann bekomme ich die Grafik doch angezeigt.

Ich bekomme keine Vorschau :-(

(Screenshots mache ich bei Linux mit dem Fotoapparat :-), völlig dreist!)

Ömm welche Kamera?
Linux ist nicht meine Welt, sorry.

Mein Gerät meckert. "bad caracter C used".
Ich vermute, da gibt es einen Motor der das Messer in die Richtige Lage bewegt?

Ja genau, die C-Achse (jetzt hoffe ich, dass ich nichts Falsches sage) ist die Achse, die sich um die Z-Achse dreht. Wie du richtig vermutet hast, ist das meine Achse für die Messerrichtung.

Du könntest GRBLgru probieren, das scheint deine Daten zu akzeptieren.
... Bild ...
Allerdings sollte die Grafik auch auf der Linux-Maschine zu sehen sein.

erst, wenn ich sie abgefahren bin.

Die G00 Bewegungen werden offenbar nicht in der Vorschau angezeigt. Am Besten erstmal durch G01 tauschen?

Experiment: Wenn ich die Teile mit C lösche dann fährt die Maschine die Koordinaten brav ab.
Ersetze ich G00 mit G01 F300 sehe ich auch den Pfad in meiner Vorschau.

Ah cool, das werde ich auch ausprobieren, dann kann ich meinen Code auch dort ändern.
DANKE, ich melde mich wieder.


In Violett habe ich meine gewünschten Änderungen und da muss ich die C-Achse entsprechend drehen.
  • PCW
  • PCW's Avatar
12 Oct 2024 14:52
Replied by PCW on topic Mesa 7i96s --USB error finishing read

Mesa 7i96s --USB error finishing read

Category: Driver Boards

Well you could run the VFD entirely from 7I96S analog and 7I96S isolated outputs for enable and direction. That way there is no galvanic connection between the controller and the VFD circutry.

It does seem you have a very severe EMI issue (as evidenced by interference with Ethernet
and damage to the 7I96S RS-485 interface)

I would at the minimum add a line filter to the VFD input, and a common mode choke (large ferrite bead) to the UVW motor wires) or you may cause additional damage.
  • BaxEDM
  • BaxEDM's Avatar
12 Oct 2024 14:34

Issues with migrating configuration from LCNC 2.8.3 buster to 2.9.3 bookworm

Category: QtPyVCP

Hi,
I have a working configuration on LCNC 2.8.3 running on Buster. I would like to modernize so I'm trying to move to 2.9.3 bookworm. I figured I could just copy my existing configuration and run it, but that throws errors.
My configuration inserts a QtVCP window as additional tab in the Axis UI. Works great on 2.8.3. Now when I run that config on 2.9.3 I get two errors in separate windows. The first window is a QtVCP error window with the message:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtvcp/widgets/tab_widget.py", line 43, in tabSizeHint
    return QSize(size.width(), w)
           ^^^^^^^^^^^^^^^^^^^^^^
TypeError: arguments did not match any overloaded call:
  QSize(): too many arguments
  QSize(w: int, h: int): argument 2 has unexpected type 'float'
  QSize(a0: QSize): argument 1 has unexpected type 'int'

The second window is the LinuxCNC log (attached as file), where the problem line seems to be:

[QTvcp.QTVCP.WIDGETS.SCREEN_OPTIONS][[36mINFO[0m]  [32mInstalling Embedded tab:BaxEDM, default, halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} baxedm2[0m (screen_options.py:461)
[QTvcp.QTVCP.WIDGETS.SCREEN_OPTIONS][[33mWARNING[0m]  problem inserting VCP 'BaxEDM' to location: rightTab :
 'VCPWindow' object has no attribute 'rightTab' (screen_options.py:485)

Any ideas how to resolve this?
  • gitano
  • gitano
12 Oct 2024 14:29
Webcam sources - settings location was created by gitano

Webcam sources - settings location

Category: Basic Configuration

Hello!

I've been searching quite a lot in the documentation and on here, but i couldn't find a solution to a - probably relatively simple - problem, so i am asking here:

I'm in the middle of setting up a production system with LinuxCNC 2.9.3 and qtdragon, currently i am planning to implement 1-3 webcams,  the first as a probing cam in the CAMERA tab in the qtdraqgon UI, a second or third as a panorama cam from a different angle for remote surveillance.

The latter will be controlled via a streaming daemon like ustreamer, been using that on my 3d printers already and works great. The primary camera will be controlled directly via LinuxCNC and here my question kicks in:

Is there any configuration option located in the machine .ini file or elsewhere? If yes, where is it located and how is the syntax? Some entry where i can tell LinuxCNC exactly which video device to use, f.e. /dev/video0 or in my case more specific /dev/v4l/by-id/"vendorid", so that no service on the PC mixes up the devices. Or even grab a streaming daemon like ustreamer as well. 

I couldn't find such thing, neither for qtdragon nor for axis :/

If anyone here has an idea, that would be gladly appreciated!

Thank You very much!

Best Regards,
-lgitano
 
  • tommylight
  • tommylight's Avatar
12 Oct 2024 14:18

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

From the link
Rotates modern Linux desktop screen and input devices to match.
  • timo
  • timo
12 Oct 2024 14:17 - 12 Oct 2024 14:59
Replied by timo on topic CNC Code selber erstellen

CNC Code selber erstellen

Category: Deutsch

Nicht sicher, was du meinst.

Wenn ich den Code in die Maschine lade, dann bekomme ich die Grafik doch angezeigt.

(Screenshots mache ich bei Linux mit dem Fotoapparat :-), völlig dreist!)
Mein Gerät meckert. "bad caracter C used".
Ich vermute, da gibt es einen Motor der das Messer in die Richtige Lage bewegt?

Du könntest GRBLgru probieren, das scheint deine Daten zu akzeptieren.
 
Allerdings sollte die Grafik auch auf der Linux-Maschine zu sehen sein.

Die G00 Bewegungen werden offenbar nicht in der Vorschau angezeigt. Am Besten erstmal durch G01 tauschen?

Experiment: Wenn ich die Teile mit C lösche dann fährt die Maschine die Koordinaten brav ab.
Ersetze ich G00 mit G01 F300 sehe ich auch den Pfad in meiner Vorschau.
  • tommylight
  • tommylight's Avatar
12 Oct 2024 14:15
Replied by tommylight on topic Mach3 machine, some questions.

Mach3 machine, some questions.

Category: CNC Machines

Leave the running Mach3 alone?

Oh hell no ! :)
Boot the PC from a USB with LinuxCNC, make a quick config while in LIVE mode, test the machine, edit the config and test some more, etc.
You do not need to install it for testing.
Displaying 20281 - 20295 out of 24270 results.
Time to create page: 0.394 seconds
Powered by Kunena Forum