A-84 – Yaskawa MP2300S Basic Module User Manual

Page 406

Advertising
background image

Appendix G MSG-SND/MSG-RCV Functions (Ethernet)

G.1 Message Transmit Function (MSG-SND)

A-84

Example: When reading coil state with offset:
The various setting values and their relationships with the data of the remote device are as follows, when transmitting
“reading coil state” with offset in MEMOBUS protocol:

• Description of the MSG-SND function in ladder program

• Parameter list setting of the MSG-SND function

Note: IN: Input, OUT: Output, SYS: For system use

Table G.19 Parameter List Setting

Register Num-

ber

Setting

Value

Parameter Num-

ber

IN/OUT

Remarks

DW00000

PARAM00

OUT

Process result

DW00001

PARAM01

OUT

Status

DW00002

00001

PARAM02

IN

Connection number=1

DW00003

PARAM03

IN

Option (setting unnecessary)

DW00004

00001

PARAM04

IN

Function code=1 (reads coil state)

DW00005

08192

PARAM05

IN

Data address=8192 bits (512 words)

DW00006

00100

PARAM06

IN

Data size=100

DW00007

00001

PARAM07

IN

Remote CPU number=1

DW00008

01000

PARAM08

IN

Coil offset=1000 words

DW00009

00000

PARAM09

IN

Input relay offset=0 word

DW00010

00000

PARAM10

IN

Input register offset=0 word

DW00011

00000

PARAM11

IN

Holding register offset=0 word

DW00012

PARAM12

SYS

Reserved (zero clear at startup)

DW00013

PARAM13

SYS

Reserved

DW00014

PARAM14

SYS

Reserved

DW00015

PARAM15

SYS

Reserved

DW00016

PARAM16

SYS

Reserved

Execute

Communication device = 218IFA

Protocol = MEMOBUS

Circuit number = 1

Communication buffer channel number = 1

Parameter list start address

(use DW00000 to DW00016)

Abort

Dev-Typ
Pro-Typ

Cir-No
Ch-No
Param

MSG-SND

Busy
Complete

Error

DB000201
DB000202
00016
00001
00001

DA00000

00001

DB000210
DB000211

DB000212

Advertising