beautypg.com

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

Page 74

background image

9-30 Examples

MSTR Transaction #1


In this example, the MSTR blocks are executed simultaneously. The Control Block registers for
the first MSTR must be loaded with the following data before the MSTR block is executed. This
MSTR reads drive status from drive #2.

CONTROL BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40680

Operation Code

0002h

0002h = Read from Multiple Registers

40681

Network Error Code

0000h

The error code returned by Modbus Plus
communications

40682

Number of Registers

0010h

Read from 16 consecutive registers

40683

Data Register Code

F000h

F000h = Drive Status Signals

40684

Routing 1

0002h

Modbus Plus node address of the drive = 0002h

40685

Routing 2

0001h

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

40686

Routing 3

0000h

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

40687

Routing 4

0000h

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

40688

Routing 5

0000h

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


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

DATA BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40690

Drive Status Signals

READ

RUN/STOP, FWD/REV, Drive Ready, etc.

40691

Motor Speed

READ

Motor Speed

40692

Torque Reference

READ

Torque Reference

40693

not used

n/a

n/a

40694

Speed Reference

READ

Frequency command to drive

40695

Output Frequency

READ

(0.1 Hz) Frequency at the drive

40696

Output Current

READ

Current at the output

40697

Analog Input

READ

Control Circuit Term 14 Input Volatge

40698

DC Bus Voltage

READ

(1.0 V) DC Bus voltage

40699

Fault Content 1

READ

Overcurrent, Overvoltage,

40700

Fault Content 2

READ

Drive Overload,

40701

Fault Content 3

READ

etc.

40702

Analog Input

READ

Control Circuit Term 16 Input Voltage

40703

Digital Input

READ

Input Terminal Status

40704

Analog Input

READ

Control Circuit Term 13 Input Voltage

40705

not used

n/a

n/a