apache / plc4x

PLC4X The Industrial IoT adapter
https://plc4x.apache.org/
Apache License 2.0
1.26k stars 402 forks source link

[S7] When trying to write to a S7 device and writing is not explicitly enabled, the PLC will respond with an error code #599

Open ottlukas opened 1 year ago

ottlukas commented 1 year ago

The S7 will respond with:

if the user tries a write request and this is not explicitly enabled, we can definitely handle this in a nicer way.

To fix the problem, you need to select the PLC in TIA, go into the Properties dialog, select "Protection". You will probably notice there's an Access Level Table, but you need to scroll down (even if it looks as if there is nothing). There check the box in: "Permit access with PUT/GET communications from remote partner...."

Would be cool if we could give our users a hint on this.

Imported from Jira PLC4X-208. Original Jira may contain additional context. Reported by: cdutz.

ottlukas commented 2 months ago

Is this still an issue?

chrisdutz commented 2 months ago

I think I could have a look ... I think in general right now it replies with a generic error and nothing giving a hint to the problem.