Peter-B- / Sharp7.Monitor

Console program to monitor variables on a S7 Plc over network
MIT License
18 stars 2 forks source link

Problem connecting to Siemens S7-400 #1

Open sekulicb opened 2 months ago

sekulicb commented 2 months ago

When trying to connect to newer PLCs such as S7-1500, I have no problems by just suppling ip address and DB value, but when I try to do the same with S7-400 I get the following error:

image

I'm thinking that we need to manually pass in the "type" of PLC. We use TIA Portal and for that PLC, there is no options to check "Permit access with PUT/GET communication" since it's older version.

image

What could be potential workaround for this situation?

Peter-B- commented 1 month ago

Hello @sekulicb and apologies for the late reply.

The Sharp7.Monitor uses Sharp7, which in turn uses Snap7 by Davide Nardella. Snap7 is definitly compatible with S7 400, and so Sharp7.Monitor should be. But I have to admit, that I'm a C# developer and do not have detailed knowledge about configuring S7s. Maybe you can find some hints on the configuration in the Snap7 documentation or the Snap7-Refman, which is part of the download.

Sorry that I can't be of further assistance here.

Kind regards Peter