DMC-1400 Series Command Reference #TCPERR 193
#TCPERR
FUNCTION: Ethernet communication error automatic subroutine
DESCRIPTION:
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 timeout
This 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.
USAGE:
While Moving Yes
In a Program Yes
Command Line No
Controller Usage DMC-14x5 / 6 ONLY
RELATED COMMANDS:
TC Tell error code
_IA4 Last dropped handle
MG Print message
SA Send ASCII command via Ethernet
EXAMPLES:
#L
MG {EA} "L"
WT1000
JP#L
#TCPERR
MG {P1} "TCPERR. Dropped handle", _IA4
RE
NOTE: An application program must be executing for the automatic subroutine to function, which
runs in thread 0.
NOTE: Use RE to end the routine