EasyManuals Logo

Siemens MCP 398C Function Manual

Siemens MCP 398C
2184 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 #633 background imageLoading...
Page #633 background image
Detailed description
2.6 Block search Type 5 SERUPRO
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
75
ASUB for calling the tool change routine after block search type 5
PROC ASUPWZV2
N1000 DEF INT TNR_SPINDEL
; Variable for active T number
N1010 DEF INT TNR_VORWAHL
; Variable for preselected T
number
N1020 DEF INT TNR_SUCHLAUF
; Variable for T number
determined in block search
N1030 TNR_SPINDEL = $TC_MPP6[9998,1]
; Read tool T number on the
spindle
N1040 TNR_SUCHLAUF = $P_TOOLNO
; read T number determined by
search run, i.e., that tool
determines the current tool
offset.
N1050 GETSELT(TNR_VORWAHL)
; Read T number of preselected
tool
N1060 IF TNR_SPINDEL ==TNR_SUCHLAUF GOTOF
ASUP_ENDE1
;
N1070 T = $TC_TP2[TNR_SUCHLAUF]
; T selection by tool name
N1080 L6
; Call tool change routine
;
N1085 ASUP_ENDE1:
;
N1090 IF TNR_VORWAHL == TNR_SUCHLAUF GOTOF
ASUP_ENDE
;
N1100 T = $TC_TP2[TNR_VORWAHL]
; Restore T preselection by tool
name
;
N1110 ASUP_ENDE:
;
N1110 M90
; Feedback to PLC
N1120 REPOSA
; ;ASUB end
In both of the programs PROC L6 and PROC ASUPWZV2, the tool change is programmed
with M206 instead of M6.
ASUB program "ASUPWZV2" uses different system variables to detect the progress of the
program ($P_TOOLNO) and represent the current status of the machine
($TC_MPP6[9998,1] ).

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals