Re: Please welcome César García as our new VP/Chair

2024-09-19 Thread Ben Hutcheson
Congrats Cesar. On Thu, Sep 19, 2024 at 3:18 PM Sebastian Rühl wrote: > Awesome, Great news. > > Happy to hear that Cesar is our new VP. > > Sebastian > > On 2024/09/19 06:17:17 Christofer Dutz wrote: > > Hi all, > > > > in yesterday’s board meeting César García was accepted as new Chair of > th

Re: Defining Alternatives in Mspec files

2024-02-21 Thread Ben Hutcheson
eld' SixteenBitField [simple uint 16 instance] ] ['DintField' SixteenBitField [simple uint 32 instance] ] ] ] [enum uint 2 SegmentFormat ['0X00' SintField ] ['0X01' IntField ] ['0X02' DintField ] ['0X03' UnknownField ] ] On Thu, Feb 22, 2024 a

Re: Defining Alternatives in Mspec files

2024-02-21 Thread Ben Hutcheson
Hi Robert, Looking at the code for plc4j/drivers/eip/src/main/java/org/apache/plc4x/java/eip/base/protocol/EipProtocolLogic.java at line 133. It looks as though the 2 bit format value can be used as a discriminator for the format of that field. It being 0 when it is 8 bits, and 1 when it's 16 bit

Re: [VOTE] Apache PLC4X 0.12.0 RC2

2024-02-17 Thread Ben Hutcheson
+1 (binding) The header for this release in RELEASE_NOTES should probably be just 0.12 instead of the SNAPSHOT version. [x] Download all staged artifacts under the url specified in the release vote email. [x] Verify the signature is correct. [x] Check if the signature references an Apache email a

Re: [DISCUSS] How about registering a profile for ApachePLC4X on LinkedIn?

2024-02-06 Thread Ben Hutcheson
Sounds like a decent idea +1 On Sun, Feb 4, 2024 at 12:35 PM Lukas Ott wrote: > +1 > > As we would mainly follow other Apache projects like: > - https://www.linkedin.com/company/apache-streampipes/ > - https://www.linkedin.com/company/apachespark/ > - https://www.linkedin.com/company/apache-beam

Re: [DISCUSS] SingletonTransports?

2023-05-15 Thread Ben Hutcheson
Seems like a good idea. On Mon, 15 May 2023 at 10:28 am, Christofer Dutz wrote: > Hi all, > > while doing some brainstorming on my next steps for the PROFINET driver, I > fomulated something I would call a SingletonTransport … > We have some drivers, that require a connection to open a port on a

Re: [DISCUSS] Add GitHub Discussions?

2023-05-15 Thread Ben Hutcheson
+1 I see no reason not to. On Mon, 15 May 2023 at 4:57 pm, Dominik Riemer wrote: > Hi, > +1…our experience at StreamPipes is that GitHub Discussions really help to > lower the entry barrier for new users to ask questions! > And questions are not asked twice ;-) > > Cheers > Dominik > > > Am 15

Re: AW: [DISCUSS] Have some sort of multi-connection?

2023-05-10 Thread Ben Hutcheson
not allow this flexibility for MultiConnection > connections. > > > > > > I think now allowing the overrides would be the simpler solution and > for > > all the drivers I know that need multiple connections, you can’t really > run > > them with anything dif

Re: [DISCUSS] Have some sort of multi-connection?

2023-05-06 Thread Ben Hutcheson
Hi, Definitely +1, it would be great to be able to have multiple connections/protocols handled in a consistent way. PROFINET is a prime example of one that would benefit, as it uses multiple protocols (LLDP, DCP, PNIO) as well as multiple end devices. Let me know if I can help. Ben On Sat, May

Re: [VOTE] Should we remove the PLC4X Connector from the Confluent Hub

2023-04-14 Thread Ben Hutcheson
[RESULT] Voting has now closed, with 6 for removing it, and 0 against. On Fri, Apr 14, 2023 at 5:37 PM Cesar Garcia wrote: > +1 > > El mar, 11 abr 2023 a las 23:55, Ben Hutcheson () > escribió: > > > Hi, > > > > The work expected from Confluent to maintain the

[DISCUSS] Should we remove the PLC4X Connector from the Confluent Hub

2023-04-11 Thread Ben Hutcheson
This is the discussion thread for the vote on removing the PLC4X Kafka Connector. Please keep all discussions on this thread.

[VOTE] Should we remove the PLC4X Connector from the Confluent Hub

2023-04-11 Thread Ben Hutcheson
Hi, The work expected from Confluent to maintain the PLC4X Kafka Connector in the hub, historically hasn't been in line with our release schedule. And seeing as though there isn't really anybody that is actively maintaining the PLC4X Kafka Connector, I would like to vote on removing the package fr

Re: Personal Update :-)

2023-04-02 Thread Ben Hutcheson
Congrats :) On Sat, Apr 1, 2023 at 4:19 PM Christofer Dutz wrote: > Hi folks, > > Good news ... I will have 3 months of paid leave and will finally have a > lot of time to contribute to this project during that time :-) > > Chris >

Re: [Modbus] Handling 'too large' blocks of registers

2023-01-16 Thread Ben Hutcheson
s. > > The effect would be that for every type of device a schema definition is to > be created from which a client can be created/generated. > > Niels > > > > > > On Mon, Jan 16, 2023 at 8:50 AM Ben Hutcheson > wrote: > > > Hi Niels, > > >

Re: [Modbus] Handling 'too large' blocks of registers

2023-01-15 Thread Ben Hutcheson
Hi Niels, As Łukasz pointed out, there are a thousand different combinations of how Modbus requests can be arranged. I'm not sure there's a generic schema that can be used to define it though. You talked originally about splitting large reads (>125 registers) up into smaller registers. This logic

Re: Modbus addresses offset by 1?

2023-01-08 Thread Ben Hutcheson
Hi Niels, I know there was a reason why the offset didn't get applied to the extended registers, however I can no longer find out why I thought that it shouldn't have applied. I would be in favor of adding the offset to the extended register to make them the same as the others. Ben On Sun, Jan

Re: Extending Configuration to include Connection String

2023-01-08 Thread Ben Hutcheson
> Hi Ben, > > In your case, it seems like a good idea to keep them in the > Configuration.😎 > > Jinlin > > Ben Hutcheson 於 2023年1月7日 週六 下午5:37寫道: > > > Hi Jinlin, > > > > Yeah we do parse the string and get those values, however currently we > >

Re: schneider plc & eip

2023-01-07 Thread Ben Hutcheson
Ah wait, it might use a different CIP service ID (0x54 instead of 0x5B). Is there any chance you could get us a packet capture of a successful connection? On Sat, Jan 7, 2023 at 1:45 PM Ben Hutcheson wrote: > Taking a look at it within onConnectOpenConnectionManager within

Re: schneider plc & eip

2023-01-07 Thread Ben Hutcheson
ing. This might change in the > (near) future, but right now > all I had, when developing the driver, was a simple 2 channel digital IO > component. > > However if you want, I’d be happy to help you improve the driver. > > Chris > > > > From: Ben Hutcheson >

Re: Extending Configuration to include Connection String

2023-01-07 Thread Ben Hutcheson
n On Sat, Jan 7, 2023 at 10:28 AM jl hong wrote: > Hi Ben, > > I see we parse the connection string as a URL, and it contains IP, port, > and protocol. Did you mean we needn’t parse it again? > > Jinlin > > Ben Hutcheson 於 2023年1月7日 週六 下午3:05寫道: > > > Hi, > &g

Extending Configuration to include Connection String

2023-01-06 Thread Ben Hutcheson
Hi, There's been a few times where I have had to pass the connection string information through to the driver logic to be used in the connection phase. For OPC-UA it's passed as a string through to the OPCUA device to help select the correct endpoint. As well as now in the Profinet driver as we ne

Re: Intellij IDEA debugger OOM at starting a debug session ?

2023-01-06 Thread Ben Hutcheson
project settings between 11 and 19, that didn't seem to have any effect though. Ben On Fri, Jan 6, 2023 at 6:15 PM Ben Hutcheson wrote: > What version of IntelliJ are you using? I think I recently upgraded to > 2022.2.4. > > On Fri, 6 Jan 2023 at 5:57 pm, Ben Hutcheson wrote:

Re: Intellij IDEA debugger OOM at starting a debug session ?

2023-01-06 Thread Ben Hutcheson
What version of IntelliJ are you using? I think I recently upgraded to 2022.2.4. On Fri, 6 Jan 2023 at 5:57 pm, Ben Hutcheson wrote: > Hi Niels, > > I had noticed this yesterday while working on another branch, after > merging develop into it, I hadn't been able to track down

Re: Intellij IDEA debugger OOM at starting a debug session ?

2023-01-06 Thread Ben Hutcheson
Hi Niels, I had noticed this yesterday while working on another branch, after merging develop into it, I hadn't been able to track down exactly what was causing the problem. Ben On Fri, Jan 6, 2023 at 3:27 PM Christofer Dutz wrote: > Hi Niels, > > even if I’m happy it seems to be working for y

Re: schneider plc & eip

2023-01-05 Thread Ben Hutcheson
Hi Jukka, Your best bet is probably to take a look at adding support for smaller message sizes. The ‘large’ part of the large forward open refers to the message size (I think for large connections it is around 1500?) a normal forward open is around 500? Bytes or so. Ben On Thu, 5 Jan 2023 at 5:4

Re: [DISCUSS] Having a in-person community meetup?

2023-01-04 Thread Ben Hutcheson
Sounds like fun. Ben On Wed, Jan 4, 2023 at 4:30 PM Christofer Dutz wrote: > Ok … > > Uwe from codecentric FFM (the new office) was delighted my me asking if > codecentric would be willing to accommodate us during the hackathon. > So, that would be one option … I guess Sebastian would like that

Re: AW: Building a PLC4X and IoTDB Historian?

2022-11-29 Thread Ben Hutcheson
oth of our projects would > > > join in. > > > > > > Agree, I think the iotdb developers in Timecho can join. > > > > > > > And name-wise … one of the names of Historic Historians (Ideally a > > > Greek one) would make it into my top 10 ;-)

Re: Building a PLC4X and IoTDB Historian?

2022-11-27 Thread Ben Hutcheson
Hi, I think it's a great idea. I'd vote for having a separate project for something like this, just so it's clear that it is a historian and people can build it separately. I wouldn't want it hidden away in an obscure folder in the PLC4X repo. Cake does go with Cafe. Ben On Sun, Nov 27, 2022

Re: [DISCUSS] Check in generated Java code?

2022-11-25 Thread Ben Hutcheson
+1 I like the idea of keeping a history of what has changed. This may help? https://medium.com/@clarkbw/managing-generated-files-in-github-1f1989c09dfd On Fri, Nov 25, 2022 at 9:03 AM Łukasz Dywicki wrote: > -1 from my side > > I don't think its a good idea, generated code currently changes fa

Re: source and sink.properties files for Kafka JSON communication with Rockwell PLC type 1756-EN2T?

2022-11-18 Thread Ben Hutcheson
Hi Dietmar, The short answer is that there is no driver to communicate with ControlLogix PLC's that uses CIP. You could use Kepware and then the PLC4X OPCUA driver if you wanted. However, depending on how adventurous you are there is a logix_develop branch that should work. You should be able to

Re: [PLC4PY] Required setup for building?

2022-11-11 Thread Ben Hutcheson
MethodHandleAccessor.java:104) > > at java.lang.reflect.Method.invoke (Method.java:577) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > > (Launcher.java:282) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > > (Launcher.java:225) > > at org.

Re: [PLC4PY] Required setup for building?

2022-11-11 Thread Ben Hutcheson
Just pushed a change, I've also removed the manual tests On Fri, Nov 11, 2022 at 4:55 AM Ben Hutcheson wrote: > Hi, > > Yeah it looks like we'll have to work on support for Python version < > 3.10. It should be an easy fix to use the Union operator for type hints >

Re: [PLC4PY] Required setup for building?

2022-11-11 Thread Ben Hutcheson
xus.classworlds.launcher.Launcher.main > (Launcher.java:347) > at org.codehaus.classworlds.Launcher.main (Launcher.java:47) > [INFO] > -------- > [INFO] BUILD FAILURE > [INFO] >

Re: [PLC4PY] Required setup for building?

2022-11-11 Thread Ben Hutcheson
Hi Chris, I'm not sure much has changed since last time, can you send me the output you're seeing? Ben On Fri, Nov 11, 2022 at 4:07 AM Christofer Dutz wrote: > Hi all, > > some time ago I added some checks to the prerequisite check to ensure I’m > able to build PLC4PY before even trying. For s

Re: [DISCUSS] Rename Fields -> Tags?

2022-11-08 Thread Ben Hutcheson
+1, while I don't have your commitment to go around and change it. I think it makes it better aligned with OT nomenclature. On Tue, Nov 8, 2022 at 2:21 AM Christofer Dutz wrote: > Hmmm … ok, > > So, I count two people for using Tag and sort of Two for using Field. > Am I correct with this? > > A

Re: [DISCUSS] Enable GitHub issues?

2022-10-31 Thread Ben Hutcheson
+1 This will make the issues more visible, which is probably a good thing. On Mon, 31 Oct 2022 at 12:06 pm, Lukas Ott wrote: > Thank you Dominik! This > > It seems we have less of the Cons they are mentioning :-) > -> Google Summer of Code was not yet part of PLC4X > -> We only need to migrate

Re: [DISCUSS] Change the UI framework for the GUI application

2022-10-29 Thread Ben Hutcheson
Angular as the random front end, I'd also be willing to > help whenever I find some time! It could also be interesting to configure > the Web UI for microfrontend integration, e.g., to integrate the GUI into > StreamPipes 😉 > > Dominik > > > -Original Message-

Re: Change the array-notation in fields?

2022-10-29 Thread Ben Hutcheson
pache.org > Subject: Re: Change the array-notation in fields? > Hi Ben, > > in general we currently have no option to read partial arrays starting > with anything else than the first element. > That’s generally what I’m currently trying to add. > > Chris > > From: Ben

Re: Change the array-notation in fields?

2022-10-29 Thread Ben Hutcheson
As long as the original notation is kept, Im sure no one will mind. Changing the wording in the original from numElements to endIndex seems to have very little effect except to force the user to think about the start index as starting at 1. In practise do we have the ability to read partial arrays

Re: [DISCUSS] Change the UI framework for the GUI application

2022-10-25 Thread Ben Hutcheson
I think I'm going to hijack Lukas' comment about using electron from a previous post. I'm interested in building a GUI for the OPC-UA server with GraphQL and [insert some random front end] and having a common api would be really cool. Plus there seems to be a lot more selection when you get out o

Re: [VOTE] Move the Apache PLC4X Camel adapter to the Apache Camel project

2022-10-18 Thread Ben Hutcheson
+1 On Tue, Oct 18, 2022 at 10:56 AM Lukas Ott wrote: > +1 > > Am Di., 18. Okt. 2022 um 18:52 Uhr schrieb Christofer Dutz < > christofer.d...@c-ware.de>: > > > As discussed before: > > > > I would like to transfer the Apache PLC4X Camel adapter from Apache PLC4X > > into the Apache Camel project.

Profinet Driver - Multiple Devices

2022-10-11 Thread Ben Hutcheson
Hi, Just looking for some comments and feedback on the approach we're going with the Profinet Driver. As Profinet is a fieldbus, communicating to multiple devices at once is fairly standard, however it makes it difficult with the current connection string format to define multiple devices. Using

Re: [VOTE] Apache PLC4X 0.10.0 RC2

2022-10-05 Thread Ben Hutcheson
+1 (binding) Ben [OK] Download all staged artifacts under the url specified in the release vote email. [OK] Verify the signature is correct. [OK] Check if the signature references an Apache email address. [OK] Verify the SHA512 hashes. [OK] Unzip the archive. [OK] Verify the existence of LICENSE,

Re: [DISCUSS] Apache PLC4X 0.10.0 RC1

2022-09-30 Thread Ben Hutcheson
Can confirm there's some SNAPSHOT revisions in the apache-kafka pom. On Fri, Sep 30, 2022 at 11:47 AM Otto Fowler wrote: > wrong, did not fix. Any ideas? > > From: Otto Fowler > Reply: Otto Fowler > Date: September 30, 2022 at 13:42:21 > To: dev@plc4x.apache.org > Subject: Re: [DISCUSS]

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

2022-09-24 Thread Ben Hutcheson
+1 (binding) Ben [OK] Download all staged artifacts under the url specified in the release vote email. [OK] Verify the signature is correct. [OK] Check if the signature references an Apache email address. [OK] Verify the SHA512 hashes. [OK] Unzip the archive. [OK] Verify the existence of LICENSE,

Re: Can't connect to OPC UA from NIFI

2022-09-19 Thread Ben Hutcheson
Hi Bence, I wasn't involved with the Nifi processor, but remembering an email thread on the mailing list. The format for OPCUA was a bit different. *So to approach this and allow these "special" characters ('=',';') on the variableAddress we proposed to use the following syntax: 'MaxCurrentImax'

Chinese Translation of README

2022-09-16 Thread Ben Hutcheson
Hi, There is a PR open by a newcomer, Yeegsing, for a translation of the readme file, and I was wondering if there are any chinese speakers who could review it? https://github.com/apache/plc4x/pull/508 Kind Regards Ben

Re: [DRAFT] Board Report

2022-09-10 Thread Ben Hutcheson
+1 Yeah looks good, small type at 'Also will there be multiple presentations on PLC4X at the upcoming ApacheCon NA in New Orleans' should be 'Also there will' Also left off the 9.0 and 9.1 releases. On Sat, Sep 10, 2022 at 8:51 AM Lukas Ott wrote: > +1 > > > You do not want to mention our Go b

Re: [DISCUSS] Format for specifying "known messages"

2022-08-24 Thread Ben Hutcheson
Yeah I think it makes sense to use xml, considering that it’ll make it easy to generate from the existing tests. Would be interesting to use something like https://graphviz.org/doc/info/lang.html so that we could more easily represent sequences. There’d also be a bunch of tools to visualise things

Re: Question about Ethernet/IP writing BOOL values to the PLC

2022-07-05 Thread Ben Hutcheson
tps%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fnoovelia&data=05%7C01%7Cpboisclair%40noovelia.com%7C1d2bee86ac124cffe5b208da5e8ec63e%7C7c23133a4fda483abf15d0244c4c8c4b%7C0%7C0%7C637926264565280740%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SWm6ieY%2

Re: Question about Ethernet/IP writing BOOL values to the PLC

2022-07-04 Thread Ben Hutcheson
Also give the latest branch a try again, may have just been an easy fix? On Tue, Jul 5, 2022 at 8:09 AM Ben Hutcheson wrote: > Hi Patrick, > > I have been doing some work on this lately and was wondering if you'd like > to test out the changes on the eip_update branch? > >

Re: Question about Ethernet/IP writing BOOL values to the PLC

2022-07-04 Thread Ben Hutcheson
Hi Patrick, I have been doing some work on this lately and was wondering if you'd like to test out the changes on the eip_update branch? You should be able to use a connection string like "logix:tcp://192.168.1.12:44818?communicationPath=1,4" Instead, as well as not needing to include a % in fr

Re: [DISCUSS] Is a page like this ok?

2022-06-15 Thread Ben Hutcheson
I'm fine with it, and actually think this sort of stuff should have a higher visibility. Making people aware of the benefits of contributing to ASF projects is a good thing in my mind. I think there's also a few more benefits available (Microsoft, Other Jetbrains apps,...)? Not super related lnk b

Re: Subscription Simulation

2022-05-29 Thread Ben Hutcheson
Andy, I'm not sure if you're aware but there is a scraper https://plc4x.apache.org/users/tools/scraper.html which you can use to continuously poll data even when the driver doesn't support subscriptions. On Mon, May 30, 2022 at 7:42 AM Łukasz Dywicki wrote: > The simulation of subscriptions requ

Re: Error Connecting with OPCUA server

2022-05-12 Thread Ben Hutcheson
Hi,Dhiraj, It looks like your OPCUA server is returning an endpoint string that we don't recognize for some reason. Can you please send through more information? - What is your PLC4X connection string you are using? - Can you send through a pcap or screenshot showing the endpoints returned in the

Re: PLC4Py - Change of Build System - Poetry is for the time beeing not suitable anymore

2022-04-21 Thread Ben Hutcheson
PR-354 contains an updated plc4py/pom.xml which uses pipenv, the Pipfile is in .gitignore and is generated from setup.py as part of the build. This makes it so we don't have to maintain the Pipfile and setup.py and can just use setup.py. However the downside is that running maven install takes way

Re: PLC4Py - Change of Build System - Poetry is for the time beeing not suitable anymore

2022-04-20 Thread Ben Hutcheson
pip-tools sounds good, an added benefit is it uses pyproject.tml so there shouldn't need to be too many updates to it to get it to work :) On Wed, Apr 20, 2022 at 7:09 PM Lukas Ott wrote: > I mean it is supported by jazzband :-) : > https://github.com/jazzband/pip-tools > > https://pip-tools.rea

Re: [DISCUSS] Rename "modbus" to "modbus-tcp"?

2022-03-09 Thread Ben Hutcheson
-0 Having an alias for modbus-tcp as modbus would probably be good practice, but hey if no one complains then go for it. Currently the modbus-tcp also supports udp, it would look funny as modbus-tcp:udp I haven't actually seen it over udp but apparently they're out there. Modbus+ should definite

Re: Inconsistencies with the BitString types BYTE, WORD, DWORD and LWORD

2022-02-05 Thread Ben Hutcheson
Hi, I definitely think that all the drivers should be returning the same format as each other for each data type, I think that is more important than the format they are returned in. However, generally from what I have seen BYTE, WORD, etc... datatypes get returned as basically unsigned integer o

Re: Modbus protocol and AB-ETH etc

2022-01-05 Thread Ben Hutcheson
Hi Stephan, Hey that's cool, I'm assuming you're talking about the Modbus RTU branch? I haven't taken a look at any documentation for Modbus RTU, but any documentation would go into https://github.com/apache/plc4x/tree/develop/src/site/asciidoc. The asciidoc plugin for intellij works well to get

Re: [jira] [Commented] (PLC4X-330) OPCUA tests don't run on aarch64

2022-01-04 Thread Ben Hutcheson
> > > > > > Key: PLC4X-330 > > URL: https://issues.apache.org/jira/browse/PLC4X-330 > > Project: Apache PLC4X > > Issue Type: Bug > > Components: PLC4J > >

Re: [jira] [Created] (PLC4X-329) OPCUA Storing out of order transaction

2021-12-27 Thread Ben Hutcheson
Hi, Thanks for the report, I may find time another day to look at this. The problem is more than likely within the SecureChannelTransactionManager in this block of code. I suspect what happen is that two transactions were submitted at similar times and the first transaction hadn't finished being

Re: [LAZY-CONSENSUS] Clean up in our branches?

2021-12-15 Thread Ben Hutcheson
Hi, The modbus string branch can be deleted. It has an implementation of read/writing strings with set lengths for Java, the same way that the S7 driver specifies it. For PLC4X-304, Lukasz had a comment about it being able to be applied to the 0.8 branch, but otherwise it seems like it can be remo

Change in name of module plc4x-code-generaton

2021-11-10 Thread Ben Hutcheson
Hi All, Thanks to hboutemy there is a PR in the plc4x-build-tools repo to change the name of the plc4x-code-generaton module to plc4x-code-generation. This fixes a type in the name of it. I don't see it causing any issues but if you rely on it for something make sure that you update it. Kind Reg

Re: AW: Modbus RTU

2021-08-17 Thread Ben Hutcheson
y more than happy to help if you have any questions Ben On Tue, Aug 17, 2021 at 10:45 PM Stephen Snow wrote: > Hi Ben, > > On Tue, 2021-08-17 at 06:50 +1000, Ben Hutcheson wrote: > > Hi Stephen, > > > > Thank you for the offer and if it's ok I'll certainly

Re: AW: Modbus RTU

2021-08-16 Thread Ben Hutcheson
Hi Stephen, Thank you for the offer and if it's ok I'll certainly take you up on it. Next week I'll be starting a new job so I won't be contributing for a while, However I'll try and get something up and running this week. If you are able to test it and/or take over the implementation from there

Re: Modbus RTU

2021-08-15 Thread Ben Hutcheson
Thanks Łukasz, I’ll take a look at the stack configurator, might take some time to understand it. I’m assuming that would result in having it all under the same maven module. Niclas, For floating point and large integers, this is already supported, where we serialized/parse multiple modbus regist

Modbus RTU

2021-08-15 Thread Ben Hutcheson
Just looking at implementing Modbus RTU and have a couple of options around it's structure, that I wanted to get opinions on. The protocol uses two main data structures, an ADU and a PDU. The PDU is the main part of modbus and has all the function codes and data included in it. This is the same fo

Re: AW: ModBus set slaveId...

2021-08-12 Thread Ben Hutcheson
Hi, Niclas, good story :) The unit id does get used a fair bit with Modbus TCP. Especially on Modbus RTU to Modbus TCP gateways where you access each Modbus RTU slave on the TCP side using the unit ID. I've also seen some VSDs that will also use a couple of different IDs for different data tables

Re: Allen Bradley DF1 Stimulator

2021-08-10 Thread Ben Hutcheson
Hi, You could try RS Emulate 500, not sure if it still works or if it would let you communicate to it with third party software. https://theautomationblog.com/how-to-download-rslogix-micro-rslinx-and-emulate-500-for-free-2021/ Ben On Tue, Aug 10, 2021 at 4:25 PM Christofer Dutz wrote: > Hi

OPCUA PR

2021-07-21 Thread Ben Hutcheson
Hi, I will not be able to work on the native opcua branch for a while, but there really isn't much to do for it to be finished. Would someone be available to work on it? As far as I know the only thing outstanding is to split the messages being sent out into manageable chunks if they are too big

Re: [DISCUSS] Discover and Browse API for PLC4J?

2021-07-04 Thread Ben Hutcheson
Hi, Just commenting on the OPCUA side of things, Your description of discovery matches what is used for OPCUA, it is described here. https://reference.opcfoundation.org/v104/Core/docs/Part4/5.4.1/ I would expect that we pass a url for the discovery server and a list of endpoints is returned using

Re: [DISCUSS] Clean up the Apache Headers?

2021-07-03 Thread Ben Hutcheson
efore in any apache project. > > Chris > > Holen Sie sich Outlook für Android<https://aka.ms/AAb9ysg> > > ____ > From: Ben Hutcheson > Sent: Saturday, July 3, 2021 1:45:50 AM > To: dev@plc4x.apache.org ; Thomas < > frost...@protonmail

Re: [DISCUSS] Clean up the Apache Headers?

2021-07-02 Thread Ben Hutcheson
+0 for SPDX, Don't know much about what benefits it provides but it seems simple enough to implement. As well as +0 for number 2. On Fri, Jul 2, 2021 at 5:16 PM Thomas wrote: > Hi, > > Not sure if its "allowed" but: > > /* SPDX-License-Identifier: Apache-2.0 */ > > avoids spam and means less sc

Re: java write REAL TYPE

2021-06-22 Thread Ben Hutcheson
Hi Brian, I'm going to have to pass on this one, as I have no experience with these controllers. But I think PLC4X should be able to communicate with an S7-1500. Have you tried both versions 0.8 and 0.9-Snapshot? Ben On Sun, Jun 20, 2021 at 5:48 AM Brian <644036...@qq.com.invalid> wrote: > Hi B

Re: java write REAL TYPE

2021-06-15 Thread Ben Hutcheson
Hi Brian, I haven't had any experience with using plc4x with Siemens PLC's, but I did find a comment in the RELEASE_NOTES file about this being fixed in the 0.9-SNAPSHOT version. You will have to add the following to your pom.xml file. apache-snapshots https://repository.apache.org/c

Re: [DISCUSS] When to start the process of a new release?

2021-05-26 Thread Ben Hutcheson
Hi, For OPC UA, reading, writing and subscriptions work well. This covers everything the existing implementation does, suppose I could rebase it and create a PR for it. I do want to finish up the encryption connections, there isn't a lot of work to get that to work, however I'm sure I'm going to g

Re: Cleanup in our repo (and Sandbox)?

2021-05-21 Thread Ben Hutcheson
+1 for having the examples in a separate repository, as long as there's a link in the main repository's readme. +0 for checking in the generated files, changes can kind of get lost, but it does provide history of any changes. On Fri, May 21, 2021 at 5:53 AM Sebastian Rühl wrote: > Hi all, > > FY

Re: Out of order Transaction IDs

2021-05-03 Thread Ben Hutcheson
Thanks for the feedback Łukasz and Sebastian, I think you've convinced me that having an opcua specific class to handle the allocation of transactionIds would be a good thing. opcua is possibly unique in that all transactionids need to be received by the server in sequential order, otherwise it wi

Out of order Transaction IDs

2021-05-03 Thread Ben Hutcheson
Hi, I have been working on a native driver for OPCUA and am seeing an issue with the ordering of messages sent over the wire. For each message that gets sent over the wire, A transaction ID is assigned to it. These transaction IDs need to be received by the server in order. At the moment I'm usin

Re: OPCUA Write

2021-03-18 Thread Ben Hutcheson
Hi Jim, I have pushed an update to the develop branch to disable the writing of time stamps, if you wouldn’t mind can you try it out? Kind Regards Ben On Thu, Mar 18, 2021 at 5:44 PM Christofer Dutz wrote: > Hi Jim, > > the problem you didn't get any responses, is that you are not subscribed

Re: OPCUA Write

2021-03-11 Thread Ben Hutcheson
Hi Jim, Just a few thoughts, Check to see if you have write permission on the ua server. Is there a leading space before your address, s= S7...? On Thu, Mar 11, 2021 at 9:29 AM Wang, Jim wrote: > Hi PLC4X team, > > When I use PLC4X's OPCUA protocol to write PLC, I always get ACCESS_DENIED >

Re: Source Time of PLC Value?

2021-03-08 Thread Ben Hutcheson
gt; > > On 08.03.2021 04:30, Otto Fowler wrote: > > So, maybe the extension is timestamp *and* timestamp source. > > > > uint64_t timestamp; > > typedef enum { > > /* timestamp was generated by the source device */ > > SOURCE, > > /* times

Re: [DISCUSS] Minimum sampling interval on change of state subscription

2021-03-08 Thread Ben Hutcheson
t given interval? How our API caller > will know who controls time? > > To sum all this - I would say that case you have seems to fit more into > cyclic subscription than change of state. > > Best, > Łukasz > > > On 06.03.2021 13:06, Ben Hutcheson wrote: > > Looking

[DISCUSS] Minimum sampling interval on change of state subscription

2021-03-06 Thread Ben Hutcheson
Looking at the change of state subscription interface there's no explanation or way to modify the Duration parameter which defaults to one second. This is used in OPC UA as a minimum reporting time so will never report back faster than 1 second. What's everyone's thoughts on adding this as an opti

Re: OPC UA Subscribe throws casting error ...

2021-03-06 Thread Ben Hutcheson
ment a polling with old/new > compare in my gateway (https://github.com/vogler75/opcua-gateway < > https://github.com/vogler75/opcua-gateway>) to have some kind of > subscription option for Milo-Drivers which do not support subscriptions … > but if PLC4X can already do that for me

Re: Source Time of PLC Value?

2021-03-05 Thread Ben Hutcheson
We do have some error codes, but it would just need to be extended a bit. I don't think we have one for BAD (we still receive data but the source has marked it bad). Timestamps I think are definitely a good idea, especially if we eventually DNP3. On Fri, Mar 5, 2021 at 5:39 PM Łukasz Dywicki wro

Re: OPC UA Subscribe throws casting error ...

2021-03-05 Thread Ben Hutcheson
ot;value":22.0,"isNullable":false} > > The tag increases one by one every 200ms, and here in PLC4X we miss value > changes.. > > Is there a way to adjust the opc ua subscription sampling interval and/or > monitoring options with PLC4X? > > Regards, > A

Re: OPC UA Subscribe throws casting error ...

2021-03-05 Thread Ben Hutcheson
rivers/ads/src/main/java/org/apache/plc4x/java/ads/configuration/AdsConfiguration.java:23:43 > java: package org.apache.plc4x.java.ads.readwrite does not exist > > I see in e.g. OpcuaField.java: Cannot resolve symbol 'OpcuaIdentifierType' > > Regards, > Andreas > > >

Re: OPC UA Subscribe throws casting error ...

2021-03-05 Thread Ben Hutcheson
Hi Andreas, I also saw the same issue running the example. I have just pushed a branch to fix this bug/opcua_subscription. If you can try it out that would be great. Kind Regards Ben On Wed, Mar 3, 2021 at 3:12 PM Andreas Vogler wrote: > Hi Matthias, > > It’s > * Java 11.0.9 (Amazon Corretto)

Re: Failure building 0.9.0-SNAP ...

2021-02-28 Thread Ben Hutcheson
Hi Cesar, Thanks, that's been updated. Kind Regards Ben On Sun, Feb 28, 2021 at 6:31 PM Cesar Garcia wrote: > Hi, > > Testing the main repository I found references to 0.8.0-SNAPSHOT in the > "tools / connection-cache" POM. > > On the pom lines 40 and 62 it should be "0.9.0-SNAPSHOT". > > Can

Re: [DISCUSS] Start Implementing turnkey-examples?

2021-02-17 Thread Ben Hutcheson
+1 for having pre-built binaries. I think it is a great way to expand the number of people we can reach (There's a lot of cool stuff in PLC4X). Also having links on the website to download would be handy. I'd try and avoid jars for this only because it isn't a normal format people would expect to

Re: Changes to mspec

2021-02-14 Thread Ben Hutcheson
tle" change would be quite a big change requiring a LOT of > work. I wasn't going to invest the time on my own to do this allone. But if > we want to do it together, I'd be happy to do that on a branch. > > Chris > > -Ursprüngliche Nachricht- > Von:

Changes to mspec

2021-02-14 Thread Ben Hutcheson
Hi, While working on the OPC UA native driver I have come across a couple of cases where it was beneficial to modify mspec. I'd like to bring these up for discussion. - OPC UA makes heavy use of pascal strings. This is where the length of the string precedes the string. Currently when specifying

Re: [VOTE] Apache PLC4X 0.8.0 RC2

2021-01-26 Thread Ben Hutcheson
+1 (binding) Ben Remarks, We could certainly do with some cleaning up of the documentation and build instructions e.g. the with-proxies switch doesn't exist anymore, there is a with-opcua-werver switch in the dockerfile, clang is required to build the c stuff but isn't listed. It probably isn't

Re: Housekeeping in our branches

2021-01-25 Thread Ben Hutcheson
I've removed the kafkasink branch. :) On Mon, Jan 25, 2021 at 7:11 AM Łukasz Dywicki wrote: > I will take care of: > - feature/socketcan > - feature/socketcan-0.8-preparations > - features/generated-ads-driver > - feature/reverse-fields > > These are stale/merged. I will move them to my personal

Re: [DISCUSS] Change the naming scheme for release-tags?

2021-01-22 Thread Ben Hutcheson
+1 Might be worth testing it out beforehand to make sure it works with go? On Thu, Jan 21, 2021 at 7:53 AM Xiangdong Huang wrote: > +1. > Also will call a discussion on the IoTDB mail-list to keep consistent :D > > Best, > --- > Xiangdong Huang > School of Softwa

Re: Idea how to generate even more driver code ....

2021-01-22 Thread Ben Hutcheson
I think it is a good idea, it's a pain having to specify loads of null values. One thought though would be tobe able to specify an ordering and default value for the parameters. Then if the language supports it default values could just be defined instead of creating a builder. On Fri, Jan 22, 20

Fwd: Invitation: PLC4X Kafka Connector Demo @ Mon Jan 18, 2021 4:30pm - 5:30pm (IST) (hutc...@apache.org)

2021-01-16 Thread Ben Hutcheson
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20210118T11Z DTEND:20210118T12Z DTSTAMP:20210115T135240Z ORGANIZER;CN=rku...@confluent.io:mailto:rku...@confluent.io UID:6qb06v04s9f1rsimdtrng8k...@google.com

Re: [DISCUSS] mspec a show-stopper? Was: AW: Reflecting on how we volunteer to do stuff

2021-01-08 Thread Ben Hutcheson
Hi, I agree mspec certainly simplifies the implementation and it works well. Some work around updating the documentation would certainly help out though. Then again how many people are actually working with the mspec. I do think that we can do a better job of advertising how quickly custom protoc

  1   2   >