2101. Program Block #101 "To get access to complete NC File"
2102. Program Block #102 "To get access to each line as it is posted"
Code:
3. void MILL_SetReturnString(LPCTSTR ReturnString)
For the case that the block will output code within an existing posting line
(i.e n, rapid_move, program_block_1,xr,yr).
This would be used in place of “MILL_OutputText”, and “MILL_ProcessPostLine”.
sets:
Set the return string that will be used to output code with and existing post line.
Code:
4. void MILL_OutputText(LPCTSTR OutString)
outputs:
Line of text with CR/LF to the NC text file.
5. void MILL_ProcessPostLine(LPCTSTR OutString)
outputs:
Output Line of variables and constants with CR/LF to the NC text file. (i.e. “n,rapid_move,xr,yr,’M08’”). The variables and constants will be treated just as it would in normal posting blocks.
So in the scripts for the crop circles, it looks like the intelligence is built "hard" into the posting of a file. I think #3 should be used instead. Number 4 and 5, would be for processing code in an entire nc file and blocks 2101-2 give access for these textual inserts. Maybe the ability to do something to the "entire file" as opposed to just that particular operation. So steve is processing the output as it goes, when you may want to perform all the ops then review the code and change or insert something.
Let me know if I'm off on this.