09-18-2018 03:38 AM
I need help connecting PLC S7 1200 and Labview using Snap7.
Using example DBGet.vi, I get Error in DBGet function saying "CPU : Function not available"
I'm using S7 1200 with TIA portal, Labview 2017.Â
From my Labview Computer (IP 10.0.2.10) cmd.exe I succesfully ping CPU that is on IP 10.0.2.1.
I also did setup in TIA Portal:
- Protection = Full Access
- DB Property-> disable optimized block access
- Connection Mechanism ->Â Permit access with PUT/GET
12-14-2018 05:22 AM
Hi.
Probably a late answer for you but in the past I was searching for similar information and I found this on the Snap7 forums :
"if you are using DBGet the first operation is to gather DB info via GetAgBlockInfo() which is not supported by S71200/1500"
We are using ReadArea function and it works fine with S7-1200/1500