Omron CS1W-DRM21, CJ1W-DRM21 operation manual Sending Explicit Messages Using CMND490

Models: CJ1W-DRM21 CS1W-DRM21

1 274
Download 274 pages 23.02 Kb
Page 172
Image 172

Sending Explicit Messages

 

 

 

 

 

 

Section 6-4

 

 

28

 

01

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

Response

 

 

code

code

Parameters

Destination node address (command): The node address of the destination

 

of the explicit message. (The node address of the local DeviceNet Unit is

 

specified in the control data for the CMND(490) or IOWR instruction, but the

 

node address of the actual destination is specified here in the FINS com-

 

mand.)

 

 

 

 

Service code (command, response): A service code defined for DeviceNet. In a normal response, bit 15 of the service code specified in the command will be turned ON and returned. In an error response, 94 Hex will always be returned.

Class ID (command): The class ID of the destination of the explicit message.

Instance ID (command): The instance ID of the destination of the explicit message.

Service data (command, response): The data defined for the services codes.

No. of bytes received (response): The number of bytes received from the destination node address (remote node).

Destination node address (remote node): The node address of the OMRON Special I/O Slave Unit or Slave manufactured by another company to which the explicit message was sent is returned.

Error code (response): An error code defined by DeviceNet.

Note 1. This command sends a DeviceNet-defined explicit message to an OMRON Special I/O Slave Unit or a Slave manufactured by another company and receives a response.

2.Unlike other FINS commands, this command is addressed to the local De- viceNet Unit. The actual destination of the explicit message is given in the command data, as described above.

3.If the DeviceNet Unit receives an explicit message, it will automatically re- turn a response.

4.Refer to the DeviceNet Specification for details on parameters for explicit messages.

5.Contact the Open DeviceNet Vendor Association, Inc. (ODVA) at 8222 Wiles Road, Suite 287, Coral Springs, FL 33067 USA (phone: 954-340- 5412, fax: 954-340-5413, e-mail: billmoss@ix.netcom.com, Home page: http://www.odva.org/) to obtain copies of the specification.

6.For details on explicit messages to OMRON Special I/O Slaves, refer to the CompoBus/D (DeviceNet) Slaves Operation Manual (W347).

6-4-2 Sending Explicit Messages Using CMND(490)

CMND(490) can be used in the CPU Unit ladder program of the CS/CJ-series

DeviceNet Unit to send explicit messages.

FINS command headers are attached to the explicit messages and sent.

After the FINS command header and the FINS completion code are sent, the explicit message response is received.

The following command is used: [ CMND

S

D

C ]

S: First command word

161

Page 172
Image 172
Omron CS1W-DRM21, CJ1W-DRM21 operation manual Sending Explicit Messages Using CMND490