Hello! Need some help, please... I try use function GetPlcDateTime(); It work good on S7-300, S7-400, Sinumerik 840D, but on S7-1200 I get an error: "CLI : invalid CPU answer". Maybe any peculiarities?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello! Need some help, please... I try use function GetPlcDateTime(); It work good on S7-300, S7-400, Sinumerik 840D, but on S7-1200 I get an error: "CLI : invalid CPU answer". Maybe any peculiarities?
Hey Dmitry,
the message tells you that a client cannot access either due to "protocol not enabled" or DB optimized.
Are your configs correct?
http://snap7.sourceforge.net/snap7_client.html#1200_1500
What I can't interpret if this is even supported on S1200... but I can't test it myself at the moment :(
http://snap7.sourceforge.net/snap7_client.html#target_compatibility
Yes, config is correct: full access enable, PUT/GET enable, optimized block disabled =(
f.b. is right.
GetPlcDateTime() and other functions are not implemented in S7Protokol of S71200/1500.
Thank you, guys.