535,365 active members*
3,459 visitors online*
Register for free
Login Register
Siemens - Banner
Siemens Blog

Digital Industries, Motion Control, Machine Tool Systems

Programming variables for cycles

June 2015
Author: cnc4you-ws
Company: Siemens AG, Digital Industries
Programming variables for cycles

Using R parameters

Manufacturing several variants of workpieces is often required. To do that, different parts programs are usually created with different values. A simpler approach is to use R parameters or variables instead of program values. An additional benefi t to be gained from programming variables is that the parameters can be reconciled and combined using mathematical functions.

The Sinumerik Operate user interface makes implementing this complex programming even easier. This is true for the programming with programGuide as well as for ShopTurn and ShopMill. As shown in the “Groove” illustration, the values are replaced by parameters. These must be specified at the beginning of the program or can be loaded by another program. For example, a start program is created for machining that covers the different variants of the group of parts.

ShopTurn Cycle


The parameters are specified directly in the program, just as in the image, or over an initial setup program.

ShopTurn program

Example for combining variables

IF R20 = R10+2/(R5*3,1419)


See more tips&tricks here >> www.siemens.com/cnc4you



Blog Archiv

December 2020
July 2020
March 2020
February 2020
December 2019
September 2019
August 2019
May 2019
March 2019
January 2019
November 2018
October 2018
August 2018
May 2018
January 2018
December 2017
November 2017
September 2017
July 2017
May 2017
April 2017
January 2017
October 2016
September 2016
August 2016
July 2016
June 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
June 2015
May 2015
April 2015
February 2015
November 2014
September 2014
August 2014
July 2014
March 2014
November 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
February 2013
January 2013
December 2012
November 2012
October 2012
July 2012
November 2009