beautypg.com

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

Page 55

background image

Examples 9-11

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

40150

Receive Global Data

0001h

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


MSTR Transaction #4

This MSTR transaction writes the global data to all drives that have enabled global data. The
Control Block registers must be loaded with the following data before the MSTR function is
executed.

CONTROL BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40160

Operation Code

0005h

0005h = Global Write

40161

Network Error Code

0000h

The error code returned by Modbus Plus
communications

40162

Number of Registers

0003h

Write to 3 consecutive registers

40163

Data Register Code

XXXX

This register is not used when writing global data

40164

Routing 1

XXXX

This register is not used when writing global data

40165

Routing 2

XXXX

This register is not used when writing global data

40166

Routing 3

XXXX

This register is not used when writing global data

40167

Routing 4

XXXX

This register is not used when writing global data

40168

Routing 5

XXXX

This register is not used when writing global data


The Data Block registers must be loaded with the appropriate Global RUN/STOP and Frequency
Reference data before the MSTR block is executed.

DATA BLOCK

Register

Number

Register

Description

Register

Data

Data

Description

40170

Activation Bit Map
Register

0003h

bit 0/on = Operation Signals activated
bit 1/on = Frequency Reference activated

40171

Operation Signals

0002h

Run Reverse = bit 0/off, bit 1/on = 0002h

40172

Freq. Reference

0D80h

34.56 Hz = 3456 (decimal) = 0D80h