ï›™ Siemens AG 2000. All rights reserved
0-6
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
0
Contents 04.00
0
Subprograms, Macros 2-91
2.1 Using subprograms ........................................................................................................ 2-92
2.2 Subprogram with SAVE mechanism .............................................................................. 2-94
2.3 Subprograms with parameter transfer ........................................................................... 2-95
2.4 Calling subprograms ..................................................................................................... 2-99
2.5 Subprogram with program repetition............................................................................ 2-103
2.6 Modal subprogram, MCALL ......................................................................................... 2-104
2.7 Calling the subprogram indirectly ................................................................................. 2-105
2.8 Calling subprogram with path specification and parameters, PCALL .......................... 2-106
2.9 Suppressing current block display, DISPLOF .............................................................. 2-107
2.10 Single block suppression, SBLOF, SBLON (SW 4.3 and higher) ................................ 2-108
2.11 Executing an external subprogram (SW 4.2 and higher)............................................. 2-111
2.12 Cycles: Setting parameters for user cycles.................................................................. 2-113
2.13 Macros.......................................................................................................................... 2-118
File and Program Management 3-121
3.1 Overview ...................................................................................................................... 3-122
3.2 Program memory ......................................................................................................... 3-123
3.3 User memory................................................................................................................ 3-128
3.4 Defining user data ........................................................................................................ 3-131
3.5 Defining protection levels for user data (GUD) ............................................................ 3-135
3.6 Automatic activation of GUDs and MACs (SW 4.4 and higher)................................... 3-137
Protection Zones 4-139
4.1 Defining the protection zones CPROTDEF, NPROTDEF ............................................ 4-140
4.2 Activating/deactivating protection zones: CPROT, NPROT ......................................... 4-144
Special Motion Commands 5-149
5.1 Approaching coded positions, CAC, CIC, CDC, CACP, CACN ................................... 5-150
5.2 Spline interpolation....................................................................................................... 5-151
5.3 Compressor COMPON/COMPCURV .......................................................................... 5-160
5.4 Polynomial interpolation, POLY.................................................................................... 5-163
5.5 Settable path reference, SPATH, UPATH (SW 4.3 and higher) .................................. 5-169