Using FINS Message Communications

Section 6-3

Program Example

A202

11

First Scan Flag

Execution condition

(071)

 

BSET

#1234 D01000 D01004

(021)

MOV #0005 D00000

(021)

MOV #0001 D00001

(021)

MOV #0600 D00002

(021)

MOV #0000 D00003

(021)

MOV #0064 D00004

(021)

MOV #0001 0000

Sets 1234 in D01000 to D01004.

Places data into control data words to specify the 5 words to be transmitted to the CPU Unit of node 06 of network 01, through port 0, with response, 0 retries, and a response monitoring time of 10.0 seconds.

Places 0001 into CIO 0000

000

A202

1511

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00

00

 

 

00

 

 

 

 

 

 

 

(090)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SEND D01000

D03000

D00000

 

 

 

Network

Online Flag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Enabled

(Word n+11,

 

 

 

 

 

 

 

(025)

 

 

 

 

 

Flag

bit 00)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASL

0000

0000

 

 

A202

A202

 

 

 

 

 

 

 

01

00

 

 

 

08

 

 

 

 

 

 

(021)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

A503

D00006

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Network

Network

 

 

(061)

 

 

 

 

 

 

Enabled

Execution

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASR

0000

 

 

 

 

Flag

 

 

 

Error Flag

 

 

 

 

 

 

 

 

 

 

(001)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

END

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transfers 5 words of data from D01000 to D01004 from the PC of node 05 to D03000 to D03004 in the PC of node 06.

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

Stores the completion code in A203 to D00006.

Shifts the contents of CIO 0000 one bit to the right and retries the next cycle (CIO 000000 ON).

155

Page 166
Image 166
Omron CS1W-DRM21, CJ1W-DRM21 operation manual Program Example, Bset