beautypg.com

Example #4, Write global run/stop and frequency reference – Yaskawa VS-616G5 Modbus Plus Communication Card User Manual

Page 52

background image

9-8 Examples

Example #4

Write Global RUN/STOP and Frequency Reference


This example will show how to write a global RUN REVERSE command and a 34.56 Hz
frequency reference to all drives on the MB+ network. To enable this global write function, the
address of the active local network PLC/host device (the source of global data) must be written to
data register code F200h for each drive receiving global data.

In this example, an input to the PLC will be used to initiate the MSTRs that will write to the F200h
register. This input will be 10004.

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

#

MSTR Transaction

Control

Registers

Data

Registers

1

Enable Global Data to the drive at node #2

40100

40110

2

Enable Global Data to the drive at node #3

40120

40130

3

Enable Global Data to the drive at node #4

40140

40150

4

Write Global Data to the drives

40160

40170



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


10004 00024

00022

00023

00022

00024



00024 00027

00025

00026

00025

00027


00027 00030

00028


00029

00028

00030



40100


40110

MSTR
#0010

40120


40130

MSTR
#0010

40140


40150

MSTR
#0010