EasyManuals Logo

Siemens MCP 398C Programming Manual

Siemens MCP 398C
1334 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 #526 background imageLoading...
Page #526 background image
N40 BORDER(15.3,20.2,5)
N40 BORDER(LENGTH,WIDTH,DEPTH)
N30 LENGTH=15.3 WIDTH=20.2 DEPTH=5
or
Main program
See also
Subprogram with call-by-value parameter transfer (PROC) (Page 496)
Subprogram with call-by-reference parameter transfer (PROC, VAR) (Page 498)
3.2.3.3 Number of program repetitions (P)
If a subprogram is to be executed several times in succession, the desired number of program
repetitions can be entered at address P in the block with the subprogram call.
CAUTION
Subprogram call with program repetition and parameter transfer
Parameters are transferred only when the program is called, i.e., on the first run. The
parameters remain unchanged for the remaining repetitions. If you want to change the
parameters during program repetitions, you must make the appropriate provision in the
subprogram.
Syntax
<program name> P<value>
Meaning
<program name>: Subprogram call
P: Address to program program repetitions
Work preparation
3.2 Subprogram technique
NC programming
526 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

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