Lieber Nutzer, die Forumssoftware wurde aktualisiert. Für die Erstanmeldung musst Du bitte dein Passwort zurücksetzen.
Dear user, the forum software has been updated. For the first login please reset your password.
Dear user, the forum software has been updated. For the first login please reset your password.
Benachrichtigungen
Alles löschen
IF Statements in UCCNC
Software
3
Beiträge
3
Benutzer
0
Likes
2,072
Ansichten
Themenstarter
Does the Stepcraft UCCNC recognize IF statements and N lines in a G-Code program? I haven't been able to get either to work. Perhaps my syntax is wrong?
G54 IF [#101 EQ 1] P001 L1 M0 IF [#101 EQ 2] P002 L1 M0 G57 G1 X0 Y0 Z0 M30 O001 G54 G0 Z8 X0 Y0 M98 P101 L1 G57 G0 Z8 X0 Y0 #101=2 M99 O002 G54 G0 Z8 X25 Y0 M98 P101 L1 G57 G0 Z8 X0 Y0 #101=1 M99 O101 Z-1 G0 G4 P40000 M3 G4 P5000 M5 Z8 G0 M99
Veröffentlicht : 20/04/2022 10:46 pm
hello,
in my limited knowledge of coding I thought that if you use an "IF" statement it shpuld be followed by an "ELSE" statement.
I'am missing that in your code. Perhaps that is your problem.
Further I have no knowledge of UCCNC.
SC 1/420 + Gantry extension, Kress 1050 FME-P, NeJe 20W Laser, WinPC-NC USB v4.00, Vectric Aspire 9, SolidWorks 2021
Veröffentlicht : 23/04/2022 10:25 am
https://en.wikipedia.org/wiki/G-code
I'm still learning this, but I don't think it has IF status. G-code it is more like straight forward instructions to a machine what to do.
Veröffentlicht : 26/06/2022 11:40 pm
Forum Information
- 44 Foren
- 7,338 Themen
- 63.2 K Beiträge
- 0 Online
- 26.3 K Mitglieder
Unser neuestes Mitglied: dicker1
Letzter Beitrag: Komplexe SVG-Datei fräsen - Probleme, die Strukturen auszuwählen
Forum Icons:
Das Forum enthält keine ungelesenen Beiträge
Das Forum enthält ungelesene Beiträge
Themen-Icons:
Unbeantwortet
Beantwortet
Aktiv
Heiß
Oben angepinnt
Nicht genehmigt
Gelöst
Privat
Geschlossen