You would be using the DPRINT like steveo was saying in addition to POPEN and PCLOSE. A very generic macro to do what you are asking would look something like this :
O1234
POPEN
#33 = 0
WHILE [#33 LE [#2-#1]] DO1
#32 = #[#1 + [#33]]
#31 = #33+#1
DPRNT [VAR #3[5] ***DATA #32[57]]
#33 = #33 +1
END1
PCLOSE
M99
Call using g65 p1234 A(lowest # variable to be sent). B(highest variable sent)
This should store the variables into a .txt file. I will be away from the machine until tomorrow and will look further into it when I do. Also, like steveo was saying, would need more information on your machines macro variables and acceptable codes.
Last edited by James L; 09-10-2009 at 01:48 PM.
Reason: Typo
|