beautypg.com

ProSoft Technology MVI71-MCM User Manual

Page 28

background image

MVI71-MCM ♦ PLC Platform

Installing and Configuring the Module

Modbus Communication Module

Page 28 of 111

ProSoft Technology, Inc.

December 28, 2007

When the side-connect interface is used, the command must be contiguous in
the file, each one occupying a 10-word area. The file numbers used are also
fixed. Port 1 commands 0 to 99 will reside in the file after the configuration file.
Port 2 commands 0 to 99 will reside in the next file.

The following provides some command examples:

Enable

Internal
Address

Poll Count

Swap

Slave
Address

Function

Destination
Address

1 100 0 10 0 1

16 55

This command continuously writes 10 words starting at address 100 to 109 in the
MVI71-MCM internal database to addresses 55 to 64 at slave address 1.

Enable

Internal
Address

Poll Count

Swap

Slave
Address

Function

Destination
Address

2 0 0 1 0 5 6 1000

This command conditionally writes 1 word from address 0 in the MVI71-MCM
internal database to address 1000 in slave 5. This means that the command is
issued only when the value at address 0 changes.

Enable

Internal
Address

Poll Count

Swap

Slave
Address

Function

Destination
Address

1 0 15 1 0 5 6 1000

This command continuously writes 1 word from address 0 in the MVI71-MCM
internal database to address 1000 in slave 5 every 15 seconds.

Enable

Internal
Address

Poll Count

Swap

Slave
Address

Function

Destination
Address

1 320 0 20 0 5 15 1600

This command continuously writes 20 bits from bit address 320 to 339 (word 20,
bit 0) in the MVI71-MCM internal database to bit address 1600-1619 (word 100,
bit 0) in slave 5.

Enable

Internal
Address

Poll Count

Swap

Slave
Address

Function

Destination
Address

1 320 15 1 0 5 5 1600

This command continuously writes 1 bit from bit address 320 (word 20, bit 0) in
the MVI71-MCM internal database to bit address 1600 (word 100, bit 0) in slave
5 every 15 seconds.

Enable

Internal
Address

Poll Count

Swap

Slave
Address

Function

Destination
Address

1 850 0 10 3 5

3 700

This command continuously reads 10 holding registers from addresses 700 to
709 in slave 5 to addresses 850 to 859 in MVI71-MCM internal database after
swapping the bytes in each word.