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

Examples 9-13
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 Acceleration Time 1 register (C1-01) and the Deceleration
Time 1 register (C1-02) to drive (at node 2).
CONTROL BLOCK
Register
Number
Register
Description
Register
Data
Data
Description
40180
Operation Code
0001h
0001h = Write to Multiple Registers
40181
Network Error Code
0000h
The error code returned by Modbus Plus
communications
40182
Number of Registers
0002h
Write to 2 consecutive registers
40183
Data Register Code
0200h
C1-01 data code
40184
Routing 1
0002h
Modbus Plus node address of drive = 0002h
40185
Routing 2
0001h
End of routing path = 0001h (Modbus Plus
requirement)
40186
Routing 3
0000h
This routing register is not used, must be set to 0
40187
Routing 4
0000h
This routing register is not used, must be set to 0
40188
Routing 5
0000h
This routing register is not used, must be set to 0
DATA BLOCK
Register
Number
Register
Description
Register
Data
Data
Description
40190
Acceleration Time 1
000Ah
1.0 sec = 10 (decimal) = 000Ah
40191
Deceleration Time 1
0014h
2.0 sec = 20 (decimal) = 0014h