beautypg.com

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

Page 59

background image

Examples 9-15

Example #6

Write a Global Frequency Reference Multiplier to Drive #2


This example will write a global frequency reference multiplier of 0.500 to drive #2. The global
frequency reference multiplier register is data code F201h in the Satellite Internal Register Group.
The value of the multiplier can range from 0.001 to 9.999. Each drive that receives a global
frequency reference will multiply the value received by the value in their Register 002h.

NOTE

For this operation to be valid, each drive must be initialized to receive global data. This is

done by sending the address of the PLC/host device (source of global data) to F200h.


In this example, an input to the PLC will be used to initiate the MSTRs that will write the reference
multiplier to drive #2. The input will be addressed at 10006.

Since the Receive Global Data Register and the Global Reference Multiplier Register can only be
written to one word at a time, only two MSTR transactions will be needed. The following MSTR
transactions should be performed:

#

MSTR Transaction

Control

Registers

Data

Registers

1

Write to the Global Write Source Data Register

Multiplier Register on drive #2

40220

40230

2

Write to the Global Reference
Multiplier Register on drive #2

40240

40250



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


10006

00042

00040

00041

00040

00042






00042

00045

00043

00044

00043

00045


40240


40250

MSTR
#0010

40220


40230

MSTR
#0010