beautypg.com

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

Page 51

background image

Examples 9-7

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 transaction reads global data from
drive #3.

CONTROL BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40060

Operation Code

0006h

0006h = Read Global Data MSTR Function

40061

Network Error Code

0000h

The error code returned by Modbus Plus
communications.

40062

Number of Registers

0008h

Number of words of global data requested (0-8).

40063

Available Words

0000h

The number of words available from the requested
node. This value is updated for you.

40064

Routing 1

0003h

Modbus Plus node address of the drive = 0003h

40065

Routing 2

0001h

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

40066

Routing 3

0000h

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

40067

Routing 4

0000h

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

40068

Routing 5

0000h

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


DATA BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40070

Operation Command

READ

receives the drive’s operation command (001h).

40071

Output Frequency

READ

receives the drive’s output frequency (F005h).

40072

Output Current

READ

receives the drive’s output current (F006h).

40073

DC Bus Voltage

READ

receives the voltage (F008h).

40074

Drive Status

READ

receives the drive status (F000h).

40075

Existing Fault Code 1

READ

recieves the drive existing fault data (F009h)

40076

Existing Fault Code 2

READ

recieves the drive existing fault data (F00Ah)

40077

Existing Fault Code 3

READ

recieves the drive existing fault data (F00Bh)