I've used Snap7 for c++ on previous projects. Now I have a new one using a Simatic S71500.
First I'm trying some basic tasks such as connecting and reading the status. Works fine.
I have followed he " S7 1200/1500 Notes" and therefore I've checked "get/put" within the plc and selected the second possibility on the security-settings of the plc using TIA-Portal (full access without password). The DB is public accessible.
Nevertheless trying to read some data using Client->DBRead from snap7-library results in the error "CLI : function refused by CPU (Unknown error)".
Are there any advices?
Thanks in advance ...
Additionally:
Is there any ongoing work on supporting the extended interface of theses PLCs?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks a lot. The settings had been ok. But: It seemed as if it had been recompiled. But it wasn't. So that had been the problem. You are my hero!
And again: Thanks for this great lib!
Last edit: Werner Putzhuber 2018-07-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I've used Snap7 for c++ on previous projects. Now I have a new one using a Simatic S71500.
First I'm trying some basic tasks such as connecting and reading the status. Works fine.
I have followed he " S7 1200/1500 Notes" and therefore I've checked "get/put" within the plc and selected the second possibility on the security-settings of the plc using TIA-Portal (full access without password). The DB is public accessible.
Nevertheless trying to read some data using Client->DBRead from snap7-library results in the error "CLI : function refused by CPU (Unknown error)".
Are there any advices?
Thanks in advance ...
Additionally:
Is there any ongoing work on supporting the extended interface of theses PLCs?
The DB must be unoptimized (did you recompiled the program ? )
You checked "get/put" but you didn't download the hardware configuration...
Thanks a lot. The settings had been ok. But: It seemed as if it had been recompiled. But it wasn't. So that had been the problem. You are my hero!
And again: Thanks for this great lib!
Last edit: Werner Putzhuber 2018-07-01