ProSoft Technology 5202-DFNT-MCM4 User Manual

Page 70

Advertising
background image

MCM ♦ ProLinx Gateway

Reference

Modbus Master/Slave

Driver Manual


Page 70 of 80

ProSoft Technology, Inc.

October 16, 2009

8.2

Moving Data using the Data Map

The following is an example of the Data Map section of the configuration file.

# This section moves data within the database to concentrate information

# for simpler data requests and control. The From Address (source of data)

specifies the start

# database location to copy the number of registers set by Register Count to

the

# specified To Address (destination of data). When the data is copied, the

order of the bytes can be altered using the Swap Code field as follows:

#

# SWAP CODE

DEFINITION

0 Bytes left in original order (1234 -> 1234)

1 Words are swapped (1234 -> 3412)

2 Words and bytes are swapped (1234 -> 4321)

3 Bytes in each word are swapped (1234 -> 2143)

[DATA MAP]

# From To Register Swap Delay

# Address Address Count Code Preset

START

4000 1000 9 0 1000

6300 1010 20 0 1002

4400 1030 20 0 1003

END

The Delay Preset parameter determines how often the data transfer will happen.
The value entered here is in number of internal firmware scan cycles. Since the
actual amount of time required for an internal firmware scan varies based on the
protocols involved and application-specific configuration variations, there is no
direct relationship between scan counts and time interval. Therefore, if you need
to move data based on specific timing, you will have to determine this
relationship experimentally by trying different Delay Preset values and monitoring
the time between data moves, until you discover an acceptable setting for your
application.

Advertising