Hi Dave,
Look at comment below in the code.
What version of Mach are you using?
Older versions of Mach3 needed CR+LF on getfifoentry(), I think Art was going to change it at one point, it may be worth trying if you can change your output from the toolchange code. It may still be on the to do list.
Thanks
Graham
Select Case tool
Case 1
message "Changing To Tool 1"
Call sendserial ("t1d" & Chr(13))
(what are you getting with this bit below, is it showing any characters, if so the next call to getfifoentry() will be empty)
While getfifoentry() = "None" (what about a & Chr(13) here)
message getfifoentry
Wend
if getfifoentry() = "t1s" & Chr(13) then
message "Tool 1 Selected"
SetCurrentTool( tool )
End select
else
Message "Tool Change Error"
end if