EasyManuals Logo

Siemens SINUMERIK 828D Programming Manual

Siemens SINUMERIK 828D
822 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #178 background imageLoading...
Page #178 background image
Flexible NC programming
1.25 Subprogram technique
Job planning
178 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Example 2: Character string (string>) to specify the destination block search
Main program:
Program code Comments
PROC MAIN_PROGRAM
N1000 DEF INT iVar1=1, iVar2=4
N1010 ...
N1200 subProg1 ; Calls subprogram "subProg1"
N1210 M2 S1000 X10 F1000
N1220 ......
N1400 subProg2 ; Calls subprogram "subProg2"
N1410 M3 S500 Y20
N1420 ..
N1500 lab1: iVar1=R10*44
N1510 F500 X5
N1520 ...
N1550 subprog1: G1 X30 ; "subProg1" is defined here as jump marker.
N1560 ...
N1600 subProg3 Calls subprogram "subProg3"
N1610 ...
N1900 M30
Subprogram subProg1:
Program code Comments
PROC subProg1
N2000 R10=R20+100
N2010 ...
N2200 RET("subProg2") ; Return jump into the main program at block N1400
Subprogram subProg2:
Program code Comments
PROC subProg2
N2000 R10=R20+100
N2010 ...
N2200 RET("iVar1") ; Return jump into the main program at block N1500

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals