I am hooking up a Haas indexer to a Micron HSM800 with a Heidenhain 530 control. To feed the indexer the angles from the NC file instead of having them pre-assigned in the rotary table control I am try to do this via a FN16. Does anyone have any examples of writting a file out via the RS232 port. What I am thinking and correct me if I am wrong is to do the following.

Q110=90
FN16: F-PRINT TNC:\ROTARY\ANGLE.A / RS232:

ANGLE.A
"XS%3.3LF", Q110;
M_CLOSE

Thanks for any help here since Heidenhain has little info on FN16 in there manuals.
Paul