How do I move PLC tags directly into VBA variables inside FactoryTalk View 7.0?

Gi1gamesh

Member
Join Date
Jun 2015
Location
Wisconsin
Posts
1
Using:

RSLogix5000 v20
RSLinx Classic
RSLogix Emulator
FactoryTalk View 7.0

I am looking for code to move PLC tags directly into VBA variables running inside FactoryTalk View 7.0 without using FactoryTalk View 7.0 tags.

I have been looking at this link here: (http://www.plcdev.com/connecting_controllogix_excel)

I know you can move PLC tags into Excel cells. Supposedly the return type of DDERequest is a string. (https://msdn.microsoft.com/en-us/library/office/aa171949(v=office.11).aspx)

But I have not been able to set the variable realdata, from the first link, directly to a variable in either Excel or FTV 7.0. The workaround is opening an excel window in the background, putting the variable into a single cell, and then directly into a VBA variable (in any application using VBA). What I want to do is take that middle man (excel cells) out of the equation but I've run out of ideas to do so. If anyone has suggestions here I would greatly appreciate it.
 

Similar Topics

Hello, im quite new and still learning. I would like to ask is it possible for FATEK PLC to read data value more than 16k? I'm trying to move my...
Replies
0
Views
74
Hello, Please Help! I have an array of 20 registers that I want to search for a value. There will be over 100 DINTS Values that come in and if the...
Replies
7
Views
1,835
Hi, can anybody tell that how can we move floating point data from one Regiter to another register in Fatek PLC.?
Replies
0
Views
1,574
Is any one have an idea for Block move of data from Profinet IO to in DB array in LAD. My Input is on IW 260,IW261,IW263 and so on.... And I want...
Replies
2
Views
1,889
how to remove omrom password TPM1A ? plc of me the has password protection I want remove omron plc password. but I don't know remove omron plc...
Replies
0
Views
4,026
Back
Top Bottom