Yaskawa MP2300S Basic Module User Manual

Page 245

Advertising
background image

6.2 Communication with Other MP Series

6.2.4 When the MP2300S Acts as Master (ladder program which uses a MSG-SND function)

6-56

„

Parameter list setting example for the message transmit function

An example of a parameter list setting when writing 100 words of data from MW00400 to the destination using
the connection with a connection number = 3 follows:

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

Table 6.13 Parameter List Setting Example (parameter list start address Param = DA00000)

Register

Number

Setting Val-

ue

Parameter Num-

ber

IN/OUT

Remarks

DW00000

PARAM00

OUT

Process result

DW00001

PARAM01

OUT

Status

DW00002

00003

PARAM02

IN

Connection number = 3

DW00003

PARAM03

IN

Option (Setting unnecessary)

DW00004

0009H

PARAM04

IN

Function code = 09H (Reads a holding register)

DW00005

00400

PARAM05

IN

Data address = 400 (Starting from MW00400)

DW00006

00100

PARAM06

IN

Data size = 100 (100 words)

DW00007

00001

PARAM07

IN

Remote CPU number = 1

DW00008

00000

PARAM08

IN

Coil offset = 0 word

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 by the system. (Zero clear at startup)

DW00013

PARAM13

SYS

Reserved by the system.

DW00014

PARAM14

SYS

Reserved by the system.

DW00015

PARAM15

SYS

Reserved by the system.

DW00016

PARAM16

SYS

Reserved by the system.

Advertising