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

Page 64

Advertising
background image

9-20 Examples

MSTR Transaction #2


The Control Block registers for the second MSTR must be loaded with the following data before
the MSTR block is executed. This MSTR reads C1-01 through C8-30.

CONTROL BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40310

Operation Code

0002h

0002h = Read from Multiple Registers

40311

Network Error Code

0000h

The error code returned by Modbus Plus
communications

40312

Number of Registers

0040h

Read from 64 consecutive registers

40313

Data Register Code

0200h

0200h = start of Cx-xx parameters

40314

Routing 1

0003h

Modbus Plus node address of drive = 0003h

40315

Routing 2

0001h

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

40316

Routing 3

0000h

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

40317

Routing 4

0000h

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

40318

Routing 5

0000h

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


The Data Block registers for the second MSTR will be filled with the following data when the
MSTR is completed.

DATA BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40320

C1-01

READ

Acceleration Time 1

40321

C1-02

READ

Deceleration Time 1

?

?

?

?

40383

C8-30

READ

Carrier in Tune


Advertising