Re: More Details regarding Scraper, Lack of Documentation

2020-07-08 Thread Wolfgang Huse
Mit freundlichen Grüßen – With kind regards Wolfgang Huse Thanks Chris! This was really helpful and enables me to change from SubcriptionBased Reading to Scraper in a very short time! Regards, Wolfgang > Hi all, > > so I just wrote some documentation on the Scraper … it’s now

Re: More Details regarding Scraper, Lack of Documentation

2020-07-08 Thread Christofer Dutz
Happy to be of assistance, Took us way too long to provide you all with anyway ... one more thing I can take off my list ;-) Chris Am 08.07.20, 10:21 schrieb "Wolfgang Huse" : Mit freundlichen Grüßen – With kind regards Wolfgang Huse Thanks Chris! This was really helpful

Re: [DISCUSS] How to do discovery?

2020-07-08 Thread Christofer Dutz
Ok ... picking up the ball on this again :-) So yesterday I added 4 empty interfaces to the SPI. All are in the "org.apache.plc4x.java.spi.discovery" package. I guess I could probably omit the "SupportsDiscovery" interface which all others extend, but I'll leave it for now. In general there

Re: [RESULT] [VOTE] Rename our "master" branch to "release"

2020-07-08 Thread Christofer Dutz
Hi all, Ok ... indeed it wasn't just creating a new branch and deleting the old ... there was lots of tooling blocking things. But now both our plc4x as well as our plc4x-build-tools repos are "master-free". I also updated the website and the release documentation. Chris Am 03.07.20, 19:30

Re: S7 write test doubt

2020-07-08 Thread Christofer Dutz
Hi Iñigo, perhaps I can help with this (Sorry I was drowning in all sorts of work-things lately). I think I'll setup my S7 to have a INT or DINT variable and will try to reproduce the error here. Chris Am 07.07.20, 10:36 schrieb "Iñigo Angulo" : Hi Etienne, Thank you for the

[jira] [Created] (PLC4X-208) [S7] When trying to write to a S7 device and writing is not explicitly enabled, the PLC will respond with an error code

2020-07-08 Thread Christofer Dutz (Jira)
Christofer Dutz created PLC4X-208: - Summary: [S7] When trying to write to a S7 device and writing is not explicitly enabled, the PLC will respond with an error code Key: PLC4X-208 URL:

[jira] [Created] (PLC4X-209) [S7] When writing INT and DINT values the Write operation fails with an internal error

2020-07-08 Thread Christofer Dutz (Jira)
Christofer Dutz created PLC4X-209: - Summary: [S7] When writing INT and DINT values the Write operation fails with an internal error Key: PLC4X-209 URL: https://issues.apache.org/jira/browse/PLC4X-209

[GitHub] [plc4x] JulianFeinauer opened a new pull request #170: PLC4X-207 When a Handler Timeout occurs cancel the read future to not…

2020-07-08 Thread GitBox
JulianFeinauer opened a new pull request #170: URL: https://github.com/apache/plc4x/pull/170 …ify the user. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: S7 write test doubt

2020-07-08 Thread Christofer Dutz
Hi Iñigo, good news ... I think I found the issue we were having. It turns out that when sending data to the S7 if you have INT,UINT,DINT,UDINT but interestingly not SINT and USINT you need to use the Data Transport Size of "INTEGER" instead of "BYTE/WORD/DWORD". Also did I notice that we

Re: S7 write test doubt

2020-07-08 Thread Christofer Dutz
Hi Iñigo, so indeed I was able to fix the issue. However it did show a little inconvenience in my PLC4C code generation which I need to address. So I won't be able to push my changes this evening, but am positive about being able to fix them tomorrow. Chris Am 08.07.20, 20:28 schrieb

Re: S7 write test doubt

2020-07-08 Thread Christofer Dutz
Ok ... so I couldn't wait till tomorrow. I fixed the C code generation and pushed the changes. In my setup here now it should be possible to write the values you couldn't previously. Please check and report back if it helped. This was actually a great demo of the power of our mspec code

[GitHub] [plc4x] ottobackwards commented on pull request #170: PLC4X-207 When a Handler Timeout occurs cancel the read future to not…

2020-07-08 Thread GitBox
ottobackwards commented on pull request #170: URL: https://github.com/apache/plc4x/pull/170#issuecomment-655750717 This looks good. It would be nice if there were some tests for this though +1 This is an automated

Re: [DISCUSS] How to do discovery?

2020-07-08 Thread Łukasz Dywicki
I can share some of my findings I had with Siemens, Beckhoff and other stuff which is generally speaking.. easier to discover. ;-) Long story short - most of tools has some ways to find them over network. For Siemens it is profinet-dcp or lldp. Both of these are packed into ethernet frames. I