How to access Instance Data Block elements (siemens S7-400) from Intouch??

drspanda

Member
Join Date
Oct 2005
Location
Damanjodi
Posts
155
Dear All,

I am not having any problem in accessing bool, real, int data types from a Data Blocks in Siemens PLC....

However I am not able to access from Instance Data Block....Why it is so?

Also I am accessing by symbols not by absolute addressing...Is it possible to access by absolute address from Intouch.

OPC Server is from Siemens and OPC Link is from WW

Regards,

Rajasekhar
 
Here's an example using absolute addressing:

Wonderware:
WW_InstanceDataBlock.png



Simatic Block view:
S7_InstanceDataBlock.png
 
Dear tvey,

Thanks for the reply...here are some doubts...

Is it compulsory to use absolute addressing for Instance Data Blocks? I have tried with symbolic addressing and could not get the tags in Intouch....I then looked into OPC Scout and find the quality of those tags are bad....So to solve the problem, I had created a normal data block....

Also Is it compulsory to not name the IDB's if I am going to use symbolic addressing?

Thanks,
rajasekhar.
 
"Names" and Symbolic addressing are the same.
If you havent given the IDB a name then you cannot symbolically adress the rest of the symbol.

It has to be something like this:
"MyIDB".SomeStruct.SomeMorestruct.SomeData.

You cannot do like this:
DB123.SomeStruct.SomeMorestruct.SomeData.

As to your problems with bad data in the OPC Scout, then I am guessing that the Symbols have not been updated together with changes to the FB declarations. Compile in NetPro, and update the OPC server with the compiled symbols.
When you had the bad data, did you check that the addressing of the OPC symbols was the same as the adressing in the program ?
 

Similar Topics

I have declared an array of bool in my STAT Instead of using Logic OR to chech if any of the bits in the array are true. I Would simply like to...
Replies
3
Views
1,628
Hello, I want to know if it's ok to access the memory of an instance DB (ex. instance DB100 of the FB100 - defined as static parameter in this...
Replies
4
Views
3,666
Hi Siemens guys! I am experiencing SF fault on our S7-300 (6ES7 315-2AH14-0AB0) CPU from time to time. I've checked the diagnostic buffer and...
Replies
13
Views
174
Can we use a Simotion D455 ethernet port x127 as a gate, to access S7-1500 plc Tia Portal program ? In the Simatic manager, we used Netpro to do...
Replies
2
Views
87
I have to provide remote access and control to a touch screen. I was thinking about using Weintek and the Weincloud. Does anyone know if this is...
Replies
11
Views
606
Back
Top Bottom