Cancel
Showing results for 
Search instead for 
Did you mean: 

CSE - Heidenhain Cycle Declaration

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello everybody,

 

I need your help with the following problem:

The Heidenhain cycle 252 should be executed only after the positioning in X/Y and M99.

Currently, the cycle ist read and after that it jumps to the subroutine.

 

I search a command to declare CYCLE DEF 252 as a "cycle" in the MCF?
Where do I start?


Thank you very much!

2 REPLIES

Re: CSE - Heidenhain Cycle Declaration

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi VikP,

 

you have to create a Cycle Command "CYCLE_DEF_252" in MCF/CCF. The metacode of this commands sets the Systemdata 10,3,getStackSize(),252.

 

It should like this in XML

<Command>

<Name>SetArrayElement
<Param>"Systemdata"
<Param>10
<Param>3
<Param>getStackSize()
<Param>252
</Command>

 

When using the CYCL CALL later in NC code, this systemdata is used to call the subprogram

There is no adaption needed from your side. It´s implemented as shown below

<Command>

<Name>CallSubProg

<Param>INTEGER(getArrayElement("Systemdata",10,3,getStackSize()))

 

ThomasF

 

Re: CSE - Heidenhain Cycle Declaration

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

I'm excited.
I lacked the getStackSize().

 

Thank you very much for you help!

Learn online





Solution Information