FINS Commands and Responses

Section 6-2

Refer to SYSMAC CS/CJ Series Communication Commands Reference Man- ual (W342) for details on FINS commands.

6-2-2 Sending/Receiving FINS Command/Responses

FINS commands are sent using the CMND(490) instruction for CS/CJ-series PCs. Send/receive FINS commands and responses and the data formats used are illustrated in the following diagram. Unless otherwise specified, all data is hexadecimal.

1 byte

1 byte

(For CS/CJ-series PC)

Word

Command

Response

 

2 bytes

540 bytes max.

FINS header

 

 

DeviceNet

 

 

 

Automatically

Command

 

Unit

 

Text

generated

 

code

 

 

 

 

 

 

 

 

and attached

 

 

 

 

 

 

 

 

 

 

Command

 

 

 

 

Response

DeviceNet network

 

 

 

 

 

2 bytes 2 bytes

538 bytes max.

FINS header

 

 

 

 

 

Automatically

Command

Response

Text

generated

code

code

 

 

 

and attached

 

 

 

 

 

1 byte

1 byte

Word

CS/CJ-series CPU Unit

Command Codes

Command codes are represented by a 2-byte hexadecimal code. FINS com-

 

mands always begin with a 2-byte command code and any parameters that

 

are required follow the command code.

Response Codes

Response codes are represented by a 2-byte hexadecimal code that indicates

 

the results of command execution. The first byte provides the main response

 

code (MRES), which classifies the results, and the second byte provides the

 

sub-response code (SRES), which provides details on the results.

142

Page 153
Image 153
Omron CJ1W-DRM21, CS1W-DRM21 Sending/Receiving Fins Command/Responses, Command Codes, Are required follow the command code