beautypg.com

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

Page 53

background image

Examples 9-9

00030 00033

00031


00032

00031

00033




MSTR Transaction #1

This MSTR transaction writes to the F200h register of the drive on node #2. The Control Block
registers must be loaded with the following data before the MSTR block is executed:

CONTROL BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40100

Operation Code

0001h

0001h = Write to Multiple Registers

40101

Network Error Code

0000h

The error code returned by Modbus Plus
communications

40102

Number of Registers

0001h

Write to 1 register

40103

Data Register Code

F200h

Global Write Data Code

40104

Routing 1

0002h

Modbus Plus node address of drive = 0002h

40105

Routing 2

0001h

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

40106

Routing 3

0000h

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

40107

Routing 4

0000h

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

40108

Routing 5

0000h

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


The Data Block registers must be loaded with the appropriate PLC address before the MSTR
block is executed.

DATA BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40110

Receive Global Data

0001h

0001h = the PLC/host device (source of global
data) address.


40160


40170

MSTR
#0010