Omron CJ1W-ETN21 Network Card User Manual


 
179
FINS/TCP Method Section 7-4
The details of the above frame are shown in the following table.
FINS FRAME SEND
ERROR NOTIFICATION
Command
If an error occurs in the FINS/TCP header of the FINS FRAME SEND com-
mand, this command is used so that an error code will be returned to the node
that sent the FINS FRAME SEND command by the node that detected the
error. When this command is sent, the source node closes the connection.
The node that receives the command must close the connection quickly.
The details of the above frame are shown in the following table.
The following table shows the list of error codes.
CONNECTION
CONFIRMATION
Command
This command is sent when the FINS NODE ADDRESS DATA SEND (CLI-
ENT TO SERVER) command is received from a client with the same IP
address and FINS node address as another client with a connection that is
already established. The client that receives this command will simply destroy
the frames.
Item Contents (hexadecimal) Remarks
Header 46494E53 ASCII code: ‘FINS’
Length 00000014 to 000007E4 20 to 2020 bytes: Length of
data after command.
Command 00000002
Error code 00000000 Not used, so does not require
checking by at the receiving
end.
FINS frame --- From FINS header ICF to end
of data.
Size
(bytes)
4
4
4
4
12 to 2,012 (Refer to 7-2 FINS Frames for details.)
Header
Length
Command
Error code
FINS frame
FINS/TCP header
FINS frame
Item Contents (hexadecimal) Remarks
Header 46494E53 ASCII code: ‘FINS’
Length 00000008 8 bytes: Length of data from
command onwards.
Command 00000003
Error code --- Refer to the following table of
error codes.
Error code
(hexadecimal)
Details
00000000 Normal
00000001 The header is not ‘FINS’ (ASCII code).
00000002 The data length is too long.
00000003 The command is not supported.
Size
(bytes)
4
4
4
4
FINS/TCP header
Header
Length
Command
Error code