[Lu...] Posted May 5 Share Posted May 5 Hi, I would like to know how it is possible to implement a loop for a second alignment (not the base alignment). For the base alignment, we use the condition baseSystem().valueA < 0.005. How can something similar be implemented for this second alignment? Link to comment Share on other sites More sharing options...
[Ke...] Posted May 5 Share Posted May 5 "differenceSystem()" for secondary 1 Link to comment Share on other sites More sharing options...
[CA...] Posted May 5 Share Posted May 5 Please sign in to view this quote. So, right click to access the loop option of the secondary and use differenceSystem in the condition? Simple. Great to know thanks to Luca for the ask and thanks to Keith for the answer. Link to comment Share on other sites More sharing options...
[Ri...] Posted May 5 Share Posted May 5 Doesn't the differenceSystem() essentially check the difference of the alignment to the main alignment? I felt like when I tried to use it years ago it always showed large values, so if it was a completely new origin, you will never achieve what you want/need. 1 Link to comment Share on other sites More sharing options...
[Th...] Posted May 5 Share Posted May 5 Please sign in to view this quote. That or there's no iteration of the calculated alignment. Either way, I don't believe valueA on a secondary alignment ever changes with loops. Link to comment Share on other sites More sharing options...
[De...] Posted May 6 Share Posted May 6 I ran across this document a while ago somewhere on the forum. On page three, there are notes on how the differenceSystem should be used to evaluate a proper break condition. differenceSystem does not converge to zero, like baseSystem. It's an interesting read. ValueA Math Definition.docx 2 Link to comment Share on other sites More sharing options...
[De...] Posted May 6 Share Posted May 6 Here is the PCM we use based on the above document, including a display command to allow operator to insure convergence. differenceSystem correct usage - Copy.docx 3 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in