beautypg.com

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

Page 50

background image

9-6 Examples

MSTR Transaction #1


In this example, the MSTR blocks are executed simultaneously. 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 transaction reads global data from drive #2.

CONTROL BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40040

Operation Code

0006h

0006h = Read Global Data MSTR Function

40041

Network Error Code

0000h

The error code returned by Modbus Plus
communications.

40042

Number of Registers

0008h

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

40043

Available Words

0000h

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

40044

Routing 1

0002h

Modbus Plus node address of the drive = 0002h

40045

Routing 2

0001h

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

40046

Routing 3

0000h

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

40047

Routing 4

0000h

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

40048

Routing 5

0000h

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


DATA BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40050

Operation Command

READ

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

40051

Output Frequency

READ

receives the drive’s output frequency (F005h).

40052

Output Current

READ

receives the drive’s output current (F006h).

40053

DC Bus Voltage

READ

receives the voltage (F008h).

40054

Drive Status

READ

receives the drive status (F000h).

40055

Existing Fault Code 1

READ

recieves the drive existing fault data (F009h)

40056

Existing Fault Code 2

READ

recieves the drive existing fault data (F00Ah)

40057

Existing Fault Code 3

READ

recieves the drive existing fault data (F00Bh)