S7NetPlus / s7netplus

S7.NET+ -- A .NET library to connect to Siemens Step7 devices
MIT License
1.29k stars 577 forks source link

Will there be new nuget package? #522

Open jk987 opened 6 months ago

jk987 commented 6 months ago

Hello, last nuget package here https://www.nuget.org/packages/S7netplus is from August 2023. Could you please release new package version? I'm looking forward to ReadClock/WriteClock. Can I help you with this somehow?

jk987 commented 6 months ago

Well, I didn't want to wait for nuget so I downloaded source codes and included them into my solution. And ReadClock() throws exception "Response from PLC indicates error 0x8104." My PLC is S7-1200. I'll investigate further.

jk987 commented 6 months ago

In Wireshark it looks like this.

Request: obrazek

Response: obrazek

I would like to catch how TIA portal is doing it.

SmackyPappelroy commented 6 months ago

We never got it to work on a S7-1200/S7-1500 only on S7-300 CPU, so that's probably why

andmattia commented 6 months ago

I usually work with S7 1200/1500 and Virtual. Are you sure you use the correct slot/rack anc plc type in connection process?

jk987 commented 6 months ago

@andmattia

Are you sure you use the correct slot/rack anc plc type in connection process?

Actually I wasn't interested in rack/slot because standard read and write operations of DBs worked pretty well. (?) Please, do you really have ReadClock()/WriteClock() working on S7-1200/1500?

(Meanwhile PLC programmer prepared set of registers for this clock setting/reading so currently it isn't issue for me. But why don't make it better way.)

SmackyPappelroy commented 6 months ago

It doesn't work on S71200/S71500, read my last reply. What don't you understand?

gajanak commented 2 months ago

Back to the initial Question of OP: Is there a planned timeline for the next release ? Please ?