FactoryTalk SE VBA Reading PLC Arrays

Richard_123

Member
Join Date
Mar 2010
Location
Bristol
Posts
5
I have a FactoryTalk SE project where I would like to read a CompactLogix string array (up to 2000) and then transfer this data to an Excel workbook.



What I an trying to achieve is:
Copy

Data[0] to Data[1999] (where Data is a CLX string array 2000 long)

to
Workbook, sheet 1, A1 to A2000



I can read individual PLC variables and output this to a workbook. I can also read large amounts of data from one workbook and copy to another workbook but I can not work out how to define a PLC tag as an array using VBA and then copy this.


Anybody got any ideas??
 

Similar Topics

Is there a way to access the currently logged in user in VBA? I am writing to an excel file upon triggers, and the customer wants the logged in...
Replies
2
Views
2,581
I'm creating an HMI that has a recipe with 288 data point. It has 3 pieces of data for 96 segments. I need help with VBA code to copy all 288...
Replies
0
Views
135
Hi everyone Is it possible to change a button image in FactoryTalk View SE (v13.00) using VBA?
Replies
0
Views
74
Hello, I am looking to use the same header on every page (global object) that has an alarm summary button on it that will go to a display with an...
Replies
4
Views
1,795
Back
Top Bottom