beautypg.com

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

Page 73

background image

Examples 9-29

Example #9

Read the Drive Status Registers from Drive #2, #3, and #4


This example will read the various drive status registers (such as Drive Status Signals, Drive Fault
Contents, Communication Data Link Status, Frequency Reference, Output Reference, Output
Current, and DC Bus Voltage) from all of the VS-616G5s. In this example, an input to the PLC will
be used to initiate the MSTRs that will read the drive status. This input will be addressed at
10009.

Since all of these drive status registers are consecutive, this example only requires one read
MSTR transactions per drive. The following MSTR transactions will be performed:

#

MSTR Transaction

Control

Registers

Data

Registers

1

Read drive status (F000h - F00Fh) from drive #2

40680

40690

2

Read drive status (F000h - F00Fh) from drive #3

40710

40720

3

Read drive status (F000h - F00Fh) from drive #4

40740

40750


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



10009

00076

00074

00075

00074

00076


10009

00079

00077

00078

00077

00079


10009

00082

00080

00081

00080

00082



40680


40690

MSTR
#0020

40710


40720

MSTR
#0020

40740


40750

MSTR
#0020