Communication between PLC and PC whit Visual basic

sharo

Member
Join Date
Mar 2009
Location
Casablanca
Posts
9
Hello my friends,

I plan to develop an application in vb6 allowing the user to control the process remotely.

I want to know:

1 The communication between the PLC and VB must be established between VB and rslinx or a direct communication between Vb and Rslogix (5/500/5000)?

2 If there is someone with an example of VB code for configuration of the communication and read /write bit,please send me


While hoping to find answers to what I want, thank you for your help.
 
OPC and Linx

From my experiences:

1. The first thing you need to do is have the version of Linx so that it can act as an OPC server.
2. Configure a OPC topic pointing to the PLC you wish to communicate.
3. Write the VB6 code to use the OPC server in Linx to communicate with the PLC.

Code Example:

See your PM with a code sample
 

Similar Topics

i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
131
I'm trying to write a data in Arduino using MODWR function block .I used the code I got from online for both PLC and Arduino. I made the wiring...
Replies
4
Views
129
Communication between devices will stop working for a certain period of time. I caught the error message using WireShark. I cannot identify the...
Replies
0
Views
108
I am trying to establish communication between Siemens PLC 1500 and Matlab. I followed a tutorial on youtube at this link: But when I got to the...
Replies
0
Views
357
Hi all, I don't have experience PLC programming so it might be a stupid question. I made a socket request to PLC and there is no problem to read...
Replies
5
Views
876
Back
Top Bottom