Siemens Sinumerik 840D sl Programming Manual page 221

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Workpiece directories (..._WPD)
To make data and program handling more flexible certain data and programs can be grouped
together or stored in individual workpiece directories.
A workpiece directory contains all files required for machining a workpiece. These can be
main programs, subprograms, any initialization programs and comment files.
The first time a part program is started, initialization programs are executed once, depending
on the selected program (in accordance with machine data MD11280
$MN_WPD_INI_MODE).
Example:
The workpiece directory _N_WELLE_WPD, created for SHAFT workpiece contains the
following files:
File
_N_SHAFT_MPF
_N_PART2_MPF
_N_PART1_SPF
_N_PART2_SPF
_N_SHAFT_INI
_N_SHAFT_SEA
_N_PART2_INI
_N_PART2_UFR
_N_SHAFT_COM
Creating workpiece directories on an external PC
The steps described below are performed on an external data station. Please refer to your
Operator's Guide for file and program management (from PC to control system) directly on
the control.
Creating a workpiece directory with a path name ($PATH=...)
The destination path $PATH=... is specified within the second line of the file. The file is then
stored at the specified path.
Example:
Program code
%_N_SHAFT_MPF
;$PATH=/_N_WKS_DIR/_N_SHAFT_WPD
N40 G0 X... Z...
...
M2
File _N_WELLE_MPF is stored in directory /_N_WKS_DIR/_N_WELLE_WPD.
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Significance
Main program
Main program
Subprogram
Subprogram
General initialization program for the data of the workpiece
Setting data initialization program
General initialization program for the data for the Part 2 program
Initialization program for the frame data for the Part 2 program
Comment file
File and Program Management
2.1 Program memory
221

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents