Re: Plc4x connection reset by peer exception uncaught

2020-09-17 Thread Christofer Dutz
m not sure that I can use wireshark in my case :( Thanks for your answers, I'll try to create a watchdog for it and look for the connection statuses. Kind regards, Vlad чт, 17 сент. 2020 г. в 13:02, Christofer Dutz : > Hi Vlad, > > I didn't miss the email, but

Re: Plc4x connection reset by peer exception uncaught

2020-09-17 Thread Christofer Dutz
on.connect(); Kind regards, Vlad Kind regards, Vlad чт, 17 сент. 2020 г. в 12:09, Christofer Dutz : > Hi Vlad, > > 0.8.0-SNAPSHOT is the current development version ... > we'll be releasing that as soon as we tied up some things we're currently &g

Re: Plc4x connection reset by peer exception uncaught

2020-09-17 Thread Christofer Dutz
Hi Vlad, 0.8.0-SNAPSHOT is the current development version ... we'll be releasing that as soon as we tied up some things we're currently working on. Chris Am 17.09.20, 11:02 schrieb "Vladyslav Milutin" : Hi Stefano, I'm curious about the 0.8.0 version, where I can find it? Since

Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Christofer Dutz
uild utils. Or by integration you mean frameworks? If yes, Spring Frameworks. Kind regards, Vlad ср, 16 сент. 2020 г. в 17:28, Christofer Dutz : > Hi Vladyslav, > > could you please tell us which driver and which version you are using? > Also it would be interestin

Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Christofer Dutz
Hi Vladyslav, could you please tell us which driver and which version you are using? Also it would be interesting if you are using any integration modules? Chris Am 16.09.20, 14:36 schrieb "Vladyslav Milutin" : Hello guys, I'm writing to you with a hope that you can help me with

Re: [RESULT] [VOTE] Apache PLC4X Build-Tools Code-Generation 1.3.0 RC1

2020-09-15 Thread Christofer Dutz
J Am 14.09.20, 08:45 schrieb "Christofer Dutz" : Hi all, so the vote passes with: 1 binding +1 and 1 non-binding +1 I'll finish the release steps and update the main repo to the new released version. Chris Am 12.09.20, 21:38 schr

Re: [MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-14 Thread Christofer Dutz
dy as well in the next week. Kind Regards Ben On Mon, Sep 14, 2020 at 5:45 AM Christofer Dutz wrote: > Hi Ben, > > as long as we keep everything as open as possible (not tie it to Java or > any other specific language) and it simplifies things: I'm all +1

Re: [MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-14 Thread Christofer Dutz
this but I'm not sure how we could handle that across multiple languages. I signed and sent away the ICLA just then, having PLC4X notified. Kind Regards Ben On Mon, Sep 14, 2020 at 4:36 AM Christofer Dutz wrote: > And @Ben, > > I am not sure if yo

Re: [MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-14 Thread Christofer Dutz
14.09.20, 09:53 schrieb "Christofer Dutz" : Hi Ben, thanks for that PR ... Just had a look at it and it looks really good to me. I think this way we would simplify the whole PlcValue handling quite a bit and we'll reduce the risk of having it right in one driver and wrong

Re: [MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-14 Thread Christofer Dutz
a file. > > Let me know what you think? > > Kind Regards > > Ben > > On Tue, Sep 8, 2020 at 11:44 AM Christofer Dutz > wrote: > >> Hi Ben, >> >> well the PlcValue types are based on the types used in the languag

[DISCUSS] Doing a release of PLC4X 0.8.0 soon?

2020-09-14 Thread Christofer Dutz
Hi all, I think in the version 0.8.0 so-far we have a huge amount of bugfixes and I would be happy if we would initiate the release process for this soon. Are there any initiatives on the way that we should get into this 0.8.0? I’ll immediately continue the discussion on the PlcValues as soon

[RESULT] [VOTE] Apache PLC4X Build-Tools Code-Generation 1.3.0 RC1

2020-09-14 Thread Christofer Dutz
TS No further remarks. Am Mi., 9. Sept. 2020 um 18:10 Uhr schrieb Christofer Dutz < christofer.d...@c-ware.de>: > +1 (binding) > > Chris > > [OK] Download all staged artifacts under the url specified in

Re: [DISCUSS] Add Wrappers to PLC4X Project

2020-09-11 Thread Christofer Dutz
27 schrieb "Christofer Dutz" : And my only concern about native-drivers is that I want to prevent us from becoming lazy. I know we had the EIP and Modbus drivers by using external libs and that wasn't very pleasant (At least not for me) We were relying on libs we

Re: Pending threads after connection.close

2020-09-09 Thread Christofer Dutz
Thanks for you instant feedback! I created a ticket https://issues.apache.org/jira/browse/PLC4X-249 <https://issues.apache.org/jira/browse/PLC4X-249> and attached a thread dump. Hopefully this helps to trace it down. Best regards, Sebastian > On 9. Sep 2020, at 19:

Re: Pending threads after connection.close

2020-09-09 Thread Christofer Dutz
HI Sebastian, this is definitely something that I have seen happen. If you can help us track down the issue, we would be extremely thankful. Chris Am 09.09.20, 19:16 schrieb "Sebastian Voss" : Hi guys, I’m facing some issue when I try to quit my application. It seems

Re: [VOTE] Apache PLC4X Build-Tools Code-Generation 1.3.0 RC1

2020-09-09 Thread Christofer Dutz
, and if they are in headers, make sure these files containing them are mentioned in the LICENSE file. [MINOR] Build the project according to the Maven defaults Remarks: The script "mvnw" seems to not be executable. Am 08.09.20, 13:46 schrieb "Christofer Dutz" : Apache PL

Re: [DISCUSS] Add Wrappers to PLC4X Project

2020-09-09 Thread Christofer Dutz
Hi Julian, the issue I see here is that it will make the build more complex (the part using the wrapper will only be runnable on windows and not sure if the license of the wrapped DLLs would allow including them). It will also eliminate the ability to auto-port the driver to other languages.

Re: [MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-08 Thread Christofer Dutz
ring would be holding-register:1000:REAL[10] instead though, I don't think this will cause issues if we make it optional and default to INT or BOOL as required. Kind Regards Ben On Tue, Sep 8, 2020 at 8:10 AM Christofer Dutz wrote: > Hi Ben ... > > Sorr

Re: [MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-08 Thread Christofer Dutz
s the job ... not pretty, but it works and I would definitely love to have something similar in the drivers to handle this if I said "holding-register:1000[10]:REAL" Chris Am 08.09.20, 13:59 schrieb "Christofer Dutz" : Hi Ben, if you have followed the latest disc

Re: [MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-08 Thread Christofer Dutz
n Sun, Sep 6, 2020 at 11:25 AM Christofer Dutz wrote: > Hi all, > > well I doubt that we could really centrally handle this. > If you have an idea how to unify this, I'd be happy for a suggestion. > I guess most will have to be handled in the indi

[VOTE] Apache PLC4X Build-Tools Code-Generation 1.3.0 RC1

2020-09-08 Thread Christofer Dutz
Apache PLC4X Build-Tools Code-Generation 1.3.0 has been staged under [2] and it’s time to vote on accepting it for release. All Maven artifacts are available under [1]. Voting will be open for 72hr. A minimum of 3 binding +1 votes and more binding +1 than binding -1 are required

Re: Bumped the NiFi version and added documentation on the NiFi integration

2020-09-07 Thread Christofer Dutz
/PLC4X-245 With kind regards / Mit freundlichen Grüßen Türker TUNALI Logedosoft Business Solutions M +90 545 788 48 78 [image: Logo] <https://www.logedosoft.com/> On Tue, Sep 1, 2020 at 2:03 PM Christofer Dutz wrote: > Hi all, > > I

[DISCUSS] Start releasing build tools?

2020-09-07 Thread Christofer Dutz
Hi all, I know I started this thread multiple times, but this time I really think we should do it. I know that perhaps after we release we will be needing some changes, but I guess we can’t change that. So I would like to stage a RC soon, so we can start a new release on 0.8.0 very soon. There

Re: [DRAFT] September Board Report

2020-09-07 Thread Christofer Dutz
Ok ... so I updated the board report as it's only 2 days till the deadline and submitted it as no one didn't have any general objections. I addressed the one "issue" we had ;-) Chris Am 05.09.20, 11:40 schrieb "Christofer Dutz" : Yeah was waiting for that to hap

Re: [MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-06 Thread Christofer Dutz
lt handlers for the various IEEE 61131 data types, the > specific protocols can then override them as necessary? > > Kind Regards > > Ben > > On Wed, Sep 2, 2020 at 9:36 AM Christofer Dutz > wrote: > > > Hi Julian,

Re: [DRAFT] September Board Report

2020-09-05 Thread Christofer Dutz
tty to join the community soon, Am 02.09.20 um 14:57 schrieb Christofer Dutz: > Hi all … > > I just prepared our board report and saved it as a draft … please review and > give feedback if you want me to add/remove/change things … > > > Chris > > > &g

Re: Supporting different layers of protocols depending on the used transport

2020-09-02 Thread Christofer Dutz
-> payload [-> mapping] -> protocol logic. Obviously we miss currently mapping part, which might be relevant for future cases also in CAN. Cheers, Łukasz Dywicki -- Code-House http://code-house.org > On 2 Sep 2020, at 17:20, Christofer Dutz wrote: > > Hi ... bumping this threa

Re: MODBUS over RTU configuration

2020-09-02 Thread Christofer Dutz
Alessio On Wed, Sep 2, 2020 at 5:33 PM Christofer Dutz wrote: > Hi Alessio, > > thanks for volunteering to help with testing ... as Otto will agree ... > testing stuff is sometimes a good thing to do ;-) > > Even if it's not highest priority

Re: MODBUS over RTU configuration

2020-09-02 Thread Christofer Dutz
2020 at 5:14 PM Christofer Dutz wrote: > Hi Alessio, > > welcome on this super-cool community list of ours :-) > > Unfortunately I have a little "uncool" news ... while working on the new > drivers, it occurred to me that we cur

Re: [jira] [Created] (PLC4X-214) [Modbus] Holding register addresses have an offset of 1 (Not reading the correct address)

2020-09-02 Thread Christofer Dutz
then dividing it by the same on the other end. e.g. 56.67 becomes 5667, Kind Regards Ben On Thu, Jul 16, 2020 at 4:10 AM Niclas Hedhman wrote: > For floats, I have only seen IEEE format. But can't rule out other. > > On Thu, Jul 16, 2020, 14:57 Chris

Re: Supporting different layers of protocols depending on the used transport

2020-09-02 Thread Christofer Dutz
AmsSerialFrame.class, AmsSerialFrameIO.class, AmsSerialTransportProtocol.class) .littleEndian() .build(); } This would only use the special AmsSerialTransportProtocol if the transport is "serial". Chris Am 12.08.20, 09:59 schrieb "Christofer Dut

Re: MODBUS over RTU configuration

2020-09-02 Thread Christofer Dutz
Hi Alessio, welcome on this super-cool community list of ours :-) Unfortunately I have a little "uncool" news ... while working on the new drivers, it occurred to me that we currently are absolutely able to run one protocol over multiple transports, however if the transports require different

Re: [MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-02 Thread Christofer Dutz
r" : Hi, agree with your suggestion! Although we have to be careful to not mix it up with specific implementations of datatypes in some drivers. Julian Am 02.09.20, 15:21 schrieb "Christofer Dutz" : Hi all, today I was at a customer’s site and use

[MODBUS][DISCUSS] Improving handling of datatypes ...

2020-09-02 Thread Christofer Dutz
Hi all, today I was at a customer’s site and used the Modbus driver to get data. This generally worked fine. The thing however I found a little complicated, was that the PLC seemed to offer all values as 32Bit Floating point values. So in order to correctly read them, I had to read an array of

[DRAFT] September Board Report

2020-09-02 Thread Christofer Dutz
Hi all … I just prepared our board report and saved it as a draft … please review and give feedback if you want me to add/remove/change things … Chris ## Description: The mission of the Apache PLC4X project is creating a set of libraries for communicating with industrial

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

2020-09-01 Thread Christofer Dutz
... 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

Re: Socketcan transport

2020-09-01 Thread Christofer Dutz
Hi Lukasz, I strongly agree that you should donate to that project what you have. After all we all benefit from it. Till that's released however I think we'll keep a copy here and use that. Thanks for your work on this ... I know CAN has been asked for quite regularly as it seems especially

Bumped the NiFi version and added documentation on the NiFi integration

2020-09-01 Thread Christofer Dutz
Hi all, I just pushed a tiny change to the NiFi integration, bumping it to the latest NiFi version. But I also invested quite some time to write some documentation on the NiFi integration. Hope that helps. Chris

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

2020-09-01 Thread Christofer Dutz
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

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

2020-09-01 Thread Christofer Dutz
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" <

Re: S7 read issue

2020-09-01 Thread Christofer Dutz
> 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:

Trying a new way for me to keep the lights on ...

2020-09-01 Thread Christofer Dutz
Hi folks, yesterday I decided to try out something new: I signed up for Github Sponsors. The problem is that I am dedicating all of my time for this project, because I strongly believe in it bringing value to the world. Unfortunately the world is having trouble bringing value to my bank

Re: S7 read issue

2020-08-31 Thread Christofer Dutz
ache.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

Re: S7 read issue

2020-08-31 Thread Christofer Dutz
> 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 >>

Re: How does the code generation process for different languages currently work?

2020-08-31 Thread Christofer Dutz
Hi Mattias, welcome here on our list. I am sure we'll be able to help you. Sounds like a great topic to write your thesis on ... really wished I had had the luck to do something that cool ;-) So am I assuming correctly that you're planning on working on the generation of the driver logic

Re: S7 read issue

2020-08-31 Thread Christofer Dutz
Hi Sebastian, could you possibly do a wireshark recording of this, create an issue in our jira and attach the capture there? I am sure we haven't handled all things that could go wrong and with this information I might be able to improve the error handling. Chris Am 30.08.20, 18:28

Re: Apache NiFi Processor throws java.io.IOException

2020-08-27 Thread Christofer Dutz
Hi Türker, "An existing connection was forcibly closed by the remote host" would let me imagine that the PLC "hung up". What would probably help most would be if you created a Jira Issue and could attach a WireShark recording. Ideally you would start a recording, filter on "modbus", stop the

Re: [DISCUSS] Possible changes to discriminator field handling

2020-08-26 Thread Christofer Dutz
] ] [type CANOpenPDU [bit 'remote', bit 'extended'] [typeSwitch 'remote', 'extended' // this wont generate ['true', 'true' ExtendedRemotePDU ] ] ] Best, Łukasz On 26.08.2020 10:32, Christofer Dutz wrote: >

Re: [DISCUSS] Possible changes to discriminator field handling

2020-08-26 Thread Christofer Dutz
care about if something's a discriminator. A discriminator is only interesting when serializing as in this case it doesn't store the value in the pojo but gets the value from the type instead. Chris Am 26.08.20, 10:29 schrieb "Christofer Dutz" : Hi Lukasz, It would be pre

Re: [DISCUSS] Possible changes to discriminator field handling

2020-08-26 Thread Christofer Dutz
Hi Lukasz, It would be pretty simple to extend the code generation to make the virtual fields available in the parser ... I just didn't do it as I then didn't see the need. Should be extremely simple to implement. (Sort of just a copy+paste of the pojo template) You can use type-arguments in

Re: Protocol encapsulation

2020-08-26 Thread Christofer Dutz
I think this fits well into the problem I was having with ADS. Right now the ADS driver will only support TCP, even if most of the stuff is in place for serial. The reason is that in order to use the serial transport a different base-type and transport-level-logic is needed than for TCP. What

Re: plc4j in osgi env

2020-08-25 Thread Christofer Dutz
You could try out the Kar bundles every driver should produce. Not 100% sure the 0.7.0 already had that feature, but the 0.8.0-SNAPSHOT definitely should. Chris Von: 刘存杰 Gesendet: Dienstag, 25. August 2020 06:53 An: dev@plc4x.apache.org Betreff: plc4j in osgi

Re: Leaking nioEventLoopGroup threads

2020-08-24 Thread Christofer Dutz
Do we have a Jira Issue for it already? Julian Am 24.08.20, 07:38 schrieb "Christofer Dutz" : Hi Adam, of course that's unfortunate ... also I will not be able to address this issue soon as I have to work on the tasks o

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Christofer Dutz
ards, Adam On Sun, Aug 23, 2020 at 1:00 PM Christofer Dutz wrote: > Hi Adam, > > the Apache SNAPSHOT repo is at: > https://repository.apache.org/content/repositories/snapshots > > Adding this to your pom should help: > >

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Christofer Dutz
something that needs to be built? Regards Adam > On Aug 23, 2020, at 12:31 PM, Christofer Dutz wrote: > > Hmm ... > > Could you possibly give 0.8.0-SNAPSHOT a try? or 0.6.x? ... 0.7.0 was the first of the new generation drivers. We're maintaining the 0.6

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Christofer Dutz
Rossi" : This is the latest 0.7.0 release from Maven. Regards Adam > On Aug 23, 2020, at 11:56 AM, Christofer Dutz wrote: > > Hi Adam, > > which version of PLC4X are you using? I know we had similar reports some time ago, but had thought we had fixe

Re: Leaking nioEventLoopGroup threads

2020-08-23 Thread Christofer Dutz
Hi Adam, which version of PLC4X are you using? I know we had similar reports some time ago, but had thought we had fixed them Chris Am 23.08.20, 16:40 schrieb "Adam Rossi" : Howdy. I am seeing a persistent thread being created for every plcConnection connect which looks like the

Re: Error in using new String feature in 0.8.0-SNAPSHOT

2020-08-21 Thread Christofer Dutz
. But you did find a bug in my code from yesterday, which I just fixed. So if you update and re-build, it should now fail again like it did before. So please try to add the STRING(10) or whatever number you need to the address and it should work. Chris Am 21.08.20, 09:51 schrieb "

Re: Error in using new String feature in 0.8.0-SNAPSHOT

2020-08-21 Thread Christofer Dutz
Hi Stefano, ok … if you did it that way, it should have worked … I just had another look at your error report and will investigate … Chris Von: Stefano Bossi Datum: Freitag, 21. August 2020 um 09:48 An: Christofer Dutz Betreff: Re: Error in using new String feature in 0.8.0-SNAPSHOT ok, I

Re: [S7] proposal for changing the way we read STRING values.

2020-08-20 Thread Christofer Dutz
STRING read as an array of BYTES, it does not take into account the maximum length or the character count. I'm going to keep an eye on the code, Best regards, El jue., 20 ago. 2020 a las 7:27, Christofer Dutz (< christofer.d...@c-ware.de>) escribió: > Hi Juli

Re: Wiki / Where and How we want to add documentation for other upcoming programming languages?

2020-08-20 Thread Christofer Dutz
And it's easier to grant individuals which are not yet committers rights to edit confluence ... Chris Am 20.08.20, 17:09 schrieb "Volker Emmert" : Hi Lukas, for now at the beginning of the new project I think a wiki or something similar will serve us better. At least I would

Re: Wiki / Where and How we want to add documentation for other upcoming programming languages?

2020-08-20 Thread Christofer Dutz
Hi Folks, I think we need to distinguish between two things: 1) Some sort of documentation and exchange platform where you guys can quickly write down stuff while developing --> I would strongly suggest to use Confluence (We never stopped using it, it's just most of the dynamic content from

Re: [S7] proposal for changing the way we read STRING values.

2020-08-20 Thread Christofer Dutz
y, I would stick to the rule: Read MAX either given by STRING[xx] syntax or the default 254 or 256 (dont remember the spec exactly). Julian Am 20.08.20, 12:46 schrieb "Christofer Dutz" : Another alternative would be to explicitly limit the number of chars read. S

Re: [S7] proposal for changing the way we read STRING values.

2020-08-20 Thread Christofer Dutz
Another alternative would be to explicitly limit the number of chars read. So if we would extend the address syntax for STRING types to something like %DB2:30:STRING:10 It would simply read the 10 chars without checking the size first. Chris Am 20.08.20, 12:44 schrieb "Christofer

[S7] proposal for changing the way we read STRING values.

2020-08-20 Thread Christofer Dutz
Hi all, while investigating: https://issues.apache.org/jira/browse/PLC4X-240 I noticed that the reading of STRING types seems to be extremely inefficient. The reason is that we are currently reading a STRING element by reading 258 bytes (1 byte for MAX num of chars, 1 byte for ACT num of chars

Re: Beer, Python and PLC4X

2020-08-14 Thread Christofer Dutz
Hi folks, great to hear this initiative is gaining some momentum. I’ll do my best to be available for answering questions, if you happen to have some. In the worst case someone who has my mobile phone number should give me a short call … don’t want you folks to be stuck on something. If I

[jira] [Created] (PLC4X-231) [code-generation] refactor the code generator to no longer require "enum" field types

2020-08-13 Thread Christofer Dutz (Jira)
Christofer Dutz created PLC4X-231: - Summary: [code-generation] refactor the code generator to no longer require "enum" field types Key: PLC4X-231 URL: https://issues.apache.org/jira/browse

[jira] [Created] (PLC4X-225) [code-generation] make it possible to put expressions in switch conditions

2020-08-12 Thread Christofer Dutz (Jira)
Christofer Dutz created PLC4X-225: - Summary: [code-generation] make it possible to put expressions in switch conditions Key: PLC4X-225 URL: https://issues.apache.org/jira/browse/PLC4X-225 Project

Re: Error Reading Modbus TCP Meter

2020-08-12 Thread Christofer Dutz
: Mittwoch, 12. August 2020 um 14:05 An: "dev@plc4x.apache.org" Cc: Christofer Dutz , Julian Feinauer Betreff: Re: Error Reading Modbus TCP Meter @Adam I want to read data from register address 40101 with start address 101 and float data type. But I couldn't get what you wanted

Re: Supporting different layers of protocols depending on the used transport

2020-08-12 Thread Christofer Dutz
al", AmsSerialFrame.class, AmsSerialFrameIO.class, AmsSerialTransportProtocol.class) .littleEndian() .build(); } I bet this is gonna be some crazy generic stuff ... Chris Am 12.08.20, 09:04 schrieb "Christofer Dutz" : Hi all, taking this back to the list as I t

Supporting different layers of protocols depending on the used transport

2020-08-12 Thread Christofer Dutz
Hi all, taking this back to the list as I think it belongs here. While working on the ADS driver I noticed that we might have the need to pack a given protocol in different transport protocols, depending on the used transport. For ADS it has to either wrap the AMSPacket in a AmsTCPPacket if

Re: plc4j-protocol-ads not registering

2020-08-11 Thread Christofer Dutz
> "Veuillez noter ma nouvelle adresse courriel. / Please note my new email address." De : Christofer Dutz Envoyé : 11 août 2020 02:59 À : dev@plc4x.apache.org Objet : Re: plc4j-protocol-ads not registering Hi Patrick, first of all welcome here

Re: plc4j-protocol-ads not registering

2020-08-11 Thread Christofer Dutz
Hi Patrick, first of all welcome here on our list. We will do our best to assist you. I did notice a few things: * You are using the API in version 0.6.0 but the drivers in 0.5.0 … I would strongly suggest not to mix versions * The drivers you are using are in version 0.5.0 … I would

Re: unit-identifier in PooledPlcDriverManager

2020-08-09 Thread Christofer Dutz
I would generally say that every parameter is important. So perhaps a matcher that simply compares all configured keys would be a solution, regardless of the order. Perhaps a new annotation that allows to exclude individual parameters would be an idea. Chris

Re: [BUILD-UNSTABLE]: Job 'PLC4X/PLC4X/develop [develop] [20]'

2020-08-08 Thread Christofer Dutz
Ok this seems to be due to the new vm being online. Gotta enable libpcap for that Von: Apache Jenkins Server Gesendet: Mittwoch, 5. August 2020 21:05 An: dev@plc4x.apache.org Betreff: [BUILD-UNSTABLE]: Job 'PLC4X/PLC4X/develop [develop] [20]' BUILD-UNSTABLE:

New drivers: Different Root-Type depending on selected transport?

2020-08-05 Thread Christofer Dutz
Hi all, While working on the ADS driver I ran into a problem with the new drivers. With ADS depending on the selected transport I would need the driver to use a different Root-Level type. AmsTCPPacket for TCP based traffic and AmsSerialFrame for serial transports. However right now I have no

PreviousRe: s7URIPattern doesn't match

2020-08-02 Thread Christofer Dutz
Actually this is not a bug. We intentionally changed the sytax. Please see the documentation page: https://plc4x.apache.org/users/protocols/s7.html We generally changed the connection string sytax for all drivers to a form that is more homogenous. The reason for the change was that the

Re: Contributions with Access to PLC's

2020-08-01 Thread Christofer Dutz
C would be nice, as we could then look at the usage in embedded systems, I’m actually in the process of trying to get a few custom drivers ported over to a gateway type solution for work. Regards, Ryan Truran Sent from my iPhone > On Jul 31, 2020, at 02:41, Christofer

Re: Reading Array of Int

2020-08-01 Thread Christofer Dutz
ms/ghei36> Von: Stefano Bossi <mailto:stefano.bo...@gmail.com> Gesendet: Mittwoch, 29. Juli 2020, 12:32 An: dev@plc4x.apache.org<mailto:dev@plc4x.apache.org>; Christofer Dutz Betreff: Re: Reading Array of Int Thanks Chris, yes definitely th

Re: Reading Array of Int

2020-08-01 Thread Christofer Dutz
the pcap files). For my part, I am waiting next week to be able to install a VPN and give access to the S7-300 / 400 equipment (physical) and the tests can be finished. Best regards, El vie., 31 jul. 2020 a las 3:42, Christofer Dutz (< christofer.d...@c-ware.de>) escribió: > Hi Cesar, > &g

Re: How to compose Read requests for ADS Protocol with PLC4X?

2020-08-01 Thread Christofer Dutz
and do some business logic. [VERY MESSY] I can share my stuff, if it is of interest as soon as I debugged it. But as you see, this is nothing I want to go to production with ... Cheers, Jonas -Ursprüngliche Nachricht- Von: Christofer Dutz [mailto:christofer.d...@c-ware.de] Gesendet

Re: How to compose Read requests for ADS Protocol with PLC4X?

2020-07-31 Thread Christofer Dutz
Hi think i found it ... I needed the Ads.dll itself ... of course that's not documented in the documentation ;-) Chris Am 31.07.20, 09:59 schrieb "Christofer Dutz" : Hi Jonas, I think I can possibly help you now … as I worked on the new Beckhoff driver I finally got

Re: How to compose Read requests for ADS Protocol with PLC4X?

2020-07-31 Thread Christofer Dutz
Hi Jonas, I think I can possibly help you now … as I worked on the new Beckhoff driver I finally got to working with the ADS protocol. I think the problem you are having is that the address you are using is simply not correct. The PLC doesn’t find an address called “BOOL1” … After discussing

Re: How to compose Read requests for ADS Protocol with PLC4X?

2020-07-31 Thread Christofer Dutz
onas (wbk) wrote: >> Thanks Chris, >> >> I'm working with PLC4X 0.6.0. >> >> If you need any other information just let me know. >> >> Thanks in advance for your efforts. >> >> Kind Regards >>

Re: Reading Array of Int

2020-07-31 Thread Christofer Dutz
nvestigation of the issue. > > Thanks, > Stefano Bossi > > > > On 29/07/2020 12:08, Christofer Dutz wrote: > > Well that’s a workaround, but not a fix … > > We should focus on fixing this. > > I’ll investigat

Re: Contributions with Access to PLC's

2020-07-31 Thread Christofer Dutz
Hi Turan, and also welcome ... great to have you here :-) There are generally a lot of ways you can contribute: - Start using PLC4X drivers and report/fix issues you encounter - Add features to drivers or improve existing drivers if we did things in a less-ideal way - Implement new drivers If

Re: Reading Array of Int

2020-07-29 Thread Christofer Dutz
Well that’s a workaround, but not a fix … We should focus on fixing this. I’ll investigate the issue as soon as I’m done with the Beckhoff ADS/AMS stuff … Perhaps Julian could find some time to investigate? Chris Von: Stefano Bossi Antworten an: Datum: Mittwoch, 29. Juli 2020 um 11:41 An:

Re: How to compose Read requests for ADS Protocol with PLC4X?

2020-07-29 Thread Christofer Dutz
Hi Jonas and welcome to the PLC4X project :-) I’ll do my best to help you with your setup … first … please let me ask you which version of PLC4X you are using? I’m asking cause we deleted and replaced ALL drivers from 0.6.0 and replaced them in 0.7.0 and beyond with ones generated by our

[jira] [Created] (PLC4X-221) Extend the Channels to support a "isPassive" flag

2020-07-28 Thread Christofer Dutz (Jira)
Christofer Dutz created PLC4X-221: - Summary: Extend the Channels to support a "isPassive" flag Key: PLC4X-221 URL: https://issues.apache.org/jira/browse/PLC4X-221 Project: Apache PLC4X

Re: Build Server changed ... working on it ...

2020-07-27 Thread Christofer Dutz
are, Tsinghua University Christofer Dutz 于2020年7月27日周一 上午3:55写道: > Hi folks, > > so today I managed to get the configuration on the new CI server running > and I think we're back in business. > > Chris > > Am 25.07.20, 15:25 schrieb &

Re: Build Server changed ... working on it ...

2020-07-26 Thread Christofer Dutz
Hi folks, so today I managed to get the configuration on the new CI server running and I think we're back in business. Chris Am 25.07.20, 15:25 schrieb "Christofer Dutz" : Hi all, I just noticed, that infra moved our build agent from the old build.apache.org to

Build Server changed ... working on it ...

2020-07-25 Thread Christofer Dutz
Hi all, I just noticed, that infra moved our build agent from the old build.apache.org to the new ci-build.apache.org … so we will never be able to build on the old server again (Just before reaching build 1000 ☹ ) … just wanted to tell you about this. I’ll keep on working on setting up

Re: Connection died after disconnection

2020-07-25 Thread Christofer Dutz
Hi Stefano, Connection reset looks like the remote hung up. In general the code looks good. One thing you could do would be to do a wireshark recording. Then we can identify what's going wrong. In that case ideally create a jira issue and attach that pcapng file to that. Chris

Re: Connection died after disconnection

2020-07-21 Thread Christofer Dutz
Hi Stefano, First of all, welcome on our list... We'll do our best to help you. Have you tried using our connection pool? Cause this should handle the connection state if the connection is disturbed. Also the scraper is a tool for collecting data periodically. This in combination with the

[jira] [Created] (PLC4X-218) [Scraper] After stopping the scraper still the statistics are logged and the application doesn't terminate

2020-07-20 Thread Christofer Dutz (Jira)
Christofer Dutz created PLC4X-218: - Summary: [Scraper] After stopping the scraper still the statistics are logged and the application doesn't terminate Key: PLC4X-218 URL: https://issues.apache.org/jira/browse

Re: Inquiry about the mspec

2020-07-17 Thread Christofer Dutz
ns and it does not work for me. Thanking you for your help, El lun., 15 jun. 2020 a las 3:21, Christofer Dutz (< christofer.d...@c-ware.de>) escribió: > Hi Cesar, > > I just noticed your discriminated types in [2] don't have names ... as for > every case in

[DISCUSS] How about naming "first time contributors" in RELEASE_NOTES?

2020-07-17 Thread Christofer Dutz
Hi all, I still remember how happy it made me to have my first contribution recognized in an open-source project. Even if it was a tiny one. So I was thinking … how about we mention first time contributors in the RELEASE_NOTES? I wouldn’t mention what they did, how much it was, just list the

Re: [jira] [Created] (PLC4X-214) [Modbus] Holding register addresses have an offset of 1 (Not reading the correct address)

2020-07-17 Thread Christofer Dutz
Hi Ben ... I just merged your pull request ... currently doing the full build with all tests but so-far it's looking good. Thanks a lot for this. Chris Am 17.07.20, 10:34 schrieb "Christofer Dutz" : Hi Ben, I just reviewed your changes and I like them a lot ... I did

Simple way to review PRs in IntelliJ

2020-07-17 Thread Christofer Dutz
Hi all, I just tried out something new for me. IntelliJ seems to have some functionality for working with Github PullRequests. https://blog.jetbrains.com/idea/2018/10/intellij-idea-2018-3-eap-github-pull-requests-and-more/ This makes it super-easy to create, and work on github PRs but also to

Re: [jira] [Created] (PLC4X-214) [Modbus] Holding register addresses have an offset of 1 (Not reading the correct address)

2020-07-17 Thread Christofer Dutz
next, I'm expecting it will take me around a week. Ben On Thu, Jul 16, 2020 at 12:25 PM Christofer Dutz wrote: > Aaaahh ... perfect > > Thanks Ben and Niclas. > Guess I'll be doing some Modbus coding pretty soon :-) > > But if someone wants t

  1   2   3   4   5   6   7   8   9   10   >