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 #525 background imageLoading...
Page #525 background image
Examples
Example 1: Subprogram call preceded by declaration
Program code Comment
N10 EXTERNAL BORDERS(REAL,REAL,REAL) ; Specify the subprogram.
...
N40 BORDER(15.3,20.2,5) ; Call the subprogram with parameter
transfer.
N40 BORDER(15.3,20.2,5)
.
.
BORDER(REAL,REAL,REAL)
N10 EXTERNAL
Main program
Example 2: Subprogram call without declaration
Program code Comment
N10 DEF REAL LENGTH, WIDTH, DEPTH
N20 …
N30 LENGTH=15.3 WIDTH=20.2 DEPTH=5
N40 BORDER(LENGTH,WIDTH,DEPTH) ; or: N40 BORDER(15.3,20.2,5)
Work preparation
3.2 Subprogram technique
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 525

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