Sie sind auf Seite 1von 3

Cycles Customizing additional program parameters CYC_832T

Customizing additional program parameters CYC_832T


General information
If the machine manufacturer requires additional responses from CYCLE832 beyond those, which can be achieved by customizing the technology, it is possible to make the necessary changes in the CYC_832T cycle. For this purpose, CYC_832T should be copied into the CMA directory (HMI manufacturer) and loaded into the NCU. The CYC_832T functions as a frame program. The machine manufacturer must document any changes. If it is loaded into the NCU, the CYC_832T cycle is automatically called by CYCLE832. Customizing CYC_832T does not mean that changes to CYCLE832 are required.

Parameter
CYC_832T(_ASVS, _FACTOR, _OVL_on)
Parameter _ASVS Data type Meaning Machine-specific customization is possible at markers _M0 to _M4. Markers: _M4 = Init CYCLE832 call made before the actual program sequence of CYCLE832 _M0 = Deselection of CYCLE832 _M1 = Finishing machining _M2 = Rough-finishing machining _M3 = Roughing machining _FACTOR1) _OVL_on1) Rotary axis tolerance factor 0 = Do not customize overload factor MD $MA_MAX_ACCEL_OVL_FACTOR

1) The _FACTOR and _OVL_on parameters are only effective at marker _M4(INIT).

Example of customizing
The machine manufacturer wants to perform the following customization:
1. 2. The rotary axis tolerance is to be 12 times higher than the tolerances of the linear axes. In the "Finishing", "Rough-finishing" and "Roughing" machining modes, the path jerk (MD $MC_MAX_PATH_JERK) is defined as value 15 and the axis jerk (MD $MA_MAX_AX_JERK [AX]) as value 150. On deselection of CYCLE832, the changed machine data must be reset to the default settings (1000.15).

3.

This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete documentation can be found at: https://www.automation.siemens.com/mdm/default.aspx?DocVersionId=8834432651&Language=en-US&TopicId=3567788427 10/11/2011

Cycles Customizing additional program parameters CYC_832T

Example of customizing technology


The machine manufacturer wants to perform the following customization:
1. 2. The rotary axis tolerance is to be 12 times higher than the tolerances of the linear axes. The rotary axis factor is to refer always to the metric system. In the "Finishing", "Rough-finishing" and "Roughing" machining modes, the path jerk (MD $MC_MAX_PATH_JERK) is defined as value 15 and the axis jerk (MD $MA_MAX_AX_JERK[AX]) as value 150. On deselection of CYCLE832, the changed machine data must be reset to the default settings (1000.15). The G-groups (G-group 59) technology is used. The following machine data were set up by the machine manufacturer for this purpose: MD20600: MAX_PATH_JERK[0]=1000 Deselection DYNNORM MD20600: MAX_PATH_JERK[2]=15 Roughing DYNROUG MD20600: MAX_PATH_JERK[3]=15 Rough-Finishing DYNSEMIFIN MD20600: MAX_PATH_JERK[4]=15 Finishing DYNFINISH MD32431: MAX_AX_JERK[0,n]=15 n=AX1 .. AX5 MD32431: MAX_AX_JERK[2,n]=150 MD32431: MAX_AX_JERK[3,n]=150 MD32431: MAX_AX_JERK[4,n]=150

3.

The technology-dependent changeover occurs in CYCLE832T


%_N_CYC_832T_SPF ;$PATH=/_N_CST_DIR PROC CYC_832T(INT _ASVS,VAR REAL _FACTOR,VAR INT _OVL_on) SBLOF DISPLOF _M4 _FACTOR=12 IF NOT($MN_SCALING_SYSTEM_IS_METRIC) _FACTOR=_FACTOR*$MN_SCALING_VALUE_INCH ENDIF GOTOF _MEND _M0: ;* Deselection IF ISVAR("DYNNORM") DYNNORM ENDIF GOTOF _MEND

This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete documentation can be found at: https://www.automation.siemens.com/mdm/default.aspx?DocVersionId=8834432651&Language=en-US&TopicId=3567788427 10/11/2011

Cycles Customizing additional program parameters CYC_832T

_M1: ;* Finishing IF ISVAR("DYNNORM") DYNFINISH ENDIF GOTOF _MEND _M2: ;* Rough-finishing IF ISVAR("DYNSEMIFIN") DYNSEMIFIN ENDIF GOTOF _MEND _M3: ;* Roughing IF ISVAR("DYNROUGH") DYNROUGH ENDIF GOTOF _MEND _MEND: RET

To permit the machine data in CYC_832T to be overwritten at all protection levels during the program run, they must be redefined with REDEF. Example:
%_N_MGUD_DEF ;$PATH=/_N_DEF_DIR REDEF $MC_MAX_PATH_JERK APR 7 APW 7 REDEF $MA_MAX_AX_JERK APR 7 APW 7 M30

This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete documentation can be found at: https://www.automation.siemens.com/mdm/default.aspx?DocVersionId=8834432651&Language=en-US&TopicId=3567788427 10/11/2011