node-snap7 icon indicating copy to clipboard operation
node-snap7 copied to clipboard

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

Open GG846 opened this issue 3 years ago • 1 comments

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

GG846 avatar Nov 19 '20 15:11 GG846

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.

mathiask88 avatar Nov 19 '20 18:11 mathiask88