×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

VISUAL BASIC AND ALLEN BRADLEY DF1 ?

VISUAL BASIC AND ALLEN BRADLEY DF1 ?

VISUAL BASIC AND ALLEN BRADLEY DF1 ?

(OP)
Does anybody have sample code for direct communications with an AB SLC500 processor using RS232?

Any tips are greatly appreciated.

RE: VISUAL BASIC AND ALLEN BRADLEY DF1 ?

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

RE: VISUAL BASIC AND ALLEN BRADLEY DF1 ?

Hello;
     You do not need RsLinx to communicate via DF1. DF1 is an "open" protocall, ie the commands are published. See the following link:
http://www.ab.com/manuals/cn/17706516.pdf

     Using this refernece it is possible to write a routine is just about any language to communicate in DF1 over a serial port.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources