EasyManua.ls Logo

Siemens SINUMERIK 828D - Page 8

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
Loading...
Table of contents
Job planning
8 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
1.12 Check structures ......................................................................................................................... 98
1.12.1 Program loop with alternative (IF, ELSE, ENDIF)....................................................................... 99
1.12.2 Continuous program loop (LOOP, ENDLOOP)......................................................................... 101
1.12.3 Count loop (FOR ... TO ..., ENDFOR) ...................................................................................... 102
1.12.4 Program loop with condition at start of loop (WHILE, ENDWHILE).......................................... 103
1.12.5 Program loop with condition at the end of the loop (REPEAT, UNTIL) .................................... 104
1.12.6 Program example with nested check structures ....................................................................... 105
1.13 Program coordination (INIT, START, WAITM, WAITMC, WAITE, SETM, CLEARM) .............. 106
1.14 Interrupt routine (ASUB)............................................................................................................ 112
1.14.1 Function of an interrupt routine ................................................................................................. 112
1.14.2 Creating an interrupt routine ..................................................................................................... 113
1.14.3 Assign and start interrupt routine (SETINT, PRIO, BLSYNC) .................................................. 114
1.14.4 Deactivating/reactivating the assignment of an interrupt routine (DISABLE, ENABLE)........... 116
1.14.5 Delete assignment of interrupt routine (CLRINT) ..................................................................... 117
1.14.6 Fast retraction from the contour (SETINT LIFTFAST, ALF) ..................................................... 118
1.14.7 Traversing direction for fast retraction from the contour ........................................................... 121
1.14.8 Motion sequence for interrupt routines ..................................................................................... 124
1.15 Axis replacement, spindle replacement (RELEASE, GET, GETD)........................................... 125
1.16 Transfer axis to another channel (AXTOCHAN)....................................................................... 130
1.17 Activate machine data (NEWCONF)......................................................................................... 132
1.18 Write file (WRITE) ..................................................................................................................... 133
1.19 Delete file (DELETE)................................................................................................................. 136
1.20 Read lines in the file (READ) .................................................................................................... 138
1.21 Check for presence of file (ISFILE)........................................................................................... 141
1.22 Read out file information (FILEDATE, FILETIME, FILESIZE, FILESTAT, FILEINFO) ............. 143
1.23 Checksum calculation using an array (CHECKSUM) ............................................................... 146
1.24 Roundup (ROUNDUP).............................................................................................................. 148
1.25 Subprogram technique.............................................................................................................. 149
1.25.1 General information................................................................................................................... 149
1.25.1.1 Subprogram .............................................................................................................................. 149
1.25.1.2 Subprogram names................................................................................................................... 150
1.25.1.3 Nesting of subprograms............................................................................................................ 151
1.25.1.4 Search path............................................................................................................................... 152
1.25.1.5 Formal and actual parameters .................................................................................................. 153
1.25.1.6 Parameter transfer .................................................................................................................... 154
1.25.2 Definition of a subprogram........................................................................................................ 156
1.25.2.1 Subprogram without parameter transfer ................................................................................... 156
1.25.2.2 Subprogram with call-by-value parameter transfer (PROC)..................................................... 157
1.25.2.3 Subprogram with call-by-reference parameter transfer (PROC, VAR)..................................... 159
1.25.2.4 Save modal G functions (SAVE)............................................................................................... 161
1.25.2.5 Suppress single block execution (SBLOF, SBLON) ................................................................. 162
1.25.2.6 Suppress current block display (DISPLOF, DISPLON, ACTBLOCNO).................................... 168
1.25.2.7 Identifying subprograms with preparation (PREPRO) .............................................................. 171
1.25.2.8 Subprogram return M17............................................................................................................ 172
1.25.2.9 RET subprogram return ............................................................................................................ 173
1.25.2.10 Parameterizable subprogram return jump (RET ...)............................................................. 174
1.25.3 Subprogram call ........................................................................................................................ 181
1.25.3.1 Subprogram call without parameter transfer............................................................................. 181

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals