Hi Gaurav, that's generally just something used during development ... It wasn't intended to be used as a standalone application. If you want to use it to experiment, you have to replace the connection string (currently "df1:serial:///COM4" with something for your case and then add/adjust the items added to the Read Request.
Chris -----Ursprüngliche Nachricht----- Von: Gaurav P <[email protected]> Gesendet: Freitag, 19. Februar 2021 13:16 An: [email protected] Betreff: Re: DF1 protocol ...cant find documentation Hi Team /Lucas ... Thanks for comments ... Should I use this program to test to PLC 500 https://github.com/apache/plc4x/blob/develop/sandbox/test-java-df1-driver/src/test/java/org/apache/plc4x/protocol/df1/EndToEndTest.java Also how do I specify address ? PlcReadRequest request = plcConnection.readRequestBuilder() .addItem("hurz", "5:INTEGER") ->>>>*is this address of register ???* .build(); On Fri, Feb 19, 2021 at 5:12 PM Gaurav P <[email protected]> wrote: > Hi Team, > > I followed the link which was shared by Lukas and Chris and managed > to dish out the guide with sample code , which I would be testing AB > PLC 500 > > *https://docs.google.com/document/d/1FWmwJfXVD03MLtHVsJ0UizoA6D5KzU9JG > 4VRD-lInGI/edit?usp=sharing > <https://docs.google.com/document/d/1FWmwJfXVD03MLtHVsJ0UizoA6D5KzU9JG > 4VRD-lInGI/edit?usp=sharing> * I have some questions in the above > document (marked read), it would be great if can get comments, a post > that will compile and run in RPI connect to PLC > > Thanks > > On Fri, Feb 19, 2021 at 3:25 PM Stephen Snow <[email protected]> wrote: > >> I can get this tested on both serial and ethernet/ip. I also have >> ther >> DF1 protocol manual. >> >> Stephen >> On Fri, 2021-02-19 at 15:22 +0530, Gaurav P wrote: >> > Thanks Chris ... I have access to an ancient AB PLC 5/260 and will >> > start testing and report back to you .....transport link would be >> > serial ...hope it wont be any issue After I go through the docs , >> > hope its not too complex , I maybe able to maintain and test driver >> > >> > On Fri, Feb 19, 2021 at 1:07 PM Christofer Dutz >> > <[email protected]> >> > wrote: >> > >> > > Hi Gaurav, >> > > >> > > also from my side, welcome :-) >> > > >> > > I think the DF1 was one of the first tob e created with the new >> > > code-generation framework. >> > > However due to lack of hardware to test on, it's still located in >> > > the "Sandbox" and got a "test" prefix on it. >> > > >> > > <dependency> >> > > <groupId>org.apache.plc4x.sandbox</groupId> >> > > <artifactId>test-java-df1-driver</artifactId> >> > > <version>0.9.0-SNAPSHOT</version> >> > > </dependency> >> > > >> > > Also I think it supports all features that were needed by the >> > > folks that implemented it, but probably not much more than that. >> > > >> > > So please test it. If you need it to do more and you've got a >> > > device you can test it with, we'd be happy to help you with that. >> > > >> > > Chris >> > > >> > > >> > > -----Ursprüngliche Nachricht----- >> > > Von: Lukas Ott <[email protected]> >> > > Gesendet: Freitag, 19. Februar 2021 07:33 >> > > An: [email protected] >> > > Betreff: Re: DF1 protocol ...cant find documentation >> > > >> > > Hi Gaurav, >> > > >> > > Welcome to the list :-), >> > > >> > > Yes it really is supported. Here you ll find some more details: >> > > https://plc4x.apache.org/developers/code-gen/protocol/df1.html >> > > >> > > The best way to get started you can find here: >> > > https://plc4x.apache.org/users/getting-started/plc4j.html >> > > to understand more read here: >> > > https://plc4x.apache.org/users/getting-started/general-concepts.h >> > > tml >> > > >> > > For release 0.6 you ll find the java code here: >> > > >> > > >> https://github.com/apache/plc4x/blob/rel/0.6/protocols/df1/src/main/j >> ava/org/apache/plc4x/protocol/df1/Df1Protocol.java >> > > >> > > >> > > Example code you ll find here: >> > > https://github.com/apache/plc4x/tree/develop/plc4j/examples >> > > >> > > Currently not sure if we ported DF1 to release 0.8 >> > > >> > > Cheers, >> > > otluk >> > > >> > > Am Fr., 19. Feb. 2021 um 03:41 Uhr schrieb Gaurav P <[email protected]>: >> > > >> > > > Hi Team , >> > > > I am new to PLC4x , trying to integrate with DF1 but cant find >> > > > any documentation .... >> > > > https://plc4x.apache.org/users/protocols/df1.html >> > > > >> > > > is it really supported? if yes where can I get documentation >> > > > and an example code >> > > > -- >> > > > B*e * the *Ch*ange >> > > > >> > > >> > >> > >> >> >> > > -- > B*e * the *Ch*ange > -- B*e * the *Ch*ange
