Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap7: Exception: CLI : function refused by CPU after TIA PORTAL update #74

Open
GG846 opened this issue Nov 19, 2020 · 2 comments
Open

Comments

@GG846
Copy link

GG846 commented Nov 19, 2020

We have an application with a Raspberry pi using SNAP7 and a S7-1214. The application was workin smoothly but the PLC was programmed in TIA PORTAL V13.0 (wich is not compatible with new versions of TIA PORTAL). So we have proceed to update this using the following steps:
1-We've created a new proyect with the PLC in TIA PORTAL V13 and uploaded the software from the PLC
2- Upload the TIA PORTAL from V13 to V13 SP2 and then to V16.
3-We reseted the PLC to factory settings and downloaded the software from TIA PORTAL V16.
4- We checked the I/O addresses configuration to ensure they hadn't changed.

(this worked almost smoothly just describing the process for your better understanding)

The rest of the system is working smoothly, but after this the raspberry pi is not working and returning: Snap7: Exception: CLI : function refused by CPU.
The main solutions given to this problems in different forums are:
-Check access level to "full" and allow GET/PUT communication check. This is propperly setted up.
-It might be a firmware incompatibility. The firmware has not change during this operation, so I guess if it was working before, it should work now.

Can you offer any other bit of information about what might be the problem here?

Any advice will be wellcome.
Regards

@mathiask88
Copy link
Owner

I don't think that I can help you much on this, because I have no TIA V16 available here. But what I know is that Siemens did some stuff regarding access rights of the data, because they implemented an OPC-UA Server in the 1200er series with the new 4.4 firmware. Maybe they are now more strict to clients that try to read/write data over the classic SIMATIC S7 ISO on TCP communication protocol.

@MickaelDelanoe
Copy link

Hello,
I have the same problem.
My automatician has activated the “ALLOW PUT/GET” function.
I've asked him about the “block access optimization” property, and I'm waiting for his reply.

Have you solved your problem @GG846 ?
Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants