Advanced Search

Search Results (Searched for: )

  • 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
 
  • TheProcessTechnician
  • TheProcessTechnician
21 Oct 2024 14:44
Replied by TheProcessTechnician on topic Homing switches dont react, CNC goes on.

Homing switches dont react, CNC goes on.

Category: Basic Configuration

Value is set to FALSE even if I press the button.
  • PCW
  • PCW's Avatar
21 Oct 2024 14:29

7i95T spindle control via Modbus RS485 and SPINX1A

Category: Driver Boards

Normally, you would set the PWM scale to the spindle RPM
at SPV+ (so if the spindle RPM is 3000 at 10V, you would set
the PWM scale to 3225 (3000*10.75/10)

Then the PWM value is set directly in RPM.

If you have issues with non-linearity, check
that SPV+ is constant at different spindle settings.
Other possible causes of non-linearity are PID settings
or incorrect PWM frequency
  • Aciera
  • Aciera's Avatar
21 Oct 2024 14:27 - 21 Oct 2024 14:30
Replied by Aciera on topic Homing switches dont react, CNC goes on.

Homing switches dont react, CNC goes on.

Category: Basic Configuration

everything does as it should (input is normally 1, if it touches it opens ->0),

Have you checked that the relevant pins
'joint.0.home-sw-in'
'joint.1.home-sw-in'
'joint.2.home-sw-in'

Change from 0 to 1 when the switch is activated?
  • Aciera
  • Aciera's Avatar
21 Oct 2024 14:19 - 21 Oct 2024 14:21

M6 remap with tool_touch_off.ngc causing gcode parser to fail

Category: QtPyVCP

i am using remapped m6
 

Could you post your remap?

[edit]
I presume you are getting this when loading the gcode.
  • ccc774
  • ccc774
21 Oct 2024 14:12
Replied by ccc774 on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

I can boot Armbian24.8.1 non-realtime. I can install realtime kernel, I can do the link and when I restart it doesn't boot.
Displaying 22561 - 22575 out of 22605 results.
Time to create page: 0.432 seconds
Powered by Kunena Forum