ActiveX control for AB SLC 5/05

doggah

Member
Join Date
Jul 2004
Posts
2
Hi,

I want to write a Visual Basic program that is capable to receive and send information from and to AB SLC 5/05 via ethernet. What ActiveX control do you recommend me to use?

Thanks
 
Is the enthernet ActiveX Control all I need to send and receive information to the PLC using Visual Basic?

Thanks
 
Ethernet

Thats all you need, the calls from the VB app to the 505 are fairly simple. Add the component to your project and drop it on your form. They have real good examples you can look at.
Here is an example using Automated Solutions.

Private Sub Command1_Click()
If Asabtcp1.Busy = False Then
Asabtcp1.Function = FUNC_AB_SLC500_READ_WORD
Asabtcp1.MemStart = "N9:0"
Asabtcp1.NodeAddress = SLCAddress
Asabtcp1.MemQty = 10
Asabtcp1.Refresh
End If
End Sub

Private Sub ASABTCP65_Complete(ByVal nResult As Integer)
If nResult <> 0 then
MsgBox "Error:" & hex(nResult)
Exit Sub
End if

Label1 = Asabtcp1.DataWord(0)
Label2 = Asabtcp1.DataWord(1)

End sub
 

Similar Topics

I found a list of activex controls in view studio for which I simply cannot find any information on online. I don't know what they do. For example...
Replies
1
Views
968
Hey all, First post! I am trying to embed a web browser into my application to enable us to watch live feed of our AXIS IP Camera. The problem is...
Replies
0
Views
922
Hello, In FT View Studio ME (v12); When I go to restore a runtime file currently in use on a PV+7 I receive the error in the attached photo. It...
Replies
3
Views
2,129
Anyone used the ActiveX Chart Control for their HMI Programs before? Short Demo Here : https://www.youtube.com/watch?v=jrS41-PhSGY Some Rockwell...
Replies
0
Views
1,276
Hello, I need to restore runtime application in Application Manager (Rockwell) and I have a problem during I restore runtime. Application Manager...
Replies
1
Views
1,349
Back
Top Bottom