Hi Sinha.

Thanks for that PDF attachment. I understood the framework of While Loop Function.

But as per the format (which i attached previously ), it is expressed that this loop prg will be a subprogram. The Main Program defines the Series of Variables to be Output.

How the Loop function is linked to the DPRNT Function ?

(I know that u don't use DPRNT function, But Any Guess ?)




Also as u stated before, it should be 5021 as contrast to 5041. 5041 captures location in absolute Mode with Respect to G54 offset.

But it can be Controller Dependent (& Stevo may be having that controller), so he mentioned the Same.

Ash.