ProSoft Technology 5204SE-MNET-PDPMV1 User Manual
Page 97

Reference 5204SE-MNET-PDPMV1
♦ ProLinx Gateway
User Manual
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
ProSoft Technology, Inc.
Page 97 of 235
December 22, 2009
4.3
Modbus TCP/IP Communication Control in M340 and Quantum PACs
Unity Pro programming software (version 4.0 and higher) provides special
Messaging Service Communication Functions that enable Modicon PACs to
accomplish communication using multiple protocols, including Modbus TCP/IP.
The special functions provided for the M340 platform are different from those
provided for the Quantum platform. The special functions for each platform
require similar, but different, input parameters to create a Modbus TCP/IP
messages and produce similar, but different, output parameters that hold the
results from message responses, if any.
The M340 platform uses the DATA_EXCH function for Modbus TCP/IP
messaging. PCB Application Communication Logic (ACL) creates a Derived Data
Type (DDT), called Modbus, that contains all the parameters and structures need
to use the DATA_EXCH function to send and receive Modbus TCP/IP messages
between the M340 processor and the ProLinx gateway.
The Quantum platform uses the MBP_MSTR function. PCB ACL creates a DDT,
called ControlAndBufferArrays, that contains all the parameters and structures
need to use the MBP_MSTR function to send and receive Modbus TCP/IP
messages between the Quantum processor and the ProLinx gateway.
Details about the DATA_EXCH and MBP_MSTR functions can be found in the
Unity Pro Help files. From the Unity Pro Help Index menu, type in DATA_EXCH
or MBP_MSTR in the keyword search window; or, click on the C
ONTENTS
tab and
look in the path, U
NITY
|EF/EFB/DFB
L
IBRARIES
|C
OMMUNICATION
LIBRARY
|E
XTENDED
to find folders on the DATA_EXCH and the MBP_MSTR
functions.