beautypg.com

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

Page 67

background image

Examples 9-23

Example #8

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

and Ex-xx’s) to Drive #3


This example will write all of the drive parameters to drive #3. After writing the drive parameters,
the new data will be stored in Volatile memory with the ‘ACCEPT’ command, which allows the
drive to run after parameter change. In this example, an input to the PLC will be used to initiate
the MSTRs that will write the drive parameters. This input will be addressed at 10008.

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

#

MSTR Transaction

Control

Registers

Data

Registers

1

Write bx-xx parameters to drive at node #3

40460

40470

2

Write Cx-xx parameters to drive at node #3

40510

40520

3

Write dx-xx parameters to drive at node #3

40590

40600

4

Write Ex-xx parameters to drive at node #3

40630

40640

5

Write the ACCEPT command

40660

40670


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


10008

00061

00059

00060

00059

00061



00061

00064

00062

00063

00062

00064


00064

00067

00065

00066

00065

00067

00067

00070

00068

00069

00068

00070

40460


40470

MSTR
#0040

40510


40520

MSTR
#0070

40590


40600

MSTR
#0030

40630


40640

MSTR
#0020