Visual Basic & SLC

Davev2005

Member
Join Date
Jul 2005
Location
San Luis Potosi
Posts
23
Hi everyone, I´m starting review a new aplication this aplicaction involved communicate a visual basic program (pc control) with a SLC 5/05, to send the model actually selected and the slc charge the appropiate rutine. Now, my cuestion is how can i send this values from vb to slc?, i need install in the pc rslinx gateway software?

Thanks all.

Regards

Dave
 
there are several ways to 'send value to plc'.
you could simply send it as an ASCII message using MSComm
which is part of your VB installation. this would require PLC
to do the receiving and decoding of the message.
to read/write any plc memory location without making modification
to plc program you would need to use protocol supported by plc
(such as DF1 if you go through RS232).
the most common way is to use third party driver (ActiveX component). These are usually something you pay for and the price goes up starting from few hudred dollars. you might find older posts about free DF1 driver for VB.NET by Jiry:
http://www.plctalk.net/qanda/member.php?u=409
 

Similar Topics

Hello all, we having Emulator for RSlogix 500 if any one knows how to connect Visual Basic code with Micrologix / SLC PLC like DMA (Direct Memory...
Replies
16
Views
4,036
Dear experts, I am want to program RS view32 with help of Microsoft visual basic (visual basic editor). But how to start I don't know,please...
Replies
10
Views
2,368
help How do I create Bidirectional Activex Connection Arrows? As per attached photo. How to Create RightoLeft Property in Visual Basic - Activex?
Replies
3
Views
1,650
I'm just trying to load from a text file into a string. I don't get why this doesn't work. Function LoadFile(FileName As String) As String()...
Replies
0
Views
1,541
Hello, Im trying to learn how to use VBA with factorytalk view so i can later design displays using tags from PLCs and im having some trouble...
Replies
2
Views
3,784
Back
Top Bottom