Yaskawa JAPMC-MC2303-E User Manual

Page 123

Advertising
background image

6.5 Programming Example

6.5.2 Word Block Data Write (Client)

6-38

Executing

DB000210

TON[10ms]

Set

00300

Count DW00031

DB000211

DB000212

Abort command

DB000202

Abort command

DB000202

0014

0014
NL-1

Abort command

DB000202

DB00021B

DB000400

0015

0020
NL-1

IF

DB000400==true

0016

0023
NL-1

INC

Dest DW00023

0017

0024
NL-2

END_IF

0018

0025
NL-1

DB000201

TON[10ms]

Set

00100

Count DW00030

DB000200

0019

0026
NL-1

DB000200

DB000211

DB000212

Abort command

DB000202

DB000201

DB000201

0020

0029
NL-1

MSG-SND

Execute DB000201

Abort

DB000202

Dev-Typ 00014

Pro-Typ 00001

Cir-No

00001

Ch-No 00001

Param DA00000

Busy

DB000210

Complete DB000211

Error

DB000212

0021

0035
NL-1

IF

DB000211==true

0022

0036
NL-1

INC

Dest DW00024

0023

0037
NL-2

END_IF

0024

0038
NL-1

IF

DB000212==true

0025

0039
NL-1

INC

Dest DW00025

0026

0040
NL-2

STORE

Source DW00000

Dest

DW00026

0027

0041
NL-2

STORE

Source DW00001

Dest

DW00027

0028

0042
NL-2

END_IF

0029

0043
NL-1

END

0030

0044
NL-1

Normal

completion

Abnormal

completion

Abnormal

completion

Abnormal completion

Forced stop if processing is not completed
within 3 seconds after sending the Send
command.

Increments the stop counter
when the Abort command is sent.

Starts sending every 1 second.

Function Send command

Sends a message to the remote node.
The executing coil turns ON when
the CPU receives the command.
The normal completion or abnormal completion
coil turns ON at the completion of processing.
Pro-Type: Always 1 (MEMOBUS
communication)
Cir-No. (circuit number): 1 (Depends on the
connection port.)
Ch-No. (channel number): 1 (Use 1 to 10 for the
262IF-01.)

Turns ON after the query message is sent
and the response message is received.

Increments the normal pass counter.

Ended with transmission errors.

Increments the abnormal pass counter.

Stores the processing results.

Stores the status.

Normal

completion

Normal completion

Start sending

Start sending

Command

Command

Command

Advertising