Siemens

Digital Industries, Motion Control, Machine Tool Systems

{{ moduleLabel }}
{{ label }}

Programming variables for cycles

MarketingSiemens AG on June 22, 2015 at 2:02 PM

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

Example

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)
R15=25
ENDIF
MSG(“MAXIMUM DIAMETER REACHED”)

 

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

 

Login or register now and enjoy all the benefits of a community!

To get the whole functionality of IndustryArena Forum you need to login or register. This process is absolutely free.

Password forgotten?
Contact request
Guest Photo
Your message
The controller within the meaning of Art. 4(7) GDPR is: IndustryArena GmbH, Katzbergstraße 3, 40764 Langenfeld, Germany.
You may reach our data protection officer under [email protected].

Purpose of processing
We process your personal data concerning the use of the contact form and the communication with the company of the newsroom as well as the transmission of your data to this company in accordance to Art. 6 (1a) GDPR. This constitutes a legitimate interest for us in accordance to Art. 6 (1f) GDPR.

Recipient of the data
Within our organization, those units gain access to your data, which are necessary to fulfil the above purposes.
Personal data will only be transmitted to third parties if this is necessary for the aforementioned purposes or if another legal basis exists. If necessary, we conclude the corresponding data protection agreements with third parties, in particular pursuant to Art. 28 GDPR.

Data storing
Your data will be transmitted to the company of the newsroom for further processing. The period of storing is the duration of the processing of your request by the respective company.

Select contact person

Newsroom Logo

Design options

  • Title text color:
  • Content background:
  • Content text color:
  • Navigation background:
  • Tab text color:
  • Active tab text color:
  • Link text color:
  • Active link text color:
  • Background image Background color:

    How do you want to position the background-image?

    Please note: Banners and skyscrapers are only saved for the current language. For other languages, change the language using the button at the top right.

    Set the link for the background image

  • Banner

    How do you like to align the banner?

    Please note: Banners and skyscrapers are only saved for the current language. For other languages, change the language using the button at the top right.

    Set the link for the banner

  • Skyscraper

    Set the link for the skyscraper

Please note:

Banners and skyscrapers are only saved for the current language. For other languages, change the language using the button at the top right.