Comtrol Modbus TCP User Guide User Manual

Page 95

Advertising
background image

DeviceMaster UP Modbus/TCP User Guide: 2000447 Rev. I

Appendix A. Programming the PLC via Concept- 95

Setting up and Running the Concept Example Programs

A.2.3.3. Setting up and Running the Concept Example Programs

The following steps are required to set up and run the Concept example programs.

If you have not done so, configure the DeviceMaster UP by setting the IP address, mask, and gateway for your
network and load the Modbus/TCP binary file.

1.

Attach the loop-back plug on the serial port.

a.

Attach the PLC and DeviceMaster UP to the same Ethernet subnet.

2.

Open the Serial Configuration web page by entering the DeviceMaster UP IP address in your web
browser to configure the DeviceMaster UP serial port.

3.

Set the following Serial Port Settings:

Mode: RS-232

Baud: 57600

Parity: none

Data Bits: 8

Stop Bits: 1

Flow Control: none

DTR: off

Rx Timeout Between Packets: 200

4.

Set the following General Protocol Settings:

Serial Port Protocol: Raw-Data

Discard Rx Packets With Errors: Enable

5.

Set the following Raw-Data Settings:

STX Rx Detect: one byte, Byte 1 = 2

ETX Rx Detect: one byte, Byte 1 = 3

STX Tx Append: one byte, Byte 1 = 2

ETX Tx Append: one byte, Byte 1 = 3

Strip Rx Stx/ETX: Enable

Rx MS Byte First: Optional

Tx MS Byte First: Optional

6.

Select Enable for the Reset Port option.

7.

Select the Save in Flash option.

8.

Select Submit.

9.

Choose either the loop-back (LPBKCNCP) or I/O Scanner (SCANCNCP) example programs.

10. Load the .SEC, .CCF, and .RDF files into the desired directory.

11. Open Concept.

12. Open a new project by selecting File->New Project.

a.

In the Create a new project database pane, enter a file name under File name.

b.

Navigate to the directory where you wish to place the new project.

c.

Select OK.

Advertising