Mstr transaction #1 – Yaskawa VS-616G5 Modbus Plus Communication Card User Manual
Page 60

9-16 Examples
MSTR Transaction #1
In this example, the MSTR blocks are executed sequentially. The Control Block and Data Block
registers for the first MSTR must be loaded with the following data before the MSTR block is
executed. This MSTR writes to the Receive Global Source Data Register on drive #2.
CONTROL BLOCK
Register
Number
Register
Description
Register
Data
Data
Description
40220
Operation Code
0001h
0001h = Write to Multiple Registers
40221
Network Error Code
0000h
The error code returned by Modbus Plus
communications
40222
Number of Registers
0001h
Write to 1 consecutive register
40223
Data Register Code
F200h
Global Write Data Register Code
40224
Routing 1
0002h
Modbus Plus node address of the drive = 0002h
40225
Routing 2
0001h
End of routing path = 0001h (Modbus Plus
requirement)
40226
Routing 3
0000h
This routing register is not used, must be set to 0
40227
Routing 4
0000h
This routing register is not used, must be set to 0
40228
Routing 5
0000h
This routing register is not used, must be set to 0
DATA BLOCK
Register
Number
Register
Description
Register
Data
Data
Description
40230
Receive Global Data
0001h
0001h = address of the PLC/host device (the
source of global data)