Advanced Search

Search Results (Searched for: )

  • MalteS
  • MalteS
02 Mar 2025 20:10 - 02 Mar 2025 20:10

G7x and profile in subroutine with parameters

Category: G&M Codes

If there is interest. The full code is shown below (bear with me - comments are a mixture of German and English :-):

O<g7x_macro> sub

; #1 b_Modus                            (todo) 
; #2 ae - Arbeitseingriff (Zustellung)  (0.5mm)
; #3 Feed per revolution                (0.1mm/u)
; #4 Surface speed (vc)                 (50m/min)
; #5 Max RPM                            (1400)

; Set default values
O100 IF  [#2 EQ 0]
    #2 = 0.5
O100 ENDIF

O101 IF  [#3 EQ 0]
    #3 = 0.1
O101 ENDIF

O102 IF  [#4 EQ 0]
    #4 = 50
O102 ENDIF

O103 IF  [#5 EQ 0]
    #5 = 1400
O103 ENDIF


(Allgemeiner Header)
G8 ; Lathe Diameter Mode
G18 ; XZ Plane
G21 ; Metric Units
G90 ; Absolute Distance

(Spindle Steuerung)
G96 D#5 S#4 ; Constant Surface Speed Mode
M3
G95 F#3 ; Feed-Per-Rev Mode
G4 P.2        ; Wait to reach speed

(Anfangspositionen merken)
#<x_start> = #<_x>
#<z_start> = #<_z>

G71.1 Q100 D[#2 / 2] I#2
G70   Q100 D[#2 / 2]

M5
M2

O<g7x_macro> endsub

O100 SUB
  G0 X5 Z0
  G0 x5 z-11.5
  G0 x10 Z-14
O100 ENDSUB

%
  • rodw
  • rodw's Avatar
02 Mar 2025 20:08
Replied by rodw on topic Safety Light

Safety Light

Category: Plasmac

The attached is old hal code that Todd helped me with  which uses, red, orange and green lights. The green light flashed (via siggen) when a program was paused. red was from the estop

The Run/Step/Pause/Resume part is described in hal examples on the forum but it won't work with QTplasmac which has its own pins that achieve a similar result.

Her is and example of it running. I did eventually wire this into some stack lights like you show,
  • MalteS
  • MalteS
02 Mar 2025 20:02 - 02 Mar 2025 20:08

G7x and profile in subroutine with parameters

Category: G&M Codes

Hi,

I'm trying to write a macro for touchy that provides the option to specify the x/z coordinates of the G7x profile on the touchy user interface. 

My initial thought was subroutine nesting but I just found out that I cannot nest subroutines. So this does not work:


O<g7x_macro> sub
O100 SUB
...
O100 ENDSUB

G71.1 Q100 ....

O<g7x_macro> endsub


What works (a bit) is to put the profile subroutine after the main macro (before does not work).

O<g7x_macro> sub

G71.1 Q100 ....

O<g7x_macro> endsub

O100 SUB
...
O100 ENDSUB

But now I struggle with getting parameters to the subroutine. Does anybody have an idea here?
  • rodw
  • rodw's Avatar
02 Mar 2025 19:55
Replied by rodw on topic Plasma and Ethercat?

Plasma and Ethercat?

Category: Plasma & Laser

These plots don't look correct. Try using halscope. This plot shows on piercing the arc voltage goes right off the page almost instantly then it falls below the cutting voltage before stablising around the cut voltage.
The blue line shows when the THC was enabled and you can see that the voltage has already stabilised before it comes on.


 
  • unknown
  • unknown
02 Mar 2025 19:30

RPi 4B w/LinuxCNC 2.9.3, Mesa 7C81, Isolation Card, PWM Card, Relay Card, More

Category: User Exchange

Mesa makes a board that does pwm to analogue.
store.mesanet.com/index.php?route=produc...oduct&product_id=205

Yeah I went that whole route when I was using machine kit and a beagle bone black.
It's a shame that the BBB hasn't had a upgraded CPU with the PRU and more memory. Was a great little platform, actually still is but a little underpowered.

Will agree that there are some great tools out there. I still have a copy of the DOS version of EasyTrax I was given by a very surly PCB maker, top bloke but didn't suffer fools.
  • gwond
  • gwond
02 Mar 2025 19:28
Replied by gwond on topic Fusion 360 post processor file for Plamac

Fusion 360 post processor file for Plamac

Category: Plasmac

How would I check this? Toolpath looks complete when zooming in and the "show toolpath data" looked similar for all the circles. I also tried a different part and it came out fine. The selected contours are all closed chain, so not sure what is missing with this part.
  • ihavenofish
  • ihavenofish
02 Mar 2025 19:07
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

New ethercat / probe basic control for minimonster

Category: CNC Machines

K, installed ethercat... I guess..? haha. i need to decipher all the instructions.

BUT, I have another problem. setting up the servos it seems the configuration software is $500? This makes no sense to me. Never seen a drive where you had to pay extra just to configure and tune it. Am I missing something here? Anyone using Omron G5 servos?
  • PCW
  • PCW's Avatar
02 Mar 2025 18:33
Replied by PCW on topic Plasma and Ethercat?

Plasma and Ethercat?

Category: Plasma & Laser

If you measure from the work to signal ground with a GHz capable scope at say 1ns/per division,
You will see fractional ns spikes of significant voltage on the work (or low end of divider)  
( arc starting is instantaneous an even if the current ramp is controlled, the plasma wiring
has significant capacitance)
  • Hakan
  • Hakan
02 Mar 2025 18:11 - 02 Mar 2025 19:07
Replied by Hakan on topic Fusion 360 post processor file for Plamac

Fusion 360 post processor file for Plamac

Category: Plasmac

It has worked for me although I only have done some 10s of holes and center punches.
I looked in the cps, the circle data seems to come directly from Fusion. Can you see that the tool path circle has a gap in fusion?
  • grijalvap
  • grijalvap's Avatar
02 Mar 2025 18:08
Safety Light was created by grijalvap

Safety Light

Category: Plasmac

Hi, I want to install a safety light RED,GREEN, AMBER tower.
Does anybody have any clue what qtplasmac pins can I use for this purpose.
There is any chanse to create a qtplasmac pins for this purpose.
this is the light I will use.
 

 
  • Lcvette
  • Lcvette's Avatar
02 Mar 2025 18:06

Best approach to upgrade Probe Basic to latest version

Category: QtPyVCP

need to know what version you are currently using
  • NT4Boy
  • NT4Boy
02 Mar 2025 17:58
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

Could this lack of response to the jog wheel motion be because there are no connections to the Axis halui in the file?
  • Lcvette
  • Lcvette's Avatar
02 Mar 2025 17:43

Move Machine to inside soft limits when Probe Basic on

Category: QtPyVCP

I think using words adds complexity from interpretation of explanation, Machine Coordinates for X0, Y0, Z0

Z0 = Head Fully Up
X0 = Table fully Right
Y0 = Table fully Forward

Axis travel direction for table and head:

Z+ = /\ Head moves up
X+ = < Table moves tot he left
Y+ = \/ Table moves towards the front
  • tommylight
  • tommylight's Avatar
02 Mar 2025 17:42
Replied by tommylight on topic LinuxCNC 2.10 build

LinuxCNC 2.10 build

Category: Installing LinuxCNC

Try building with --nodocs or something like that
And 1605 will not work for thin metal sheets at all if the table is over 1 meter in length.
Use belts, 15mm thick are fine, 20-25mm wide should be perfect.
  • tommylight
  • tommylight's Avatar
02 Mar 2025 17:30
Replied by tommylight on topic Modify AXIS GUI

Modify AXIS GUI

Category: General LinuxCNC Questions

No worries at all, just making sure the credit goes where credit is due.
Thank you.
Displaying 15391 - 15405 out of 20822 results.
Time to create page: 0.308 seconds
Powered by Kunena Forum