EasyManuals Logo

Siemens SINUMERIK 828D Programming Manual

Siemens SINUMERIK 828D
822 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 #623 background imageLoading...
Page #623 background image
Motion synchronous actions
10.5 Technology cycles
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
623
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 as call-by-value cannot be arrays.
Actual parameters can also comprise default parameters (see "
Default parameter
initialization (Page
623)").
Syntax
ID=1 WHEN $AA_IW[X]>50 DO TEC(IVAL,RVAL,,SVAL,AVAL)
A default value is transferred for non-initialized actual parameters:
ID=1 WHEN $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.
Syntax
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 part program and in synchronized actions.
Example
Program code Comments
TEC (IVAL, RVAL, SVAL, AVAL) ; For CVAL and BVAL, the initial value applies

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals