I'm a bit confused, if you use Mach3, what is your script
If (getportbyte(1021) And 32)<>0 Then 'Line Status Register bit 5 TX holding reg empty
putportbyte(1016,83) 'This is the TX register
putportbyte(1016,8) 'This is the TX register
putportbyte(1016,09) 'This is the TX register
putportbyte(1016,06) 'This is the TX register
putportbyte(1016,00) 'This is the TX register
putportbyte(1016,80) 'This is the TX register
putportbyte(1016,16) 'This is the TX register
End If
for?