beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 99

background image

Reference 5204SE-MNET-PDPMV1

♦ ProLinx Gateway

User Manual

Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master


ProSoft Technology, Inc.

Page 99 of 235

December 22, 2009

Variable Name

Size/Type Description

MailboxRequestInt[ ]

128-element 16-
bit integer array

Used to hold the raw byte values of a Modbus
TCP/IP message as it is being assembled by the
active DFB. Once assembly is complete, the
contents of this array will be passed to the Unity Pro
DATA_EXCH function to be transmitted on the
Modbus TCP/IP network as a Client Request
Message.

FunctionCode 1

8-bit byte

Will hold a value of 3 for Read Holding Register
messages to request data from the 5204SE-MNET-
PDPMV1 or a value of 16 for Preset (Write) Multiple
Registers to send data to the 5204SE-MNET-
PDPMV1

StartAddress 1

16-bit integer

Will hold the address where data will begin to be
read from or written to the gateway

For Read Commands to bring in PROFIBUS cyclic
input data, this address will be in the range of 0-
767.

For Write Commands that send PROFIBUS cyclic
output data, this address will be in the range of
1000-1767.

These address ranges are fixed in the gateway's
memory and may not be changed or re-configured
by the user.

DataCount 1

16-bit integer

Will hold the number of 16-bit registers what will be
affected by the command. The maximum allowable
count is 125. Most messages will use lower values.
A value of 0 is invalid and will cause an error.

ManagementWords[ ]

4-element

16-bit integer
array

These are four standard Unity Pro communication
message status words. Refer to the topic "Structure
of the management parameters" in your Unity Pro
documentation for more information.

DestinationIPAddress [ ]

32-character
alpha-numeric
string array

Since an IP address contains a combination of
numbers and period characters, it must be passed
to the message functions as a string of alpha-
numeric characters. Please see your Unity Pro
documentation for the DATA_EXCH and ADDM
functions for additional details.