Siemens SINUMERIK 840D sl Commissioning Manual page 706

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Programming commands
6.3 Functions
//M(XXX)
DEF var100=(R//1)
DEF var101=(S//"Hello")
DEF var102(1)=(V//"HUGO")
DEF TMP
VS8=("GC")
PRESS(VS8)
END_PRESS
...
OUTPUT(NC1)
var100","var101
END_OUTPUT
...
OUTPUT(NC1,1)
var100","var101"," var102
END_OUTPUT
6.3
Functions
Overview
A variety of functions are available in dialogs and dialog-dependent softkey menus. These
can be activated by specific events (exit input field, actuate softkey) and configured in
methods.
Subroutines
Repeatedly used configuring instructions or others, which define the process for a particular
operation can be configured in subprograms. Subprograms can be loaded into the main
program or other subprograms at any time and executed as often as necessary, i.e., the
instructions they contain do not need to be configured repeatedly. The definition blocks of
the dialogs/softkey menu constitute a main program.
External functions
Additional, user-specific functions can be integrated by means of external functions. The
external functions are stored in a DLL file and identified by an entry in the definition lines of
the configuration file.
88
GC("NC1")
;
Original and the new version in addition
;
Version 1
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents