EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
1799 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...
H2: Auxiliary function outputs to PLC
8.13 Block-search response
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
455
Example 2: Deleting auxiliary functions and generating the auxiliary function output without AUXFUSYNC(...)
N320 IF (NUM==-1) ;
;
All auxiliary functions of the channel
have been executed.
N340 GOTOF LABEL1
N350 ENDIF
N380 WRITE(ERROR,FILENAME,ASSEMBLED) ; Write a part program block to file FILENAME.
N390 IF (ERROR<>0) ; Error evaluation
N400 SETAL(61000+ERROR)
N410 ENDIF
N430 ENDLOOP
N440
N450 LABEL1:
N460
N480 CALL FILENAME ; Process a generated subroutine.
N490
N510 DELETE(ERROR,FILENAME) ; Delete the file again after execution.
N520 IF (ERROR<>0)
N530 SETAL(61000+ERROR)
N540 ENDIF
N550
N560 M17
Program code Comment
N0610 DEF STRING[400] ASSEMBLED=""
N0620 DEF STRING[31] FILENAME="/_N_CST_DIR/_N_AUXFU_SPF"
N0630 DEF INT GROUPINDEX[10]
N0640 DEF INT NUM
N0650 DEF INT LAUF
N0660 DEF INT ERROR
N0670 DEF BOOL ISQUICK
N0680 DEF BOOL ISSYNACT
N0690 DEF BOOL ISIMPL
...
N0760 AUXFUDEL("M",2,3,5) ; M2=3 (5th auxiliary function group) delete
N0770
Program code Comment

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals