You are on page 1of 4

DF1 Comm Control Quick Start

1) Download and extract the DF1Comm control. Be sure to extract it to a location you can easily
find. You will refer to it in step 4
2) Create a new Visual Basic Application
3) In Solution Explorer, right click the application and Add Existing Item

4) Browse to the directory where the DF1Comm.vb source files are located and add the file
5) Build to Solution from the Build menu. This creates the DF1Comm control and adds it to the
Toolbox
6) Select DF1Comm control from toolbox then drag and drop onto form

7) In the properties window, set the RS232 parameters


8) From the Toolbox, Drag and drop a button on the form
9) Double Click the button . This should take you to the code window
10) Add the code highlighted in the figure

11) Connect to your PLC (typically with a Null Modem Cable) , then run the application

12) When you click the button, the text on the button should change to the value of N7:0

You might also like