Siemens SINUMERIK 840D Operator's Manual page 93

Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

09.01
© Siemens AG, 2001. All rights reserved
SINUMERIK 840D/810D Configuring the Operator Interface OP 030 (FBO) – 09.01 Edition
4. Add the new file to the app.mak project
Select <Project> -> <Edit>
Select app_sub1.c in the File Name window and add it to the
'Files in Project' list by clicking <ADD>.
Close the 'Edit APP.MAK' window with <Close>.
The dependencies of the files belonging to the project are regenerated.
Note: The Workbench only searches directories which have been
entered under <Options> <Directories> during initialization of the
Workbench. Unfortunately, if an include file is not found in this path, no
warning is given.
Save this addition by closing the project app.mak - with <Proj> <Close>.
Regrettably, an explicit 'Project Save' without 'Close' is not available and
the saving philosophy of the workbench is not very clear.
Reopen the project.
5. Define the new identifiers
List IDs
Open the file l:\proj\h\ap_mwl.h
Move to the end of the file
Copy the block XXX_TEMPLATE_W
In the duplicate, replace the character string 'TEMPLATE_W' with
'APP_SUB1'
Save ap_mwl.h
List branch entries
Open the file l:\proj\h\ap_l_dir.h
Copy the line 'EXTERN_WINDOW (W_TEMPLATE_W) ',
so that it appears above the comment.
In the duplicate, replace the character string 'TEMPLATE_W'
- CAUTION: not W_TEMPLATE !! - with 'APP_SUB1'
Save ap_l_dir.h
6. Perform the first compilation on the new file
Check the syntax of your changes by compiling app_sub1.c:
Make app_sub1.c the active window (click on front).
Select <Project> <Compile File app_sub1>
The compiler run should report 0 errors and 0 warnings.
Development Kit (EU)
4 Extending the Application Configuration
EU/4-39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810d

Table of Contents