M340, OFS, VBA and excel; how reading unallocated variables?

jumpier

Member
Join Date
Aug 2005
Location
Piemonte
Posts
32
Hi!

I had try to read some variables %MWi by using OFS and excel VBA from a M340 plc; it working very good. Now i need to read some unallocated variables; please someone could give me a correct syntax to use in VBA script?

for istance:
MBT:192.168.120.100;1/UN!%MW0:5 <--working
MBT:192.168.120.100;1/UN!SAMPLE[0]:5 <--NOT working (where SAMPLE[0] is unallocated)

thanks a lot
 

Similar Topics

Hello folks, i bring you a new problem to be solved.. Situation: we have 2 PLC M340, 2 PC's running 1 vijeo citect license + 1 ofs opc each. for...
Replies
2
Views
1,885
I have a project with 2 M340 PLC's, a OFS OPC server and Vijeo Citect SCADA software. The SCADA system can read/write variables from each PLC with...
Replies
9
Views
2,814
Hi guys, I'm trying to connect M340 via OFS, and i cant read tags. So far i created alias, added symbol table file ( .XVM format) , and i'm...
Replies
3
Views
2,055
Dear All, I've been struggling for a week to connect CitectSCADA v7.2 to M340 PLC through OFS and things aren't working out :banghead: Here's...
Replies
6
Views
5,738
Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
11
Views
306
Back
Top Bottom