AGG Software Forums
September 19, 2024, 07:47:39 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: Advanced OPC data logger - Siemens s7-1200  (Read 44700 times)
natisie
Jr. Member
**

Karma: +0/-0
Posts: 7


View Profile
« on: September 08, 2017, 02:00:00 PM »

I am trying to read OPC variables from a S7-1200 PLC.  The problem is that these do not appear in the variables listed by the OPC data logger when connected to the simatic OPC server.  The variable appear as:

OPC.SimaticNET.TCSB.1\TCS:[new project 1.1.101]DB1,REAL*

But the variables that I should read are:
OPC.SimaticNET.TCSB.1\TCS:[new project 1.1.101]DB1,REAL0
OPC.SimaticNET.TCSB.1\TCS:[new project 1.1.101]DB1,REAL2
OPC.SimaticNET.TCSB.1\TCS:[new project 1.1.101]DB1,REAL4
...

Siemens suggested me to look at the variables with the Matrikon Explorer that allows to change the names of the variables, I did and it worked. 

I tried to do the same with the OPC data logger but I got the problem showed in the attached picture. I use the manual mode to define the variables with the corresponding number at the end as described above.  However, I cannot longer use the Advanced OPC data logger due to this problem.  I think I have to re-install it, but:

Any idea how I can define this variables in the Advanced OPC data logger???


* datalogger error.JPG (96.98 KB, 1086x515 - viewed 12 times.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: September 20, 2017, 02:00:00 PM »

Could you send us the error report? We'll try to solve this problem.
Logged
natisie
Jr. Member
**

Karma: +0/-0
Posts: 7


View Profile
« Reply #2 on: October 13, 2017, 02:00:00 PM »

Hi,

Here is the program protocol file.  This is after I re-installed the software and trying again to configure manually the variables I need to read.

I couldn't find the error report.

Hope this is useful!

Thank you!!

* opclogger.log (33.87 KB - downloaded 3 times.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #3 on: October 26, 2017, 02:00:00 PM »

Unfortunately, this log file is useless. Is it 100% repeatable? If yes, then please, provide a step-by-step instructions.
Logged
natisie
Jr. Member
**

Karma: +0/-0
Posts: 7


View Profile
« Reply #4 on: January 19, 2012, 03:22:12 PM »

Hi Arthur,

My question is more focused on whether I can actually read the variables I am interested in by adding these manually.  This is, instead of adding the auto detected variable:

OPC.SimaticNET.TCSB.1\TCS:[new project 1.1.101]DB1,REAL*

Change this manually into:

OPC.SimaticNET.TCSB.1\TCS:[new project 1.1.101]DB1,REAL0
OPC.SimaticNET.TCSB.1\TCS:[new project 1.1.101]DB1,REAL4
OPC.SimaticNET.TCSB.1\TCS:[new project 1.1.101]DB1,REAL8

Is this possible with the Advanced OPC data logger?  Do I need to do any special configuration?
Logged
natisie
Jr. Member
**

Karma: +0/-0
Posts: 7


View Profile
« Reply #5 on: January 19, 2012, 03:42:27 PM »

Arthur,

I just got a email with an updated version of the opcsrc.dll file which I located into the correspondent  program folder.

I still cannot do what I need Sad
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #6 on: January 19, 2012, 03:48:11 PM »

I've send a link to an update via email. The problem with manually added tags has been fixed.
Logged
natisie
Jr. Member
**

Karma: +0/-0
Posts: 7


View Profile
« Reply #7 on: November 11, 2017, 02:00:00 PM »

I have updated the latest opcsrc.dll file I got via email, but I still cannot add a manual variable.  It says that doesn't exist.

Do I need to do something else?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #8 on: November 11, 2017, 02:00:00 PM »

Please, remove all groups and items from the program configurations and add it again from scratch.
Logged
natisie
Jr. Member
**

Karma: +0/-0
Posts: 7


View Profile
« Reply #9 on: November 20, 2017, 02:00:00 PM »

Arthur,

I have done the following:
- updated the opcsrc.dll file
- deleted all the groups and variables
- restart the PC
- created again the OPC configuration
- added a manually and a auto detected variables

I got:
19/01/12 14:03:22 OPC interface. Error while initializing the OPC server "OPC.SimaticNET.TCSB.1 (TCS:[new project 1.1.101]PLCConnected) - Access violation at address 0591474E in module 'opcsrc.dll'. Read of address 00000000"
19/01/12 14:06:30 OPC interface. Variable "OPC.SimaticNET.TCSB.1 (TCS:[new project 1.1.101]DB1,REAL0)" doesn't exist!
19/01/12 14:06:40 OPC interface. Error while initializing the OPC server ": Server ProgID must be specified"
19/01/12 14:06:51 OPC interface. Error while initializing the OPC server ": Server ProgID must be specified"
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #10 on: January 19, 2012, 07:39:52 PM »

Please, create a backup of your configuration (from the File menu) and attach it here. I'll verify it.
Logged
natisie
Jr. Member
**

Karma: +0/-0
Posts: 7


View Profile
« Reply #11 on: December 08, 2017, 02:00:00 PM »

I have attached the backup

* OPCtest.ini (4.01 KB - downloaded 2 times.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #12 on: December 19, 2017, 02:00:00 PM »

I see only one OPC tag in this configuration that has been added automatically and therefore the tag name contains "*" at the end of the name.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines