beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 72

background image

5204SE-MNET-PDPMV1 ♦ ProLinx Gateway

Procedures

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

User Manual


Page 72 of 235

ProSoft Technology, Inc.

December 22, 2009

3.6.6 Download the Project to the Quantum Processor

1 Open the PLC

menu and then choose C

ONNECT

.

This action opens a

connection between the Unity Pro software and the processor, using the
address and media type settings you configured in the previous step.

2 On the PLC

menu, choose T

RANSFER

P

ROJECT TO

PLC. This action opens

the

T

RANSFER

P

ROJECT TO

PLC

dialog box. If you would like the PLC to go to

"Run" mode immediately after the transfer is complete, select (check) the
PLC

R

UN AFTER

T

RANSFER

check box.

3 Click the T

RANSFER

button to download the project to the processor. As the

project is transferred, Unity Pro reports its process in a P

ROGRESS

dialog box,

with details appearing in a pane at the bottom of the window.

When the transfer is complete, place the processor in Run mode. The processor
will start scanning your process logic application.

3.6.7 Verify Communication between the M340 Processor and the

Gateway

In this step, you will verify that the processor and the gateway are communicating
with each other over the Modbus TCP/IP Ethernet network. The sample project
includes an animation table called MNETDPV1_Table. When the processor is in
RUN

mode and communicating with the gateway, the values in this animation

table are updated whenever you trigger a GetModuleStatus read message to
request general gateway status from the gateway.

To verify communication between the processor and the gateway:

1 Place the processor in R

UN

mode, if you have not already done so.

2 In the Unity Pro Project Browser pane, click [+] to open the A

NIMATION

T

ABLES

tree, and then double-click MNETDPV1_T

ABLE

.

3 In the MNETDPV1_Table, you will see three main variables which can be

expanded to see many more sub-variables.

4 Look for the variable, MNETDPV1_StatIn. Click the [+] next to it to open it

and see all the sub-variables. These will include configuration information and
version/revision information, which will remain static, as well as program scan
counters, input/output update counters, request/response counters, and
others variables that should change whenever you trigger a status calls.