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 #753 background imageLoading...
Page #753 background image
Detailed description
2.11 Subroutine call through NC language replacement
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
195
Example S1 is the leading spindle and S2 is the following spindle:
Typically, the machine manufacturer is aware of the following spindles that are affected in
spindle positioning in case of a double spindle, and addresses these spindles directly.
N1000 PROC LANG_SUB DISPLOF SBLOF
...
N2100 IF($P_SUB_AXFCT==2)
N2110
;Replacement due to SPOS/SPOSA/M19 command during active synchronous spindle
coupling
N2185
DELAYFSTON ;
Start Stop Delay Area
N2190
COUPOF(S2,_S1) ;
Deactivate synchronous spindle coupling
N2200
;Position leading and following spindle:
N2210
IF($P_SUB_SPOS==TRUE) OR ($P_SUB_SPOSA==TRUE)
N2220
;Position spindle with SPOS
N2230
CASE $P_SUB_SPOSMODE OF 0 GOTO LABEL_DC\
1 GOTO LABEL_IC 2 GOTO LABEL_AC 3 GOTO LABEL_DC\
4 GOTO LABEL_ACP 5 GOTO LABEL_ACN\
DEFAULT GOTOF LABEL_ERR
LABEL_DC:
SPOS[1]=DC($P_SUB_SPOSIT) SPOS[2]=DC($P_SUB_SPOSIT)
GOTOF LABEL_CONT
LABEL_IC:
DELAYFSTOF
SPOS[1]=IC($P_SUB_SPOSIT) SPOS[2]=IC($P_SUB_SPOSIT)
DELAYFSTON
GOTOF LABEL_CONT
LABEL_AC:
SPOS[1]=AC($P_SUB_SPOSIT) SPOS[2]=AC($P_SUB_SPOSIT)
GOTOF LABEL_CONT
LABEL_ACP:
SPOS[1]=ACP($P_SUB_SPOSIT) SPOS[2]=ACP($P_SUB_SPOSIT)
GOTOF LABEL_CONT
LABEL_ACN:
SPOS[1]=ACN($P_SUB_SPOSIT) SPOS[2]=ACN($P_SUB_SPOSIT)
LABEL_CONT:
N2250
ELSE
N2260
;Position spindle with M19
N2270
M1=19 M2=19 ;
Position leading and following spindle
N2280
ENDIF
N2285
DELAYFSTOF ;
End of Stop Delay Area
N2290
COUPON(S2,S1) ;
Activate synchronous spindle coupling
N2410 ELSE
N2420
;
Query on further replacements
...
N3300 ENDIF
...
N9999 RET
LABEL_ERR: SETAL(61000)

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