11.07.2015 Views

Galil Motion Control Command Reference

Galil Motion Control Command Reference

Galil Motion Control Command Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Galil</strong> <strong>Motion</strong> <strong>Control</strong> <strong>Command</strong> <strong>Reference</strong>#TCPERREthernet communication error automatic subroutineSyntax:Operands:Burn:Othernonenot burnableFull Description#TCPERR is an automatic subroutine which allows execution of code when an TCP error occurs.The following error (see TC) occurs when a command such as MG "hello" {EA} is sent to a failed Ethernet connection:123 TCP lost sync or timeoutThis error means that the client on handle A did not respond with a TCP acknowledgement (for example because the Ethernet cable was disconnected).Handle A is closed in this case.#TCPERR allows the application programmer to run code (for example to reestablish the connection) when error 123 occurs.Use RE to terminate the subroutine.Code does not need to be running in thread zero for #TCPERR to run.ArgumentsN/AOperand UsageN/AUsageUsage and Default DetailsUsageWhile MovingIn a Program<strong>Command</strong> Line<strong>Control</strong>ler UsageValueYesYesNoAllRelated <strong>Command</strong>sTC - Tell error code_IA4 - Last dropped handleMG - Print messageSA - Send ASCII command via EthernetExamples:#LMG {EA} "L"WT1000JP#L#TCPERRMG {P1} "TCPERR. Dropped handle", _IA4RE'NOTE: Use RE to end the routinefile:///C|/Documents%20and%20Settings/Andy/Desktop/Temp/4Kcom/index.html (32 of 358)5/24/2011 8:38:16 AM

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!