beautypg.com

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

Page 56

background image

9-12 Examples

Example #5

Write Acceleration and Deceleration Times (C1-01 and C1-02)

to a Drive


This example will show how to write acceleration time 1 and deceleration time 1 to a drive on the
MB+ network. After writing the new acceleration and deceleration times, the new data will be
stored in Non-Volatile memory with the ‘ENTER’ command.

In this example, an input to the PLC will be used to initiate the MSTRs that will write the
acceleration and deceleration times. This input will be addressed at 10005.

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

#

MSTR Transaction

Control

Registers

Data

Registers

1

Write Accel and Decel registers

40180

40190

2

Write the ENTER command

40200

40210



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


10005

00036

00034


00035

00034

00036



00036

00039

00037

00038

00037

00039


40180


40190

MSTR
#0010

40200


40210

MSTR
#0010