Example #3, Read global data from drives #2 and #3 – Yaskawa VS-616G5 Modbus Plus Communication Card User Manual
Page 49

Examples 9-5
Example #3
Read Global Data from Drives #2 and #3
This example will read global data from drive #2 and drive #3. To enable a global read, Dip switch
SW1-8 must be turned ON for each drive. The MB+ interface provides eight specific registers
that can be read by the PLC. This is done via the “Read Global Data” MSTR Function (operation
code #6). The PLC can only read global data from one drive at a time; therefore multiple MSTR
transactions will be required.
In this example, an input to the PLC will be used to initiate the MSTRs that will read the global
data. This input will be addressed at 10003.
This example requires multiple MSTR transactions. The following MSTR transactions will be
performed:
#
MSTR Transaction
Control
Registers
Data
Registers
1
Read global data from drive #2
40040
40050
2
Read global data from drive #3
40060
40070
The MSTR functions inserted into the ladder logic would look like:
10003 00018
00016
00017
00016
00018
10003 00021
00019
00020
00019
00021
40040
40050
MSTR
#0010
40060
40070
MSTR
#0010