beautypg.com

Mstr transaction #2 – Yaskawa VS-616G5 Modbus Plus Communication Card User Manual

Page 61

background image

Examples 9-17

MSTR Transaction #2


The Control Block and Data Block registers for the second MSTR must be loaded with the
following data before the MSTR block is executed. This MSTR writes to the Global Frequency
Reference Multiplier Register on drive #2.

CONTROL BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40240

Operation Code

0001h

0001h = Write to Multiple Registers

40241

Network Error Code

0000h

The error code returned by Modbus Plus
communications

40242

Number of
Registers

0001h

Write to 1 consecutive register

40243

Data Register Code

F201h

Global Write Data Register

40244

Routing 1

0002h

Modbus Plus node address of the drive = 0002h

40245

Routing 2

0001h

End of routing path = 0001h (Modbus Plus
requirement)

40246

Routing 3

0000h

This routing register is not used, must be set to 0

40247

Routing 4

0000h

This routing register is not used, must be set to 0

40248

Routing 5

0000h

This routing register is not used, must be set to 0


DATA BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40250

Global Frequency
Reference Multiplier

01F4h

0500 (decimal) = .500 multiplier. Frequency in
002h register is multiplied by .500 on drive 2.