Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
21 Oct 2024 16:09

7i95T spindle control via Modbus RS485 and SPINX1A

Category: Driver Boards

Is this with a SPINX1A?

The SPINX1A should have better than 1% linearity

Does the 10,75V vary?
 
  • tommylight
  • tommylight's Avatar
21 Oct 2024 16:08

Laser bleibt wegen M3 immer kurz stehen, wie kann man das beheben?

Category: G&M Codes

forum.linuxcnc.org/show-your-stuff/46752...ver-etcher-scratcher
Das ist die selbe wie ein Laser, mit PWM und ales drin und dran, hat noch die laser aus fuhr program stop and resume...
  • tommylight
  • tommylight's Avatar
21 Oct 2024 16:05
Replied by tommylight on topic Gecko 540 + Mesa 5i25 configuration.

Gecko 540 + Mesa 5i25 configuration.

Category: Basic Configuration

Mesa config does not have home/limit switches set up, just some stuff copied and edited from the prallel port config, so that will not work.
Use the PncConf wizard to make a new config, add home/limit switches there, it will set stuff up properly in most cases, even for a single input multi switch homing.
  • tommylight
  • tommylight's Avatar
21 Oct 2024 15:53
Replied by tommylight on topic About lathe spindle encoder

About lathe spindle encoder

Category: General LinuxCNC Questions

What RPM?
There is a project here using ESP32 in wireless mode for spindle encoder counting that works very well as described by the maker,
github.com/futurelink/linuxcnc-spindle-encoder
If you do have a high RPM spindle, do not bother with it as Arduino will not be able to count, for a 24000RPM with 2000PPR encoder you will have to count 3200000 counts per second or 3.2MHz !
Using interrupts in arduino might just get to count up to 1MHz, but that would be really pushing it.
  • vmihalca
  • vmihalca
21 Oct 2024 15:52

7i95T spindle control via Modbus RS485 and SPINX1A

Category: Driver Boards

pwm frequency is set to 5000
I've set the scale to 3225, it doesn't seem to make any difference.
I was not using PID for spindle speed, I was using lincurve.
However, I think that as long as PWM value is correct, the problem is somehwere else. I think the PWM value should go between 0 and 1, at max speed its 0.999, at 1500 rpm is almost 0.5, which seems correct to me.

I don't know what else to check :/
  • Aciera
  • Aciera's Avatar
21 Oct 2024 15:44 - 21 Oct 2024 17:39

M6 remap with tool_touch_off.ngc causing gcode parser to fail

Category: QtPyVCP

Have you tried inserting a debug statement in your 'tool_touch_off.ngc' to see what the value of '#5400' actually is when that G10 L1 .. line is called?

For example:

#<new_tool_length_offset> = [ABS[#<spindle_zero_height> + #5063 - #<offset_z>]]
(debug, Current Tool Number : #5400)
G10 L1 P #5400 Z [#<new_tool_length_offset>] (5400 = tool number)

[edit]

You may need to add an if case so as not to run parts of your remap if not in task mode (ie block it from being run on load)

something like:
o100 if [[#<_task> EQ 1]
....
o100 end if
  • tommylight
  • tommylight's Avatar
21 Oct 2024 15:36

Newbie question regarding a Gantry system using a 7i96s

Category: General LinuxCNC Questions

Don't know how to put this nicely, so... stop complicating things! :)
Build the machine, mount the motors, mount switches, start wiring and testing things, use PncConf to make a configuration, then edit it as you go along and add features.
I am not saying it is easy, you just have to start somewhere and take things step by step, not everything at once as this does not work and ends up in disappointment.
The above answer is based on several posts, not this one.
Have a look here, maybe it gives you some ideas on how to organize things in small groups:
forum.linuxcnc.org/show-your-stuff/38547...plasma-build?start=0
  • Aciera
  • Aciera's Avatar
21 Oct 2024 15:31
Replied by Aciera on topic Homing switches dont react, CNC goes on.

Homing switches dont react, CNC goes on.

Category: Basic Configuration

Follow the trail and watch the hal input pins:

net min-home-x <= hal_gpio.PIN40-in
net min-home-y <= hal_gpio.PIN36-in
net min-home-z <= hal_gpio.PIN38-in

If these are also not changing state (as I would expect) then you have a problem with the hal_gpio driver (which I know nothing about).
  • zmrdko
  • zmrdko's Avatar
21 Oct 2024 15:30

M6 remap with tool_touch_off.ngc causing gcode parser to fail

Category: QtPyVCP

here is the remap:
O<m6remap> sub
;(debug, change: current_tool=#<_current_tool>)
;(debug, change: selected_tool=#<_selected_tool>)

;o100 if [EXISTS[#<_ini[tool_change]xpos>]]
;  (debug, [tool_change]xpos exists: #<_ini[tool_change]xpos>)
;o100 else
;  (debug, [tool_change]xpos does not exist)
;o100 endif

;o110 if [EXISTS[#<_ini[tool_change]ypos>]]
;  (debug, [tool_change]ypos exists: #<_ini[tool_change]ypos>)
;o110 else
;  (debug, [tool_change]ypos does not exist)
;o110 endif

M73

#<tmp_current_tool> = #<_current_tool>
#<tmp_selected_tool> = #<_selected_tool>
#<init_x> = #<_x>
#<init_y> = #<_y>
#<init_z> = #<_z>

(only do toolchange if the current tool is different from selected tool)
o100 if [#<tmp_current_tool> NE #<tmp_selected_tool>]

  (go to tool change position defined in ini, via safe Z0)
  G90
  G0 G53 Z#5163
  G0 G53 X#<_ini[tool_change]xpos> Y#<_ini[tool_change]ypos>

o100 endif

M6 (use built in M6 behavior)

(tool touchoff after M6 tool change)
o110 if [#<tmp_current_tool> NE #<tmp_selected_tool>]
  o<tool_touch_off> call
o110 endif

(go to initial XY position via safe Z0 then go initial Z0 position)
G90
G0 G53 Z#5163
G0 X#<init_x> Y#<init_y>

O<m6remap> endsub [1]
m2

github.com/zmrdko/probe_basic/blob/4671e...routines/m6remap.ngc
  • PCW
  • PCW's Avatar
21 Oct 2024 15:19

Unexpected realtime delay on task 0 with period 1000000

Category: QtPyVCP

You might check the network latency with

sudo chrt 99 ping -i .001 -q [7i96s_ip_address]

where [7i96s_ip_address] is either 10.10.10.10 or 192.168.1.121

Let the command run for a couple of minutes and the hit control C
to stop the command and print the statistics.
  • bkt
  • bkt's Avatar
21 Oct 2024 15:17
Replied by bkt on topic c++ compiling error

c++ compiling error

Category: Advanced Configuration

not understand ...... problem here near here ....
void set_CL_I20_OnOff(bool pinOutValue, QString pinOutName){
    //char name[] = pinOutName.toStdString().c_str();
    qDebug() << Q_FUNC_INFO << "func INPUT " << pinOutValue << "  &  " << pinOutName << "  ;";
    char name[strlen(pinOutName.toStdString().c_str()) + 1];  // Make sure there's enough space
    strcpy(name, pinOutName.toStdString().c_str());
    qDebug() << Q_FUNC_INFO << "func INPUT -- conv " << name  << "  &  " << pinOutValue  << "  ;";
    if(pinOutValue == true){ char valueOn[] = "1"; do_sets_cmd(name,valueOn);}
    else { char valueOff[] = "0"; do_sets_cmd(name,valueOff);}

}



attach complete file.
  • Tchefter
  • Tchefter's Avatar
21 Oct 2024 15:16

G-Code Verarbeitung: Kurze Pausen zwischen Bewegungen - Wie beschleunigen?

Category: Deutsch

Kommt drauf was Inventor ausgibt.
Die meisten Cam Progis verarbeiten DXF, SVG und PLT.
Schau dir mal Estlcam an. Ist ein einfaches und mittlerweile sehr mächtiges Programm geworden.
In Inkscape kannst Du auch einen Gcode ausgeben, habe ich mich aber auch noch nicht wirklich damit beschäftigt.
  • Muecke
  • Muecke's Avatar
21 Oct 2024 14:59

G-Code Verarbeitung: Kurze Pausen zwischen Bewegungen - Wie beschleunigen?

Category: Deutsch

Ach so.
Und was mache ich, wenn ich keine Zeichnung habe?
Ich habe nämlich ein Objekt, bei dem ich die Kanten manuell abgefahren und die Koordinaten erhalten habe, die ich nun nachfahren möchte.

Erstelle ich dann die Linien im CAD-Programm und lasse den G-Code generieren?

Ich habe Inventor 2023, kann ich das damit machen?
  • bkt
  • bkt's Avatar
21 Oct 2024 14:45
Replied by bkt on topic c++ compiling error

c++ compiling error

Category: Advanced Configuration

Hi Bkt,

github.com/bkt-it/Lcnc-test-qt6/tree/main .... the new file with some command .... but receive alwais segmentation fault when try to press button or read in out ...... maybe some problem with too old version of get_commnd.h and send_command.h ....

not attach my ini and hal because ethercat i/o connect .... but for now I use demo.sim.classicladder config and I add some custom pin like:
net hal_cmd_1 classicladder.0.in-101 <= lcec.0.4.din-0 
net hal_cmd_2 classicladder.0.in-102 <= lcec.0.4.din-1 
net hal_cmd_3 classicladder.0.in-103 <= lcec.0.4.din-2 
net hal_cmd_4 classicladder.0.in-104 <= lcec.0.4.din-3 

net in17 classicladder.0.in-60 <= lcec.0.5.din-7        
net out10 lcec.0.3.dout-0 => classicladder.0.out-10

hope these problem can solve in short timer ......

regards
 
Displaying 22186 - 22200 out of 22894 results.
Time to create page: 0.428 seconds
Powered by Kunena Forum