beautypg.com

Example #7 – Yaskawa VS-616G5 Modbus Plus Communication Card User Manual

Page 62

background image

9-18 Examples

Example #7

Read Drive Parameter Registers (bx-xx’s, Cx-xx’s, dx-xxs,

and Ex-xx’s) from Drive #3


This example will read drive parameter registers from drive #3. In this example, an input to the
PLC will be used to initiate the MSTRs that will read the drive parameters. This input will be
addressed at 10007.

This example requires multiple MSTR transactions. The following MSTR transactions will be
performed:

#

MSTR Transaction

Control

Registers

Data

Registers

1

Read bx-xx parameters (registers 180h - 1A5h)

40260

40270

2

Read Cx-xx parameters (registers 200h - 240h)

40310

40320

3

Read dx-xx parameters (registers 280h - 296h)

40390

40400

4

Read Ex-xx parameters (registers 300h - 316h)

40430

40440


The MSTR functions inserted into the ladder logic would look like:


10007

00048

00046

00047

00046

00048



10007

00052

00050

00051

00050

00052


10007

00055

00053

00054

00053

00055



10007

00058

00056

00057

00056

00058


40260


40270

MSTR
#0040

40310


40320

MSTR
#0070

40390


40400

MSTR
#0030

40430


40440

MSTR
#0020