beautypg.com

5 msg-rcv function – Yaskawa MP920 Communications Module User Manual

Page 200

background image

8.1 Connection to a Display Device

8-9

8

8.1.5

MSG-RCV Function

The following diagram shows a MEMOBUS Slave MSG-RCV ladder logic program for the
MP920 and CP-217.

SB000004

Command

Stop

DB000210

Executing

Normal completion

Abnormal completion

DB000211

DB000212

MSG-RCV

EXECUTE

BUSY

ABORT

COMPLETE

DEV-TYP

ERROR

PRO-TYP
CIR-NO
CH-NO
RECV PARAM
DA00000

00005
00001

00003

00001

SB000004

DB000211

Normal completion

Abnormal completion
DB000212

IFON

IEND

DEND

INC DW00024

INC DW00025

SB000003

One scan at startup

IFON

00000

00000

00000

00000

00000

00000

DW00025









DW00008

DW00009

DW00010

DW00011

DW00012

DW00013

DW00014

DW00024

Coil offset setting

Input relay offset setting

Input register offset setting

Holding register offset setting

Write range: LO

Write range: HI

System register clear

Normal pulse counter clear

Error counter clear

At startup, set the parameters in the
first scan.

DW00000

DW00001

DW00002

DW00004

DW00005

DW00006

DW00007

IEND

32767

Low-speed scan (DWG L): SB000003
High-speed scan (DWG H): SB000001
DW00002 is not set with the CP-217.

The circuit number
changes according to the
system configuration.

Normal counter

Error counter

Issue a Receive Message
instruction.

The executing coil turns ON when
the CPU receives the command.

The normal completion or abnormal completion
coil turns ON at processing completion.

General-purpose message communications
Circuit No. 3 (depending on the connection port)
Channel No. 1
(With the 217IF Module, the channel number is fixed at 1.)

Turns ON at receive completion of a query message and at
send completion of a response message.

Normal pulse counter added

Ended by a transmission error

Error pulse counter added







DW00026

DW00027

DW00028

DW00029

DW00030

DW00031

DW00032

Processing result stored

Status stored

Command receive destination ST# stored

FC stored

Data address stored

Deta size stored

Remote CP# stored