3-3165984-1CDHW1481823Adavanced EthernetFunction3 Transmission Procedure3.1 Outline3.1.5 Response to CommandAfter receiving a command from the host computer, the DX200 sendsback a character string for the response to the command.The DX200 normally sends back a character string: "OK:Command". Furthermore, if the Size specified in "3.1.4Command" is "0", the DX200 responses according to "3.1.7 Response". Ifthe Size is other than "0", the DX200 waits for "3.1.6 Command Data".At an error, the DX200 sends back a character string: "NG:Message" and closes a socket.3.1.6 Command DataIf a command is accompanied by data, the host computer sends acharacter string of the command data. The command data differ fromCommand to Command. (Command is not always accompanied bycommand data.) Make sure to add the linefeed code to the end ofthe command data character string.The description method of command data differs with each Command.Refer to "3.2 Command Details" for details on the description method.3.1.7 AnswerThe DX200 sends back an answer in the following format according to arequest from the host computer.The linefeed code of when data are sent back as normal answer isdifferent from the one of the case other than normal answer with data sentback.The linefeed code of the normal answer with data sent back: The linefeed code of the case other than above: The format when data are sent back as normal answer varies from eachcommand. For details in the format, refer to Section 3.2 “CommandDetails”. For interpreter message, refer to "DX200 OPTIONSINSTRUCTIONS FOR DATA TRANSMISSION FUNCTION".3.1.8 Closing of a SocketA socket is closed.Classification Subclassification FormatAt normal answer In case that the DX200 sends backdataData(Refer to "3.2 Command Details).In case that the DX200 answersnormally(In the absence of data)0000At abnormal answer In case that the DX200 sends backan error answerERROR:[Command] is not successful(xxxx).*xxxx indicates an interpreter message.At socket error In case that an error occurs atsocket processingERROR:Message15/60