Hi,
If you get the internal error, maybe try WireShark. He will tell you the exact
error so you can know exactly where the problem is coming from.
Regards
Etienne
> Le 3 juil. 2020 à 17:32, Cesar Garcia a écrit :
>
> Hi Iñigo,
>
> If you have the opportunity to test the previous version, it
Hi Wolfgang,
I was working quite a bit with data polling using PLC4X. I used it with Camel
Routes and right now I’m trying to implement Triggers for it, and schedulded
polling.
Fastes poll I heard that was used during my internship was 100ms. But often is
more 1s or even more.
BR,
Etienne
> L
kage:exports | grep org.apache.plc4x.camel
> >
> > I suspect that you have org.apache.plc4x.camel.TagData type defined in
> > two places at runtime. It causes a friction when you break boundaries
> > and use TagData from one source in another context.
> >
> > B
".
>
> Good luck,
> Łukasz
>
>
>> On 11.05.2020 11:59, Etienne Robinet wrote:
>> Hello guys,
>> I've been trying to use the Scraper with the Camel component. I tried to run
>> a test code in Karaf but I get this error:
>> https://i.imgur.com/ABAWJ8
Hello guys,
I've been trying to use the Scraper with the Camel component. I tried to run a
test code in Karaf but I get this error:
https://i.imgur.com/ABAWJ8l.png
The TagData class is used to store the Alias, Query and Values of the tags we
want to read. In order to use it with the Scraper, I
hink it would need a
bit of cleaning. And if you guys are ok with the way it is, I could try and use
the scraper with Camel.
Etienne
On 2020/05/06 12:48:39, Etienne Robinet wrote:
> Hello guys,
> I was looking a bit at the actual Scraper we have in 'tools'. I tested a
> sch
Hello guys,
I was looking a bit at the actual Scraper we have in 'tools'. I tested a
scheduled Read via YAML file and it worked just fine. However when I try to
create a triggered-read, I get an error:
[main] INFO org.apache.plc4x.java.PlcDriverManager - Instantiating new PLC
Driver Manager wit
new to this, if anyone could just give me a
> > feedback on
> > > >> > the
> > > >> > > code:
> > > >> > >
> > > >> > > API Activator:
> > > >> > >
> > > >&g
d when we refractor the scraper we just
> have to change all usages equally.
>
> Chris
> ________
> Von: Etienne Robinet <43...@etu.he2b.be>
> Gesendet: Freitag, 17. April 2020 20:27
> An: dev@plc4x.apache.org
> Betreff: Re: Camel Component feature
t; changes.
>
>In fact we want (since months) integrate our in-house developed Engine for
> these Tasks, CRUNCH as a PLC4X Subproject to push this even further (see here
> for CRUNCH https://github.com/pragmaticminds/crunch).
>
>I guess it helps you to take a look at bo
Hi everyone,
As the Camel component is now working correctly, I thought about some features
we could add on it, based on work I read from a coworker. I would like to know
if these would fit inside this project and if so I would be glad to implement
them.
Trigger & Completion
To prevent writing
Hi all,
I’ve checked the Manifest. If I put the Embed-Dependency to the plc4j-spi
artifact it does not find the Transport Service. And if I dont it does not
find the Plc4xBootstrap.
Etienne ROBINET
> Le 7 avr. 2020 à 16:48, Łukasz Dywicki a écrit :
>
> I was updating my local
aused again because this class is not exported (I think?) by the
SPI, but is used by one of the dependency (io.netty).
Any ideas on how to solve this?
Etienne
On 2020/04/07 06:53:54, Etienne Robinet wrote:
> Hi all,
> the faulty ClassLoader is the BundleDelegatingClassLoader(plc4x-test [191]
ling cycle. You can do that by making breakpoint in faulty method of
> S7Driver and evaluating expression
> "Thread.currentThread().getContextClassLoader()".
> Once you know that you can either fix classloading in the calling class
> loader or override classloader for thread to proper one.
>
>
> > I am off with my knowledge.
> > You could ask the Karaf friends (#karaf in Slack). They are all OSGi
> > experts and very friendly and helpful.
> > Or perhaps Christian has an idea here?
> >
> > Best
> > Julian
> >
> > Am 03.04.20, 0
every driver would use the NettyChannelFactory, but that shouldn't be an
> > OSGi type problem as the SPI classes should be able to access their own
> > classes.
> >
> > Chris
> >
> >
> >
> > Am 31.03.20, 16:07 schrieb "Etienne Ro
o optimal.
> Then one solution would be to embed the SPI bundle inside the transport
> bundle(s).
> This can be done with the felix-maven plugin by using the
> configuration if I remember correctly.
>
> Julian
>
> Am 31.03.20, 16:07 schrieb "Etienne Robinet" <4
ortunately in order to do so, I need to call "init" from the
> derived class. Unfortunately this is package private in Netty so I had
>To add it to the same package.
>
>Would it help to just not export these packages to OSGi?
>
>B
Hi all,
I've been working on the Camel Component and decided to test it inside Karaf,
but I noticed that I've got this error now:
https://i.imgur.com/kUZPwZ5.png
Seems like this class is not exported by the bundle so it can not be found.
Anyone has an idea on how we could solve this?
Etienne
Etienne Robinet created PLC4X-189:
-
Summary: String Parsing
Key: PLC4X-189
URL: https://issues.apache.org/jira/browse/PLC4X-189
Project: Apache PLC4X
Issue Type: Improvement
t; >
> > Th Simatic S7 is Big Endian.
> >
> > I have NOT seen the code generated by the mspec or the
> infrastructure,
> > but
> > in general your code must perform the conversion.
> >
> > With Netty ByteBuf it is compat
Hi all,
After spending some time on my work, I wanted to make some tests with the S7.
After I pulled from the actaul dev branch, I noticed an error: seems like the
Parser for INT and REAL datatype does not work (for me at least). I don't
understand why but from wireshark and debugging it seems l
t there yet. I could imagine that starting the
> other way around you always have something you can build. But all in all ...
> great job. It's highly appreciated. We would however convert that to asciidoc
> and integrate that into the website, if you allow us to.
>
> Ch
Hi all,
I finished the EipFieldHandler with the basic types, and also the document I
talked about yesterday.
You can have a look here as it is on my branch.
https://github.com/etiennerobinet/plc4x/blob/develop/Writing%20generated%20Driver.md
What do we need more now to merge this to the dev bran
te a Pull Request for your changes so we can pull
> them in.
> We can then work on finalizing this together.
>
> Chris
>
>
>
> Am 17.03.20, 11:22 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi Chris,
> the problem was the tag
ect and replace the empty element with
> the printed out verson.
>
> Chris
>
>
>
> Am 16.03.20, 17:20 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi again,
> I started also to test serializer and parser. Here is the problem I am
Hi Chris,
as I am currently on the EIP/CIP driver, what would it need to accomplish in
order to be in the 0.7? Or is there too much work left to release it?
Etienne
On 2020/03/17 07:55:47, Christofer Dutz wrote:
> Hi all,
>
> Given that I just put a check-mark on all big things I had open I wo
r the parameters I am giving?
Etienne
On 2020/03/16 15:38:33, Etienne Robinet <43...@etu.he2b.be> wrote:
> Hi Chris,
> I did a similar test for reading a tag. As I never did such tests before, I
> don't know if the method is correct, but the results are similar to the ones
> I g
ns the first time you build on
> every day. ... yes this can be annoying ;-)
>
> Chris
>
> Am 16.03.20, 14:41 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi,
> Ok I see, seems to be resolved once rebuilt. But how does it come that
rk up to date" on
> https://plc4x.apache.org/developers/contributing.html
>
> Hope that helps.
>
> Chris
>
>
>
> Am 16.03.20, 13:50 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi Chris,
>
> buy how do I stop it f
etLengthInBytes still exists.
> It's just that there is an additional getLengthInBits.
>
> Chris
>
>
>
>
> Am 16.03.20, 13:19 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi Chris,
>
> Thanks for the advice I will
discriminate the types?
>
> Chris
>
>
>
> Am 16.03.20, 12:01 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi Chris,
> I will have a look to build the tests for the parser/serializer.
>
> I have another question. In Cip when
/plc4x/java/s7/readwrite/S7ParserSerializerTestsuite.java
> plc4j/drivers/s7/src/test/resources/testsuite/S7ParserSerializerTestsuite.xml
>
> But I wouldn't call that production ready yet as I was distracted by other
> work and have to check where I dropped the ball last ti
int8 '0x01'] // setRequestPathInstance
>[reserved uint16 '0x9D05'] //Timeout 5s
>[implicit uint16 'messageSize' 'lengthInBytes - 10 -
> 4'] //substract above and routing
>
> 2) You directly parse PlcValues (using "dataIo" types)
> >
> > I would prefer option 2 but 1 is simpler. The reason I'm doing 1) in S7 and
> > KNX is that I need to know the type from the request to decode in the S7
> > case and in the KNX case I need t
1) in S7 and
> KNX is that I need to know the type from the request to decode in the S7 case
> and in the KNX case I need to know the type from an external source in order
> to decode it.
>
>
> Chris
>
> Am 13.03.20, 14:45 schrieb "Etienne Robinet" <43...
> Otherwise I misread your question.
>
> Julian
>
> Am 13.03.20, 14:37 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi Julian,
> so how should I declare this field in the mspec if I can not get its size?
> Thank you,
>
> Julian
>
> Am 13.03.20, 14:02 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi Chris,
> I have yet another question. When sending a request for multiple elements
> (let's say 10 elements of an array), you get a response from the PLC wi
orking, that makes me
> very happy.
>
> Tomorrow I'll be a little consumed with signing the contract with the KNX
> foundation but I'll try to have a look at your fork.
>
> Thanks for your great work :)
>
> Chris
>
>
>
> Am 12.03.20, 17:50 schrie
makes me
> very happy.
>
> Tomorrow I'll be a little consumed with signing the contract with the KNX
> foundation but I'll try to have a look at your fork.
>
> Thanks for your great work :)
>
> Chris
>
>
>
> Am 12.03.20, 17:50 schrieb "Eti
iting (tests needs to be done
too).
Etienne
On 2020/03/12 07:18:32, Etienne Robinet <43...@etu.he2b.be> wrote:
> Hi Chris,
> yes that's what I thought so I managed to work around like this:
>
> https://github.com/etiennerobinet/plc4x/blob/eip/protocols/eip/src/main/resou
.. once as one of the sub-types of
> EipPacket and once as a dedicated discriminated type.
>
> Chris
>
>
> PS: I have no idea why I didn't finish writing this email and I just noticed
> when closing everything down ... sorry for the late reply.
>
>
>
&g
['0x4C' CipReadRequest
[simple uint8 'RequestPathSize']
[reserved uint8 '0x91']
[array uint8 'tag' length '(RequestPathSize*2) - 1']
[reserved uint16 '0x000
nd tries to
> > be smart in a lot of cases.
> > Whenever I have problems like this I use the ANTLR visual parser to parse
> > a block of mspec (one type at a time) and try to narrow down the cause.
> >
> > Chris
> >
> >
> >
> > Am 10.03.20, 13:
Hi all,
I've been struggling with implementing the EIP driver. I started writing the
mspec after creating both a module for the protocol and the one from the
driver. I copied and adapted the pom(s) from the AB-ETH but only the enum is
generated.
Here is a link to the forked branch:
https://gith
Etienne Robinet created PLC4X-187:
-
Summary: EIP Generated Drivers
Key: PLC4X-187
URL: https://issues.apache.org/jira/browse/PLC4X-187
Project: Apache PLC4X
Issue Type: Improvement
> As soon as that's done, you need to add the protocol logic itself. But I
> guess I'd probably do the first steps before worrying about that.
>
> Just tell me if you need any help getting started.
>
> Chris
>
>
> Am 09.03.20, 14:14 schrieb "Etienne
dd the protocol logic itself. But I
> guess I'd probably do the first steps before worrying about that.
>
> Just tell me if you need any help getting started.
>
> Chris
>
>
> Am 09.03.20, 14:14 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
>
#x27;s more in front of
> this list. If you want to get started on implementing it, we'll be more than
> happy to help.
>
> Chris
>
>
>
>
>
>
> Am 09.03.20, 11:53 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Sorry
37:28, Etienne Robinet <43...@etu.he2b.be> wrote:
> Hi again,
> I managed to decapsulate the RegisterSession response from the PLC. The
> problem here is that the Register Session request and response have the same
> Command (0x0065) and the response only has the attributed Session H
ot the request?
Etienne
On 2020/03/08 09:56:52, Julian Feinauer wrote:
> Or provide a Wireshark dump also!
>
> Von meinem Mobiltelefon gesendet
>
>
> Ursprüngliche Nachricht
> Von: Christofer Dutz
> Datum: So., 8. März 2020, 10:13
> An: Etienne
. The problem was that the
PLC would send an error code back because of this 0 length.
Etienne ROBINET
> Le 7 mars 2020 à 12:27, Christofer Dutz a écrit :
>
> Hi All,
>
> so I just added a packet-size-estimator for AB-ETH ... hope that helps a
> little more.
>
&
Etienne Robinet created PLC4X-186:
-
Summary: AB-ETH Driver
Key: PLC4X-186
URL: https://issues.apache.org/jira/browse/PLC4X-186
Project: Apache PLC4X
Issue Type: Improvement
, Etienne Robinet <43...@etu.he2b.be> wrote:
> Hi all,
> I wanted to ask how far we are on the AB-ETH driver? I have a LOGIXS5580
> Series PLC to test, and when I try to run the HelloWorld example I get
> following error:
>
> 10:24:44.771 [nio
Hi all,
I wanted to ask how far we are on the AB-ETH driver? I have a LOGIXS5580 Series
PLC to test, and when I try to run the HelloWorld example I get following error:
10:24:44.771 [nioEventLoopGroup-2-1] INFO o.a.p.j.s.c.NettyChannelFactory -
Unable to connect, shutting down worker thread.
or
it froze again. The thing is that
> this time
> >> it does
> >> > not
> >> > seem to be any memory leakage nor network overloading.
> The
> >> program just
> >> > stops, and the camel conte
Hi there,
I am currently testing some fix/workaround. I tried a simple test case like the
previous one but I moved the connection to the PLC outside the while loop and
only connecting again if the connection drops.
Without temp, I don't get memory leaks (it seems) but the IDE froze after +-
60k
definitely
> investigate.
>
> Would it be possible to provide a testcase where I could locally reproduce
> this behavior? Then I could let JProfiler loose on the example and see where
> the memory is leaking to.
>
> Chris
>
>
>
> Am 27.02.20, 17:06 schrieb &quo
Hello,
after managing to do some read/write with camel, I tried to start fetching at
specific interval. My goal was being able to fetch at regular pace (like every
500ms) to monitor some data. After running some tests, I came across an error:
java.lang.OutOfMemoryError: Java heap space
after
; for (String name:names){
> > > System.out.println("Index: " + name +
> > > " Response code: " +
> > > response.getResponseCode(name));
> > > }
> > >
> > &
Hi all,
are there any example of writing to a S7 PLC? All the examples in the library
are about READING from a PLC. Is the writing also implemented yet (seems like
it).
I had some quick tries but nothing precise for now.
Regards,
Etienne
e negotiated
> with the PLC.
>
> Could you please do a wireshark dump of the communication and send that to me
> (this list doesn't accept attachments) ... or you upload it to some file
> sharing service and post a link here.
>
> Chris
>
>
>
> Am 21.02.20,
o some file
> sharing service and post a link here.
>
> Chris
>
>
>
> Am 21.02.20, 15:30 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi,
>
> after getting these results on reading fom the PLC, I tried writing.
> Afte
ing : /
>
> Julian
>
> Am 19.02.20, 14:06 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi,
> I started the Jira issue: https://issues.apache.org/jira/browse/PLC4X-177
> Using this XML:
>
>
>
ably you create an Issue in Jira
> https://issues.apache.org/jira/projects/PLC4X/issues where we track all
> activites and can help you with improvements.
>
> Best
> Julian
>
> Am 19.02.20, 12:50 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi
Etienne Robinet created PLC4X-177:
-
Summary: Apache-Camel
Key: PLC4X-177
URL: https://issues.apache.org/jira/browse/PLC4X-177
Project: Apache PLC4X
Issue Type: Improvement
is a
STRING.
-To read a memento, this also worked: address+%25MW102:INT
Now I am going to investigate the polling consumer, as I want to fetch the data
from the PLC at a polling interval.
Etienne
On 2020/02/18 16:49:31, Etienne Robinet <43...@etu.he2b.be> wrote:
> I managed to get the tool w
/java.lang.Thread.run(Thread.java:834)
Disconnected from the target VM, address: '127.0.0.1:61672', transport: 'socket'
Process finished with exit code 0
This did the trick: I had o also enable PUT/GET on my PLC (via TIA Portal).
Etienne
On 2020/02/18 14:08:11, Etienne Robinet <43...@et
>
> first, you should try to just access it with the HelloPlc4X Tool, just to
> check that everything works.
> And Second, please subscribe to the mailing list, otherwise all your mails
> have to go through moderation : )
>
> Julian
>
> Am 18.02.20, 14:22 schrieb "E
e) {
> LOGGER.error("Error closing connection", e);
> }
> }
>
> private Object unwrapIfSingle(Collection collection) {
> if (collection.isEmpty()) {
> return null;
> }
> if (collection.size() == 1) {
18.02.20, 11:28 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hi Julian,
> thanks for the advice, but where should I change the code to apply your
> modification? Is it in the doStart() methode of de PLC4XConsumer?
> Regards,
>
>
approach to send a single request, that should
> work.
>
> Best
> Julian
>
> Am 18.02.20, 09:39 schrieb "Etienne Robinet" <43...@etu.he2b.be>:
>
> Hello,
> with the help of some colleague we managed to find how to fix the issue
> so that the Driv
gt;
> Chris
>
>
>
>
> Am 17.02.20, 13:04 schrieb "Cesar Garcia" :
>
> Hi,
>
> The PLC address does not look correct, can you confirm that it really
> points to a real PLC or an S7 simulator?
>
>
>
> Best
except for one ver simple blueprint test, so it
> could take me some time.
>
> Would you mind opening a Jira issue for that?
> Then I can comment there and hopefully bring in a bit of analysis.
>
> Thanks!
> Julian
>
> Am 14.02.20, 23:34 schrieb "Etienne Robin
Hello everyone,
I've spent some days trying to figure out how to make PLC4X work inside a karaf
container in combination with camel blueprints for routing.
I've downloaded the latest release (0.5.0) and built it with maven. I then
installed the driver-s7-feature and plc4j-apache-camel bundle into
75 matches
Mail list logo