Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

VISUAL BASIC AND ALLEN BRADLEY DF1 ?

Status
Not open for further replies.

mfreese

Mechanical
Jul 16, 2002
2
Does anybody have sample code for direct communications with an AB SLC500 processor using RS232?

Any tips are greatly appreciated.
 
Replies continue below

Recommended for you

In order to communicate via DF1 to visual basic you will have to have at least RS Linx installed. Once this is done you will be able to use DDE communication via VB to communciate to the PLC. Keep in mind you will have to define all the registers and I/O you wish to monitor via the VB app. I have a snippet of VB code which does the above but only monitors one timer register.

-Robert
 
Hello;
You do not need RsLinx to communicate via DF1. DF1 is an "open" protocall, ie the commands are published. See the following link:

Using this refernece it is possible to write a routine is just about any language to communicate in DF1 over a serial port.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor