EasyManuals Logo

Siemens SINUMERIK 840D Programming Manual

Siemens SINUMERIK 840D
687 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 #497 background imageLoading...
Page #497 background image
Motion synchronous actions
10.5 Technology cycles
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
10-71
10.5.2 Call by value parameters
Function
Technology cycles can be defined using call by value parameters. Simple data types such as
INT, REAL, CHAR, STRING, AXIS and BOOL can be used as parameters.
Note
Formal parameters that are transferred to call by values cannot be arrays.
The current parameters can also consist of default parameters,
see Section "Initializing Default Parameters".
Programming
ID=1 WHEN $AA_IW[X]>50 DO TEC(IVAL, RVAL, , SVAL, AVAL)
;A default value is transferred for non-initialized current parameters.
ID=1 WHE $AA_IW[X]>50 DO TEC(IVAL, RVAL, , SYG_SS[0], AVAL)
10.5.3 Default parameter initialization
Function
Default parameters can also be provided with an initial value in the PROC instructions.
Programming
Assign default parameters in the technology cycle:
PROC TEC (INT IVAL=1, REAL RVAL=1.0, CHAR CVAL='A', STRING[10] SVAL="ABC", AXIS
AVAL=X, BOOL BVAL=TRUE)
If a current parameter consists of a default parameter, the initial value is transferred from the
PROC instruction. This applies both in the parts program and in synchronized actions.
Example
TEC (IVAL, RVAL, , SVAL, AVAL) ;the initial value applies to CVAL and BVAL

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals