question-circle Question IF Statements in UCCNC

  • TinyTanzer
  • TinyTanzer's Avatar Topic Author
  • Offline
  • Forum Nutzer
  • Forum Nutzer
More
20 Apr 2022 21:17 #62288 by TinyTanzer
IF Statements in UCCNC was created by TinyTanzer
Does the Stepcraft UCCNC recognize IF statements and N lines in G-Code? I have not been able to get either to work. Am I doing something 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

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

© 2022 STEPCRAFT GmbH & Co. KG

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.