Message send and receive functions – Yaskawa JAPMC-MC2303-E User Manual

Page 138

Advertising
background image

6

Message Send and Receive Functions

6.5 Programming Example

6.5.6 Receiving Transparent Message Request (Server)

6-53

MSG-RCV

Execute SB000004

Abort

DB000202

Dev-Typ 00014

Pro-Typ 00002

Cir-No

00001

Ch-No 00001

Param DA00000

Busy

DB000210

Complete DB000211

Error

DB000212

0012

0013
NL-1

IF

DB000211==true

0013

0014
NL-1

INC

Dest DW00024

0014

0015
NL-2

END_IF

0015

0016
NL-1

IF

DB000212==true

0016

0017
NL-1

INC

Dest DW00025

0017

0018
NL-2

STORE

Source DW00000

Dest

DW00026

0018

0019
NL-2

STORE

Source DW00001

Dest

DW00027

0019

0020
NL-2

STORE

Source DW00002

Dest

DW00028

0020

0021
NL-2

0021

0022
NL-1

0022

0023
NL-1

END_IF

END

Normal completion

Abnormal completion

Increments the normal pass counter.

Increments the abnormal pass counter.

Stores the processing results.

Stores the status.

The normal completion coil turns ON
at the normal completion.

The abnormal completion coil turns ON
at the abnormal completion.

Stores the number of node to
which the command is sent.

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 2 (Non-procedure
communication)
Cir-No. (circuit number): 1 (Depends on the
connection port.)
Ch-No. (channel number): 1 (Use 1 to 10 for
the 262IF-01.)

Advertising