Omron CJ1W-ETN21 Fins Frame Send Command, Following table shows the list of error codes

Models: CJ1W-ETN21

1 242
Download 242 pages 30.9 Kb
Page 202
Image 202

FINS/TCP Method

Section 7-4

When automatically allocated FINS node addresses are set, the client node address automatically allocated at the server is stored in the client node address field.

After a connection has been established as a FINS/TCP client or server, do not send this command again. Otherwise, the error code (00000003 hexadec- imal: The command is not supported) will be received in the FINS FRAME SEND ERROR NOTIFICATION command and the connection will be termi- nated.

FINS/TCP header

Header

Length

Command

Error code

Client node address

Size (bytes)

4

4

4

4

4

FINS FRAME SEND Command

Server node address 4

The details of the above frame are shown in the following table.

Item

Contents (hexadecimal)

Remarks

 

 

 

Header

46494E53

ASCII code: ‘FINS’

 

 

 

Length

00000010

16 bytes: Length of data from

 

 

command onwards.

 

 

 

Command

00000001

 

 

 

 

Error code

---

Refer to the following table of

 

 

error codes.

 

 

 

Client node address

00000001 to 000000FE

1 to 254

(FINS node address

 

 

of FINS/TCP client)

 

 

 

 

 

Server node address

00000001 to 000000FE

1 to 254

(Fins node address

 

 

of FINS/TCP server)

 

 

 

 

 

The following table shows the list of error codes.

Error code

Details

(hexadecimal)

 

 

 

00000000

Normal

 

 

00000001

The header is not ‘FINS’ (ASCII code).

 

 

00000002

The data length is too long.

 

 

00000003

The command is not supported.

 

 

00000020

All connections are in use.

 

 

00000021

The specified node is already connected.

 

 

00000022

Attempt to access a protected node from an unspecified IP

 

address.

 

 

00000023

The client FINS node address is out of range.

 

 

00000024

The same FINS node address is being used by the client and

 

server.

 

 

00000025

All the node addresses available for allocation have been

 

used.

 

 

When FINS frames are sent using TCP/IP, always add the FINS FRAME SEND command to the beginning of the FINS frame. The FINS frame is sepa- rated out from the TCP data line following the data length in the FINS FRAME SEND command.

178

Page 202
Image 202
Omron CJ1W-ETN21 Fins Frame Send Command, Following table shows the list of error codes, Error code Details Hexadecimal