Excel VBA for SLC

Alan Case

Lifetime Supporting Member
Join Date
Apr 2002
Location
Wagga Wagga
Posts
1,268
Hi, does anyone have an excel spreadsheet with an embedded VBA function to write to an SLC using RSLinx.
The help file of RSLinx explains how to do a write to the data table but it would save me a lot of reading if someone had some sample code for me.

Thanks in advance. Alan Case
 
Alan you can also find some examples in RSLinx.

Start RSLinx and open Help.

Under the Index Tab type VB - then double click on VB examples. There are some Excel examples shown there.

Under the Contents tab, expand the How To chapter. Expand Using OPC. The object model is deiscribed there.

Good luck.
 
Last edited:
Thanks Alaric. I have already seen the help files.
I am pressed for time and my VB is minimal. Was hoping someone has already done this. Dash, I will check the knowledge base.
Regards Alan
 

Similar Topics

Hi. I have a task of creating checklists for a plant that contain many standard items. My idea is to do this in Excel, whereby in one sheet I...
Replies
11
Views
3,312
Hello, I am looking for help writing to PLC tags from Excel. I am using Factory Talk Gateway as an OPC server and Excel VBA to write out to an...
Replies
5
Views
3,102
Hello. For a PLC data logging application at a candy factory, a customer requested me to setup an add-in for MS Excel called "MX Sheet" which is...
Replies
22
Views
7,982
Good evening, I'll start by explaining what i want to do and then what I've tried. We have an excel document at work that contains our material...
Replies
4
Views
2,279
I have not been able to crack this one out, even after much thinking and googling:banghead:. I would be so grateful if I can get some guidance...
Replies
11
Views
3,680
Back
Top Bottom