Omron CS1W-DRM21, CJ1W-DRM21 Using Fins Message Communications, Setting Node Addresses

Models: CJ1W-DRM21 CS1W-DRM21

1 274
Download 274 pages 23.02 Kb
Page 156
Image 156

Using FINS Message Communications

 

 

 

 

 

 

 

 

Section 6-3

Commands Addressed to DeviceNet Units

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Name

 

Command

Page

 

 

 

 

 

 

 

 

code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RESET

 

 

04

 

 

03

241

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONTROLLER DATA READ

 

05

 

 

01

241

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONTROLLER STATUS READ

 

06

 

 

01

242

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ECHOBACK TEST

 

08

 

 

01

243

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ERROR LOG READ

 

21

 

 

02

244

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ERROR LOG CLEAR

 

 

 

 

03

245

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command to Send Explicit DeviceNet Messages

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Name

 

Command

Page

 

 

 

 

 

 

 

 

 

code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EXPLICIT MESSAGE SEND

 

28

 

 

01

261

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6-3

Using FINS Message Communications

 

 

 

 

 

 

 

There are two instructions that can be executed to send and receive data from

 

 

 

CS/CJ-series CPU Units: SEND(090) and RECV(098). There is another

 

 

 

instruction that can be executed to send any FINS command: CMND(490).

6-3-1

Setting Node Addresses

 

 

 

 

 

 

 

 

 

 

 

 

Set the nodes for FINS message communications to node addresses other

 

 

 

than 0. Node address 0 has a special meaning (local node) in message com-

 

 

 

munications. If 0 is set as a node address for the Unit, message communica-

 

 

 

tions will not be possible.

 

 

 

 

 

 

 

 

 

6-3-2

Creating Routing Tables

 

 

 

 

 

 

 

 

 

 

 

 

The DeviceNet Unit functions as a Communications Unit in the same way as the

 

 

 

SYSMAC LINK Unit, Controller Link Unit, and Ethernet Unit.

 

 

 

It is therefore necessary to create routing tables for the communications func-

 

 

 

tions to be used, as shown in the table below.

 

 

 

 

 

 

 

 

 

Mounted Units

Using master or slave

Using explicit

Using FINS message

Using FINS message

 

 

functions only

message

communications not

communications

 

 

 

 

communications (not

across networks

across networks

 

 

 

 

supported across

 

 

 

 

 

 

 

 

 

 

 

 

 

networks)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DeviceNet is the only

Not necessary (See note 1.)

 

 

 

 

 

 

Local network table

Communications

 

 

 

 

 

 

 

 

 

(See note 2.) and relay

Unit mounted

 

 

 

 

 

 

 

 

 

network table are nec-

 

 

 

 

 

 

 

 

 

 

 

essary.

Multiple DeviceNet

Not necessary (See

Local network table necessary (See note 2.)

 

 

 

Units mounted as

note 1.)

 

 

 

 

 

 

 

 

 

 

Communications

 

 

 

 

 

 

 

 

 

 

 

 

Units

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DeviceNet Unit and

Local network table necessary (See note 2.)

 

 

 

 

 

 

 

 

 

other Communica-

 

 

 

 

 

 

 

 

 

 

 

 

tions Unit mounted

 

 

 

 

 

 

 

 

 

 

 

 

simultaneously

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note 1. If a local network table already exists in the CPU unit being used, the De-

 

 

 

viceNet Unit must be registered in that table.

 

 

 

 

 

 

 

2. The DeviceNet Unit must be registered in the local network table.

145

Page 156
Image 156
Omron CS1W-DRM21 Using Fins Message Communications, Setting Node Addresses, Commands Addressed to DeviceNet Units