EasyManuals Logo

HEIDENHAIN MANUALPLUS 620 Technical Manual

HEIDENHAIN MANUALPLUS 620
1818 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 #1750 background imageLoading...
Page #1750 background image
1750 HEIDENHAIN Technical Manual MANUALplus 620
8.38 USES Statement (USES)
Syntax: USES <file name>
Operands: None
Action:
You can use the USES statement in the main program to link other files. Files
that are linked with USES can themselves also use the statement to link
further files. It is also permissible to use the USES statement to link a single
file to several other files. The code for this file is generated only once. The
USES statement requires a file name as an argument. The USES statement
only links a file; it does not run the file's program code. The USES statement
cannot be compared with a CM statement. The linked files must therefore
contain individual modules that you can then call with the CM statement.
Example:
USES PLCMOD1
USES EPRUPG
USES RAMPLC
Linking of files:
Function STL
Main program PLCMAIN.PLC
Link the file for spindle control. USES SPINDLE.PLC
Link the file for tool change. USES TCHANGE.PLC
Program code
Function STL
File for spindle control SPINDLE.PLC
Integrate file with general subroutines. USES PLCUPG.PLC
Program code
Function STL
File for tool change TCHANGE.PLC
Integrate file with general subroutines. USES PLCUPG.PLC
Program code
Function STL
File with general subroutines PLCUPG.PLC
Program code

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HEIDENHAIN MANUALPLUS 620 and is the answer not in the manual?

HEIDENHAIN MANUALPLUS 620 Specifications

General IconGeneral
BrandHEIDENHAIN
ModelMANUALPLUS 620
CategoryControl Systems
LanguageEnglish

Related product manuals