2 fins frames, Fins frames – Omron CS CJ1W-ETN21 User Manual

Page 186

Advertising
background image

162

FINS Frames

Section 7-2

7-2

FINS Frames

The FINS communications service is carried out through the exchange of
FINS command frames and their corresponding response frames. (There are
also commands with no responses.)

Both command frames and response frames are comprised of a FINS header
for storing transfer control information, a FINS command field for storing a
command, and a FINS parameter/data field for storing command parameters
and transmission/response data.

FINS command frames and FINS response frames are used with both FINS/
UDP and FINS/TCP.

FINS Command
Frame Format

FINS Response
Frame Format

FINS Header
Information

ICF (Information Control
Field)

FINS header

FINS command

FINS parameter/data

Parameter/
data field

Size (bytes)

Contents

Displays frame information

Reserved by system.

Permissible number of gateways

Destination network address

Destination node address
Destination unit address

Source network address

Source node address

Source unit address

Service ID

Main request code

Sub-request code

2000 max.

Command parameters and send data

The data length depends on the MRC and SRC.

1

1

1

1

1

1

1

1

1

1

1

1

ICF

RSV

GCT

DNA

DA1

DA2

SNA

SA1

SA2

SID

MRC

SRC

FINS
parameter/data field

FINS header

FINS command

Data

Size (bytes)

Contents

Same as in command frame.

Same as in command frame.

Main response code

Sub-response code

1998 max.

Response data

There are some frames in which
the data length is 0.

10

2

1

1

MRES

SRES

7

6

5

4

3

2

1

0

1 0 0 0 0 0

Bit

Response Request Bit
(0: Response required; 1: Response not required)
Kind of data (0: command; 1: response)

Advertising