beautypg.com

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

Page 134

background image

6

Message Send and Receive Functions

6.5 Programming Example

6.5.5 Sending Request/Receiving Response (Client) according to Non-procedure Protocol

6-49

END_IF

0025

0038
NL-1

IF

DB000212==true

0026

0039
NL-1

INC

Dest DW00025

0027

0040
NL-2

STORE

Source DW00000

Dest

DW00026

0028

0041
NL-2

STORE

Source DW00001

Dest

DW00027

0029

0042
NL-2

END_IF

0030

0043
NL-1

DB000610

TON[10ms]

Set

00300

Count DW00062

DB000611

DB000612

DB000602

DB000602

0031

0044
NL-1

DB000602

DB00061B

DB000801

0032

0050
NL-1

IF

DB000801==true

0033

0053
NL-1

INC

Dest DW00063

0034

0054
NL-2

END_IF

0035

0055
NL-1

DB000211

DB000202

DB000611

DB000612

DB000602

DB000601

DB000601

0036

0056
NL-1

MSG-RCV

Execute DB000601

Abort

DB000602

Dev-Typ 00014

Pro-Typ 00002

Cir-No

00001

Ch-No 00001

Param DA00040

Busy

DB000610

Complete DB000611

Error

DB000612

0037

0063
NL-1

IF

DB000211==true

0023

0036
NL-1

INC

Dest DW00024

0024

0037
NL-2

Executing

Normal

completion

Normal

completion

Abnormal

completion

Normal

completion

Abnormal

completion

Abort command

Abort command

Abort command

Abort command

Abort command

Normal 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.

Function Send command

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.

Sends the Abort command.

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: 2 (Non-procedure)
Cir-No. (circuit number): 1
Ch-No. (channel number): 1