beautypg.com

Enabling global write, Executing a global read function – Yaskawa VS-616G5 Modbus Plus Communication Card User Manual

Page 35

background image

Special Modbus Plus Functions 7-3

Enabling Global Write


Each drive that will receive global write data must be initialized to do so. If a drive is not initialized
to receive global write data, it will ignore any global data that is transmitted on the MB+ network.

The data held in the Modbus Plus special data register F200h indicates the Modbus Plus node
address of the device (PLC) that will be sending the global data to the drive. The VS-616G5 drive
will only accept global data that is sent from this device. To enable global data, write the Modbus
Plus node address (1-64) of the device sending global data to register F200h. To disable global
data, write a ‘0’ to register F200h.

An example of enabling global data can be found in Chapter 9: Example #4 (write global run/stop
and frequency reference).

Executing a Global Read Function


An MSTR global read function (operation code = 6) will read eight specific status registers. The
global read function must be enabled by turning Dip switch SW1-8 ON. The status data can be
read by any PLC connected to a local MB+ network.

The following registers are considered the “Global Read Data”:

MSTR Function Data

Area

Function

VS-616G5 Drive

Register Data Code

4X + 0

Operation Command

001h

4X + 1

Output Frequency

F005h

4X + 2

Output Current

F006h

4X + 3

DC Bus Voltage

F008h

4X + 4

Drive Status

F000h

4X + 5

Existing Fault Code 1

F009h

4X + 6

Existing Fault Code 2

F00Ah

4X + 7

Existing Fault Code 3

F00Bh


See Appendix A for more details on these Data Registers. An example of reading global registers
is shown in Chapter 9: Example #3 (Read Global Registers).