Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 read issue

2020-09-01 Thread Lukas Ott
Thanks Stefano +1 for your awesome work over the last weeks!

and yes Chris I reviewed and merged the pull request as it was quite
straightforward.

Cheers
Lukas

Am Di., 1. Sept. 2020 um 14:11 Uhr schrieb Christofer Dutz <
christofer.d...@c-ware.de>:

> Hi Stefano,
>
> where can I see the PR … I couldn’t see it in the PLC4X github repo …
>
> Ok … forget it … I see Lukas merged it … thanks for that ;-)
>
> Chris
>
>
>
> Von: Stefano Bossi 
> Antworten an: 
> Datum: Dienstag, 1. September 2020 um 14:05
> An: 
> Betreff: Re: Adding Using PLC4X with Grade to documentation ... WAS: Re:
> S7 read issue
>
> :-)
>
> Ok, I think i have added to the project the incredible quantity of 20 line
> of documentation with a Pull Request 
>
> WOW, I am officially an open source community contributor !!!
>
> Regards,
> S.
>
> On 01/09/2020 11:10, Christofer Dutz wrote:
>
> And if you have problems creating the PR from the documentation … PRs for
> that welcome too ;-)
>
>
>
> Just kidding … if you need help with that, just ask :-)
>
>
>
> Chris
>
>
>
> Von: Stefano Bossi  stefano.bo...@gmail.com>
>
> Antworten an: <mailto:dev@plc4x.apache.org>
>
> Datum: Dienstag, 1. September 2020 um 10:40
>
> An: <mailto:dev@plc4x.apache.org>
>
> Betreff: Re: Adding Using PLC4X with Grade to documentation ... WAS: Re:
> S7 read issue
>
>
>
> ok, I try, I will read how to do a PR and I will add the documentation on
> git.
>
>
>
> Ciao,
>
> S.
>
>
>
>
>
> On 01/09/2020 09:18, Christofer Dutz wrote:
>
>
>
> Hi Stefano,
>
>
>
>
>
>
>
> it would be super-great if you could whip up a PR for our documentation …
> it’s also in the same repo under src/site/asciidoc …
>
>
>
>
>
>
>
> Chris
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Von: Stefano Bossi  stefano.bo...@gmail.com><mailto:stefano.bo...@gmail.com> stefano.bo...@gmail.com>
>
>
>
> Antworten an: <mailto:dev@plc4x.apache.org> dev@plc4x.apache.org><mailto:dev@plc4x.apache.org>
>
>
>
> Datum: Montag, 31. August 2020 um 15:18
>
>
>
> An: <mailto:dev@plc4x.apache.org> dev@plc4x.apache.org><mailto:dev@plc4x.apache.org>
>
>
>
> Betreff: Re: S7 read issue
>
>
>
>
>
>
>
>
>
>
>
> Hi Sebastian,
>
>
>
>
>
>
>
> Chris wrote a very good page on how to compile the library which is a very
> big software: https://plc4x.apache.org/developers/building.html
>
>
>
>
>
>
>
> On Mac I found no problem to follow the guide and I think on windows
> should be fine too.
>
>
>
>
>
>
>
> As extra suggestion on the guide I could add something if you use Gradle
> for your software: the compilation build and install all the jars local in
> your machine, if you would access this local jar storage via gradle you
> have just to add mavenLocal() to the list of repositories:
>
>
>
>
>
>
>
> repositories {
>
>
>
>
>
>
>
> mavenCentral()
>
>
>
>
>
>
>
> mavenLocal()
>
>
>
>
>
>
>
> }
>
>
>
>
>
>
>
> I’s not not difficult to figure out but I spend a couple of hours
> wandering how to do so it’s worth sharing
>
>
>
>
>
>
>
> Regards,
>
>
>
> S.
>
>
>
>
>
>
>
> On 31/08/2020 14:45, Christofer Dutz wrote:
>
>
>
>
>
>
>
> Hi Sebasitan,
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Just some minutes ago I submitted a fix for your problem.
>
>
>
>
>
>
>
> Please give it a try :-)
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Chris
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Am 31.08.20, 11:41 schrieb "Sebastian Voss"  svdevl...@gmail.com><mailto:svdevl...@gmail.com> svdevl...@gmail.com><mailto:svdevl...@gmail.com> svdevl...@gmail.com><mailto:svdevl...@gmail.com> svdevl...@gmail.com>:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi Chris,
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> JIRA issue with attachment is created
> https://issues.apache.org/jira/browse/PLC4X-246 <
> https://issues.apache.org/jira/browse/PLC4X-246><
> https://issues.apache.org/jira/browse/PLC4X-246><
> https://issues.apache.org/jira/browse/PLC4X-246><
> https://issues.apache.org/jira/browse/PLC4X

Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 read issue

2020-09-01 Thread Christofer Dutz
Hi Stefano,

where can I see the PR … I couldn’t see it in the PLC4X github repo …

Ok … forget it … I see Lukas merged it … thanks for that ;-)

Chris



Von: Stefano Bossi 
Antworten an: 
Datum: Dienstag, 1. September 2020 um 14:05
An: 
Betreff: Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 
read issue

:-)

Ok, I think i have added to the project the incredible quantity of 20 line of 
documentation with a Pull Request 

WOW, I am officially an open source community contributor !!!

Regards,
S.

On 01/09/2020 11:10, Christofer Dutz wrote:

And if you have problems creating the PR from the documentation … PRs for that 
welcome too ;-)



Just kidding … if you need help with that, just ask :-)



Chris



Von: Stefano Bossi <mailto:stefano.bo...@gmail.com>

Antworten an: <mailto:dev@plc4x.apache.org>

Datum: Dienstag, 1. September 2020 um 10:40

An: <mailto:dev@plc4x.apache.org>

Betreff: Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 
read issue



ok, I try, I will read how to do a PR and I will add the documentation on git.



Ciao,

S.





On 01/09/2020 09:18, Christofer Dutz wrote:



Hi Stefano,







it would be super-great if you could whip up a PR for our documentation … it’s 
also in the same repo under src/site/asciidoc …







Chris















Von: Stefano Bossi 
<mailto:stefano.bo...@gmail.com><mailto:stefano.bo...@gmail.com><mailto:stefano.bo...@gmail.com>



Antworten an: 
<mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org>



Datum: Montag, 31. August 2020 um 15:18



An: 
<mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org>



Betreff: Re: S7 read issue











Hi Sebastian,







Chris wrote a very good page on how to compile the library which is a very big 
software: https://plc4x.apache.org/developers/building.html







On Mac I found no problem to follow the guide and I think on windows should be 
fine too.







As extra suggestion on the guide I could add something if you use Gradle for 
your software: the compilation build and install all the jars local in your 
machine, if you would access this local jar storage via gradle you have just to 
add mavenLocal() to the list of repositories:







repositories {







mavenCentral()







mavenLocal()







}







I’s not not difficult to figure out but I spend a couple of hours wandering how 
to do so it’s worth sharing







Regards,



S.







On 31/08/2020 14:45, Christofer Dutz wrote:







Hi Sebasitan,















Just some minutes ago I submitted a fix for your problem.







Please give it a try :-)















Chris























Am 31.08.20, 11:41 schrieb "Sebastian Voss" 
<mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com>:















Hi Chris,















JIRA issue with attachment is created 
https://issues.apache.org/jira/browse/PLC4X-246 
<https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246>.
 I will try to change the settings and report back the result.















Thanks a lot and best regards,







Sebastian















> On 31. Aug 2020, at 11:08, Christofer Dutz 
<mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de>
 wrote:







>







> Hi Sebastian …







>







> Unfortunately attachments don’t work on this mailing list. Could you 
please create a JIRA issue?







>







> And I think I can help you with that error of yours:







> Go into the settings of your S7 and  enable PUT/GET … the folks from 
NodeRed made a nice video:







> https://www.youtube.com/watch?v=rTUs-_EiZ3A (Just the first 1,5 minutes)







>







> But the driver should definitely report this … as it is a known thing and 
if we reported that it would help a lot of others.







>







> Chris







>







>







>







>







> Von: Sebastian Voss 
<mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailt

Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 read issue

2020-09-01 Thread Stefano Bossi
:-)

Ok, I think i have added to the project the incredible quantity of 20
line of documentation with a Pull Request 

WOW, I am officially an open source community contributor !!!

Regards,
S.


On 01/09/2020 11:10, Christofer Dutz wrote:
> And if you have problems creating the PR from the documentation … PRs for 
> that welcome too ;-)
>
> Just kidding … if you need help with that, just ask :-)
>
> Chris
>
> Von: Stefano Bossi 
> Antworten an: 
> Datum: Dienstag, 1. September 2020 um 10:40
> An: 
> Betreff: Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 
> read issue
>
> ok, I try, I will read how to do a PR and I will add the documentation on git.
>
> Ciao,
> S.
>
>
> On 01/09/2020 09:18, Christofer Dutz wrote:
>
> Hi Stefano,
>
>
>
> it would be super-great if you could whip up a PR for our documentation … 
> it’s also in the same repo under src/site/asciidoc …
>
>
>
> Chris
>
>
>
>
>
>
>
> Von: Stefano Bossi <mailto:stefano.bo...@gmail.com>
>
> Antworten an: <mailto:dev@plc4x.apache.org>
>
> Datum: Montag, 31. August 2020 um 15:18
>
> An: <mailto:dev@plc4x.apache.org>
>
> Betreff: Re: S7 read issue
>
>
>
>
>
> Hi Sebastian,
>
>
>
> Chris wrote a very good page on how to compile the library which is a very 
> big software: https://plc4x.apache.org/developers/building.html
>
>
>
> On Mac I found no problem to follow the guide and I think on windows should 
> be fine too.
>
>
>
> As extra suggestion on the guide I could add something if you use Gradle for 
> your software: the compilation build and install all the jars local in your 
> machine, if you would access this local jar storage via gradle you have just 
> to add mavenLocal() to the list of repositories:
>
>
>
> repositories {
>
>
>
> mavenCentral()
>
>
>
> mavenLocal()
>
>
>
> }
>
>
>
> I’s not not difficult to figure out but I spend a couple of hours wandering 
> how to do so it’s worth sharing
>
>
>
> Regards,
>
> S.
>
>
>
> On 31/08/2020 14:45, Christofer Dutz wrote:
>
>
>
> Hi Sebasitan,
>
>
>
>
>
>
>
> Just some minutes ago I submitted a fix for your problem.
>
>
>
> Please give it a try :-)
>
>
>
>
>
>
>
> Chris
>
>
>
>
>
>
>
>
>
>
>
> Am 31.08.20, 11:41 schrieb "Sebastian Voss" 
> <mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com>:
>
>
>
>
>
>
>
> Hi Chris,
>
>
>
>
>
>
>
> JIRA issue with attachment is created 
> https://issues.apache.org/jira/browse/PLC4X-246 
> <https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246>.
>  I will try to change the settings and report back the result.
>
>
>
>
>
>
>
> Thanks a lot and best regards,
>
>
>
> Sebastian
>
>
>
>
>
>
>
> > On 31. Aug 2020, at 11:08, Christofer Dutz 
> <mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de>
>  wrote:
>
>
>
> >
>
>
>
> > Hi Sebastian …
>
>
>
> >
>
>
>
> > Unfortunately attachments don’t work on this mailing list. Could you 
> please create a JIRA issue?
>
>
>
> >
>
>
>
> > And I think I can help you with that error of yours:
>
>
>
> > Go into the settings of your S7 and  enable PUT/GET … the folks from 
> NodeRed made a nice video:
>
>
>
> > https://www.youtube.com/watch?v=rTUs-_EiZ3A (Just the first 1,5 minutes)
>
>
>
> >
>
>
>
> > But the driver should definitely report this … as it is a known thing 
> and if we reported that it would help a lot of others.
>
>
>
> >
>
>
>
> > Chris
>
>
>
> >
>
>
>
> >
>
>
>
> >
>
>
>
> >
>
>
>
> > Von: Sebastian Voss 
> <mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com>
>
>
>
> > Antworten an: 
> "dev@plc4x.apache.org"<mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org>
>  
> <mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org&

Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 read issue

2020-09-01 Thread Christofer Dutz
And if you have problems creating the PR from the documentation … PRs for that 
welcome too ;-)

Just kidding … if you need help with that, just ask :-)

Chris

Von: Stefano Bossi 
Antworten an: 
Datum: Dienstag, 1. September 2020 um 10:40
An: 
Betreff: Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 
read issue

ok, I try, I will read how to do a PR and I will add the documentation on git.

Ciao,
S.


On 01/09/2020 09:18, Christofer Dutz wrote:

Hi Stefano,



it would be super-great if you could whip up a PR for our documentation … it’s 
also in the same repo under src/site/asciidoc …



Chris







Von: Stefano Bossi <mailto:stefano.bo...@gmail.com>

Antworten an: <mailto:dev@plc4x.apache.org>

Datum: Montag, 31. August 2020 um 15:18

An: <mailto:dev@plc4x.apache.org>

Betreff: Re: S7 read issue





Hi Sebastian,



Chris wrote a very good page on how to compile the library which is a very big 
software: https://plc4x.apache.org/developers/building.html



On Mac I found no problem to follow the guide and I think on windows should be 
fine too.



As extra suggestion on the guide I could add something if you use Gradle for 
your software: the compilation build and install all the jars local in your 
machine, if you would access this local jar storage via gradle you have just to 
add mavenLocal() to the list of repositories:



repositories {



mavenCentral()



mavenLocal()



}



I’s not not difficult to figure out but I spend a couple of hours wandering how 
to do so it’s worth sharing



Regards,

S.



On 31/08/2020 14:45, Christofer Dutz wrote:



Hi Sebasitan,







Just some minutes ago I submitted a fix for your problem.



Please give it a try :-)







Chris











Am 31.08.20, 11:41 schrieb "Sebastian Voss" 
<mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com>:







Hi Chris,







JIRA issue with attachment is created 
https://issues.apache.org/jira/browse/PLC4X-246 
<https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246><https://issues.apache.org/jira/browse/PLC4X-246>.
 I will try to change the settings and report back the result.







Thanks a lot and best regards,



Sebastian







> On 31. Aug 2020, at 11:08, Christofer Dutz 
<mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de><mailto:christofer.d...@c-ware.de>
 wrote:



>



> Hi Sebastian …



>



> Unfortunately attachments don’t work on this mailing list. Could you 
please create a JIRA issue?



>



> And I think I can help you with that error of yours:



> Go into the settings of your S7 and  enable PUT/GET … the folks from 
NodeRed made a nice video:



> https://www.youtube.com/watch?v=rTUs-_EiZ3A (Just the first 1,5 minutes)



>



> But the driver should definitely report this … as it is a known thing and 
if we reported that it would help a lot of others.



>



> Chris



>



>



>



>



> Von: Sebastian Voss 
<mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com><mailto:svdevl...@gmail.com>



> Antworten an: 
"dev@plc4x.apache.org"<mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org>
 
<mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org>



> Datum: Montag, 31. August 2020 um 10:49



> An: 
"dev@plc4x.apache.org"<mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org>
 
<mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org><mailto:dev@plc4x.apache.org>



> Betreff: Re: S7 read issue



>



> Hi Chris, Hi Stefano,



>



> Thanks a lot for your valuable feedback. It is highly appreciated.



>



> I followed Stefanos suggestions and applied the simplifications. In 
addition I created a Wireshark capture which is attached to this email.



>



> It seems it replies with “[Error code: This service is not implemented on 
the module or a frame error was reported (0x8104)]"



>



> Does this mean the address is wrong or is it something else?



>



> Best regards,



> Sebastian



>



>



>> On 31. Aug 2020, at 09:42, Stefano Bossi 
<mailto:stefano.bo...@gmail.com><mailto:stefano.bo...@gmail.com><mailto:stefano.bo...@gmail.com>
 wrote:



>>



>> Hi Sebastian,



>>



>> if you need some help in setup the wireshark capture software or open 
the jira ticket I could help.



>

Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 read issue

2020-09-01 Thread Stefano Bossi
ok, I try, I will read how to do a PR and I will add the documentation
on git.

Ciao,
S.



On 01/09/2020 09:18, Christofer Dutz wrote:
> Hi Stefano,
>
> it would be super-great if you could whip up a PR for our documentation … 
> it’s also in the same repo under src/site/asciidoc …
>
> Chris
>
>
>
> Von: Stefano Bossi 
> Antworten an: 
> Datum: Montag, 31. August 2020 um 15:18
> An: 
> Betreff: Re: S7 read issue
>
>
> Hi Sebastian,
>
> Chris wrote a very good page on how to compile the library which is a very 
> big software: https://plc4x.apache.org/developers/building.html
>
> On Mac I found no problem to follow the guide and I think on windows should 
> be fine too.
>
> As extra suggestion on the guide I could add something if you use Gradle for 
> your software: the compilation build and install all the jars local in your 
> machine, if you would access this local jar storage via gradle you have just 
> to add mavenLocal() to the list of repositories:
>
> repositories {
>
> mavenCentral()
>
> mavenLocal()
>
> }
>
> I’s not not difficult to figure out but I spend a couple of hours wandering 
> how to do so it’s worth sharing
>
> Regards,
> S.
>
> On 31/08/2020 14:45, Christofer Dutz wrote:
>
> Hi Sebasitan,
>
>
>
> Just some minutes ago I submitted a fix for your problem.
>
> Please give it a try :-)
>
>
>
> Chris
>
>
>
>
>
> Am 31.08.20, 11:41 schrieb "Sebastian Voss" 
> :
>
>
>
> Hi Chris,
>
>
>
> JIRA issue with attachment is created 
> https://issues.apache.org/jira/browse/PLC4X-246 
> .
>  I will try to change the settings and report back the result.
>
>
>
> Thanks a lot and best regards,
>
> Sebastian
>
>
>
> > On 31. Aug 2020, at 11:08, Christofer Dutz 
>  wrote:
>
> >
>
> > Hi Sebastian …
>
> >
>
> > Unfortunately attachments don’t work on this mailing list. Could you 
> please create a JIRA issue?
>
> >
>
> > And I think I can help you with that error of yours:
>
> > Go into the settings of your S7 and  enable PUT/GET … the folks from 
> NodeRed made a nice video:
>
> > https://www.youtube.com/watch?v=rTUs-_EiZ3A (Just the first 1,5 minutes)
>
> >
>
> > But the driver should definitely report this … as it is a known thing 
> and if we reported that it would help a lot of others.
>
> >
>
> > Chris
>
> >
>
> >
>
> >
>
> >
>
> > Von: Sebastian Voss 
>
> > Antworten an: "dev@plc4x.apache.org" 
> 
>
> > Datum: Montag, 31. August 2020 um 10:49
>
> > An: "dev@plc4x.apache.org" 
> 
>
> > Betreff: Re: S7 read issue
>
> >
>
> > Hi Chris, Hi Stefano,
>
> >
>
> > Thanks a lot for your valuable feedback. It is highly appreciated.
>
> >
>
> > I followed Stefanos suggestions and applied the simplifications. In 
> addition I created a Wireshark capture which is attached to this email.
>
> >
>
> > It seems it replies with “[Error code: This service is not implemented 
> on the module or a frame error was reported (0x8104)]"
>
> >
>
> > Does this mean the address is wrong or is it something else?
>
> >
>
> > Best regards,
>
> > Sebastian
>
> >
>
> >
>
> >> On 31. Aug 2020, at 09:42, Stefano Bossi 
>  wrote:
>
> >>
>
> >> Hi Sebastian,
>
> >>
>
> >> if you need some help in setup the wireshark capture software or open 
> the jira ticket I could help.
>
> >>
>
> >> It’s definitely worth to follow the Chris suggestion to help him to 
> spot the real problem.
>
> >>
>
> >> In the mean time I think you could simplify the PLC query in this way:
>
> >>
>
> >> String Url: s7:tcp://172.3.4.5:102?controller-type=S7_1200
>
> >>
>
> >> String field: %DB20:5.0:BOOL
>
> >>
>
> >> As far as the address of the Data Block and the bool value are 
> correct, should work.
>
> >> There were nothing particular wrong in your query but the library is 
> somewhat “sensible” if something goes wrong in the dialogue with the PLC
>
> >>
>
> >> An another thing you should pay attention is that the Data Block MUST 
> be NOT optimized; reading of optimized block is not currently supported. This 
> shouldn’t be your case because an attempt to read an optimized block raise an 
> exception or a null value.
>
> >>
>
> >> Try and let us know.
>
> >>
>
> >> Regards,
>
> >> Stefano
>
> >>
>
> >> On 31/08/2020 08:48, Christofer Dutz wrote:
>
> >>
>
> >>
>
> >>
>
> >>> Hi Sebastian,
>
> >>>
>
> >>> could you possibly do a wireshark recording of this, create an issue 
> in our jira and attach the capture there?
>
> >>> I am