Using FINS Message Communications

Section 6-3

Example Program

 

A500

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

 

 

 

(071)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BSET

#0000

D00000

D02999

 

 

First Scan Flag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#0008

 

D00000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#000E

 

D00001

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#0001

 

D00002

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#0600

 

D00003

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#0000

 

D00004

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#0064

 

D00005

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#0101

 

D01000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#8203

 

D01001

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#E800

 

D01002

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

#0005

 

D01003

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

Execution

 

 

 

 

 

 

 

 

 

 

MOV

#0001

0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

condition

15110

 

 

 

 

 

 

 

 

 

 

 

 

 

0000

A202

 

 

 

 

 

 

 

 

 

 

 

 

 

00

00

 

 

00

 

 

 

 

(490)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CMND

D01000

D02000

D00000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port

Online Flag

 

 

 

 

 

 

 

 

 

 

 

 

 

Enabled

(word n+11,

 

 

 

 

(025)

 

 

 

 

 

 

 

 

Flag

bit 00)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASL

0000

 

 

 

0000

 

A202

A219

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

01

00

 

 

 

00

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

A203

 

D00006

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port

 

 

 

Port

 

 

 

(026)

 

 

 

 

 

 

 

 

 

Enabled

Execution

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASR

0000

 

 

 

 

 

 

 

Flag

 

 

 

Error Flag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(001)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

END

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sets 0000 in D00000 to D02999.

Place data into control data words to specify to read 5 words D01000 to D01004 from the PC of node 06 and network 01 to the PC of node 05.

Place the command data for MEMORY AREA READ into D01000 to D01003.

Places 0001 into CIO 0000

Reads 5 words D01000 to D01004 from the PC of node 06 and network 01 to the PC of node 05 and stored the data beginning at D02000.

Shifts the contents of CIO 0000 one bit to the left.

Stores the network error response code in A203 to D00006.

Shifts the contents of CIO 0000 one bit to the right to reset CIO 000000.

6-3-6 Connecting Networks for FINS Communications

CS/CJ-series DeviceNet Units can perform FINS communications between networks. DeviceNet networks are handled the same way as other FA net- works such as Controller Link or SYSMAC LINK, and the OA network Ether- net.

DeviceNet networks can be connected to the other DeviceNet networks or to other types of networks.

Note Explicit message communications cannot be performed between networks.

157

Page 168
Image 168
Omron CS1W-DRM21, CJ1W-DRM21 operation manual Connecting Networks for Fins Communications, Example Program