Omron CJ1W-DRM21, CS1W-DRM21 Fins Command Explicit Message Send 28, Command Block Response Block

Models: CJ1W-DRM21 CS1W-DRM21

1 274
Download 274 pages 23.02 Kb
Page 171
Image 171

Sending Explicit Messages

Section 6-4

The following diagram shows an example of actual node address specifica- tions.

Machine No. of DeviceNet Unit: 2

CMND

S

D

C

PC's

CPU

Unit

Node 05

Explicit message

Node 06

(Slave or Master not by OMRON)

The node address of the non-OMRON node is set as the destination node address in the FINS command data.

 

15

 

8 7

 

0

S

2

8

0

1

Command code

S+1

0

6

 

 

 

Explicit command block

Node address of the non-

OMRON node: 06 Hex

 

15

8 7

 

0

C+3

0

5

F

E

Destination node address:

Destination unit address:

Local node address: 05

FE or 12 ( Hex)

Note Depending on conditions, the destination slave may not always accept an explicit message. Always perform retry processing when sending explicit mes- sages.

FINS Command: EXPLICIT MESSAGE SEND (28 01)

Command Block

Response Block

EXPLICIT MESSAGE SEND will send an explicit DeviceNet message to the specified class and receive a response.

28

01

 

 

534 bytes max.

Command

Class ID

Instance ID

Service data

code

Service code

 

 

Destination node address

 

 

Normal Response

28 01

534 bytes max.

Command

Response

No. of bytes

Service data

code

code

received

Service code

Destination node address (remote node)

Error Responses

The following response is returned if an error occurs for the explicit message.

28 01

Command

Response No. of bytes

Error code

code

code

received

Service code 94 (Hex)

Destination node address (remote node)

The following response is returned if the explicit message cannot be sent or times out.

160

Page 171
Image 171
Omron CJ1W-DRM21 Fins Command Explicit Message Send 28, Command Block Response Block, Normal Response, Error Responses