slib.nc in 21-Jan-18-91 - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
View: 4409|Reply: 0
Print Previous Topic Next Topic

slib.nc in 21-Jan-18-91

[Copy Link]

9

Threads

53

Posts

669

Credits

Senior Member

Rank: 4

Credits
669
Jump to the specified floor
Landlord
Posted at 2018-4-15 22:06:50 | Only Author Replies reward |Descending browser |Read mode
I am trying to understand this bit of code from slib.nc:

(O101 sub program: safez)
O101
IF#516EQ0GOTO 0
IF#516EQ1GOTO 1
IF#516EQ2GOTO 2
IF#516EQ3GOTO 3
IF#516EQ4GOTO 4
IF#516EQ5GOTO 5
IF#516EQ6GOTO 6
IF#516EQ7GOTO 7
GOTO 30
N0 # 1 = 868
GOTO 10
N1 # 1 = 840
GOTO 10
N2 # 1 = 844
GOTO 10
N3 # 1 = 848
GOTO 10
N4 #1 = 852
GOTO 10
N5 # 1 = 856
GOTO 10
N6 #1 = 860
GOTO 10
N7 # 1 = 864
GOTO 10
N10 # 2 = # [# 1 + 2]
#5 = #582-#2
IF#5LT0GOTO 20
G00 Z # 582
N 20 # 3 = 0
M99


Where is N30 and what does this line do:
N 20 # 3 = 0

Reply

Use props Report

You need to log in before you can reply Login | Register now

This forum Credits Rules

Shenzhen Digital Dream Numerical Technology Co., Ltd. support
Adress:507,A Building,Leibo Industry Zone,No. 22 Jinxiu East Road,Kengzi Street,Pingshan district,Shenzhen City,P.R. of China
Phone:13244704799
E-mail:info@ddcnc.com

TEL

0755-87654321

Wchat

Website designed by DigitalDream Technology Support
Quick Reply Back to top Back to list