[GitHub] [plc4x] dependabot[bot] opened a new pull request, #665: build(deps): bump jackson.version from 2.14.0 to 2.14.1

2022-11-21 Thread GitBox


dependabot[bot] opened a new pull request, #665:
URL: https://github.com/apache/plc4x/pull/665

   Bumps `jackson.version` from 2.14.0 to 2.14.1.
   Updates `jackson-annotations` from 2.14.0 to 2.14.1
   
   Commits
   
   See full diff in https://github.com/FasterXML/jackson/commits;>compare view
   
   
   
   
   Updates `jackson-core` from 2.14.0 to 2.14.1
   
   Commits
   
   https://github.com/FasterXML/jackson-core/commit/2be384b1688f057ce6a0e01c5f54eebc4a8d99d8;>2be384b
 [maven-release-plugin] prepare release jackson-core-2.14.1
   https://github.com/FasterXML/jackson-core/commit/dd0b3b67d790f55e2b5aa0217f9e15af16a1b88c;>dd0b3b6
 Prepare for 2.14.1 release
   https://github.com/FasterXML/jackson-core/commit/ede8519c6cc9b0a5ca9c669a474737e0170eee7b;>ede8519
 Rearrange README a bit
   https://github.com/FasterXML/jackson-core/commit/ccd23d5d8b13d8e5962ffeecad58149c1c451fcf;>ccd23d5
 Add JDK and Android compatibility sections on README
   https://github.com/FasterXML/jackson-core/commit/8108879528bcf44daf5a8b0b835965354f926c83;>8108879
 Correct Android SDK compatibility statement in pom.xml
   https://github.com/FasterXML/jackson-core/commit/af41fe5ebb7ca0ce5e1ebbdf4ea418616631f615;>af41fe5
 Merge branch '2.13' into 2.14
   https://github.com/FasterXML/jackson-core/commit/2faf10bda11d526768edef753acb614bfdd671ae;>2faf10b
 Fix https://github-redirect.dependabot.com/FasterXML/jackson-core/issues/838;>#838:
 Add Android SDK compatibility check with AnimalSniffer (https://github-redirect.dependabot.com/FasterXML/jackson-core/issues/841;>#841)
   https://github.com/FasterXML/jackson-core/commit/c1f5462927d3dd6880e74469d01fd35881b750d2;>c1f5462
 Fix https://github-redirect.dependabot.com/FasterXML/jackson-core/issues/838;>#838:
 Add Android SDK compatibility check with AnimalSniffer (https://github-redirect.dependabot.com/FasterXML/jackson-core/issues/841;>#841)
   https://github.com/FasterXML/jackson-core/commit/a615ffe60b267eca6e9fbca1ea804d024f372121;>a615ffe
 Backport release note update
   https://github.com/FasterXML/jackson-core/commit/006bdab59e06407bc911d14ce9004897c4fba526;>006bdab
 Fix previous commit on wrong branch :)
   Additional commits viewable in https://github.com/FasterXML/jackson-core/compare/jackson-core-2.14.0...jackson-core-2.14.1;>compare
 view
   
   
   
   
   Updates `jackson-databind` from 2.14.0 to 2.14.1
   
   Commits
   
   See full diff in https://github.com/FasterXML/jackson/commits;>compare view
   
   
   
   
   Updates `jackson-dataformat-xml` from 2.14.0 to 2.14.1
   
   Commits
   
   https://github.com/FasterXML/jackson-dataformat-xml/commit/f4ba6215fcce09887af90b68f3219e9eb726a568;>f4ba621
 [maven-release-plugin] prepare release jackson-dataformat-xml-2.14.1
   https://github.com/FasterXML/jackson-dataformat-xml/commit/8536b5ee16c00c466b0b11f05dab66714d6a2fe0;>8536b5e
 Prepare for 2.14.1 release
   https://github.com/FasterXML/jackson-dataformat-xml/commit/54a72b523a133dc3ad186bbadfec4e163d12479f;>54a72b5
 Add passing test for https://github-redirect.dependabot.com/FasterXML/jackson-dataformat-xml/issues/547;>#547
   https://github.com/FasterXML/jackson-dataformat-xml/commit/e29a1dd5950df1429fc1e025fed4d3e64fb98cc6;>e29a1dd
 Test renaming
   https://github.com/FasterXML/jackson-dataformat-xml/commit/077a9d993cdbab122c90a58ab02595d0517085c5;>077a9d9
 Minor test clean up
   https://github.com/FasterXML/jackson-dataformat-xml/commit/dfcef81b03e0c3b7ea901679dadde2ab046bbfe3;>dfcef81
 Add 2.14 javadocs
   https://github.com/FasterXML/jackson-dataformat-xml/commit/3168794ee61ea9739332e1d6d761342dc3fd4d98;>3168794
 [maven-release-plugin] prepare for next development iteration
   See full diff in https://github.com/FasterXML/jackson-dataformat-xml/compare/jackson-dataformat-xml-2.14.0...jackson-dataformat-xml-2.14.1;>compare
 view
   
   
   
   
   Updates `jackson-dataformat-yaml` from 2.14.0 to 2.14.1
   
   Commits
   
   https://github.com/FasterXML/jackson-dataformats-text/commit/003d3db754367434b39880635aab2ec1f54fa573;>003d3db
 [maven-release-plugin] prepare release jackson-dataformats-text-2.14.1
   https://github.com/FasterXML/jackson-dataformats-text/commit/9e67e8f7ac2e305cdd2d0847482ab749c958c358;>9e67e8f
 Prepare for 2.14.1 release
   https://github.com/FasterXML/jackson-dataformats-text/commit/cd5949756354eac04f51abd2bc22fd8e7ad53d2a;>cd59497
 Update release notes wrt https://github-redirect.dependabot.com/FasterXML/jackson-dataformats-text/issues/352;>#352
 (follow-up to https://github-redirect.dependabot.com/FasterXML/jackson-dataformats-text/issues/285;>#285)
   https://github.com/FasterXML/jackson-dataformats-text/commit/53cf2636d16c120afef1043887fefba1310ff0c2;>53cf263
 Allow missing header columns with 
Feature.FAIL_ON_MISSING_HEADER_COLUMNS (#...
   https://github.com/FasterXML/jackson-dataformats-text/commit/9fb60b245d532952ff1e34d227bda54ff53ab4f3;>9fb60b2
 Add main level LICENSE file
   

[GitHub] [plc4x] sruehl merged pull request #660: build(deps): bump equalsverifier from 3.11 to 3.11.1

2022-11-21 Thread GitBox


sruehl merged PR #660:
URL: https://github.com/apache/plc4x/pull/660


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [plc4x] sruehl merged pull request #662: build(deps): bump logback.version from 1.4.4 to 1.4.5

2022-11-21 Thread GitBox


sruehl merged PR #662:
URL: https://github.com/apache/plc4x/pull/662


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [plc4x] sruehl merged pull request #661: build(deps): bump maven-dependency-tree from 3.2.0 to 3.2.1

2022-11-21 Thread GitBox


sruehl merged PR #661:
URL: https://github.com/apache/plc4x/pull/661


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: error Plc4xSubscribe example

2022-11-21 Thread Cesar Garcia
Hello, Willem, a pleasure to greet you,

To help me with the details, Can  you place the code that you are using for
the subscription?.

I will test it with a S7-400 CPU, so I will need the model and firmware
version of your CPU in order to keep track.

Grateful for your support.

El dom, 20 nov 2022 a las 18:37, Willem Remie ()
escribió:

> Hi,
>
> Although HelloPlc4xRead runs fine connected to an S7-300 the subscription
> example fails with following exception
>
> Exception in thread "main" java.lang.ClassCastException: class
> org.apache.plc4x.java.s7.readwrite.tag.S7Tag cannot be cast to class
> org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag
> (org.apache.plc4x.java.s7.readwrite.tag.S7Tag and
> org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag are in unnamed
> module of loader 'app')
>at
> org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.subscribe(S7ProtocolLogic.java:340)
>at
> org.apache.plc4x.java.spi.optimizer.BaseOptimizer.lambda$optimizedSubscribe$4(BaseOptimizer.java:120)
>at
> org.apache.plc4x.java.spi.optimizer.BaseOptimizer.send(BaseOptimizer.java:138)
>at
> org.apache.plc4x.java.spi.optimizer.BaseOptimizer.optimizedSubscribe(BaseOptimizer.java:120)
>at
> org.apache.plc4x.java.spi.connection.AbstractPlcConnection.subscribe(AbstractPlcConnection.java:183)
>at
> org.apache.plc4x.java.spi.messages.DefaultPlcSubscriptionRequest.execute(DefaultPlcSubscriptionRequest.java:65)
>at
> org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.run(HelloPlc4xSubscription.java:63)
>at
> org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.main(HelloPlc4xSubscription.java:98)
>
> I’m having this issue for both develop as 0.10 branch. Just sending this
> for the record, I will try to debug later but if someone has a suggestion
> please let me know.
>
> Regards,
> Willem
>


-- 
*CEOS Automatización, C.A.*
*GALPON SERVICIO INDUSTRIALES Y NAVALES FA, C.A.,*
*PISO 1, OFICINA 2, AV. RAUL LEONI, SECTOR GUAMACHITO,*

*FRENTE A LA ASOCIACION DE GANADEROS,BARCELONA,EDO. ANZOATEGUI*
*Ing. César García*

*Cel: +58 414-760.98.95*

*Hotline Técnica SIEMENS: 0800 1005080*

*Email: support.aan.automat...@siemens.com
*


Re: Rust Contributor - introducing myself

2022-11-21 Thread Turker TUNALI
It's great to have a Wonderware specialist on the board.

With kind regards / Mit freundlichen Grüßen

Türker TUNALI
Logedosoft Business Solutions
M +90 545 788 48 78
[image: Logo] 


On Mon, Nov 21, 2022 at 1:00 PM Christofer Dutz 
wrote:

> Hi Tobias,
>
> and please let me send out a very warm welcome to you from the Apache
> PLC4X project.
>
> I really like that you want to start contributing to this really cool
> project. I think it’s really the missing link between IT and OT and we can
> use any help we can get.
>
> Well, the person on this list, that probably did the most work on PLC4Rs,
> is Julian. However, I do think he’ll be totally open and happy about
> feedback, Pull requests and help on this.
> I do recall him learning Rust while working on PLC4Rs and same as I
> started with PLC4Go as my way to learn go, I doubt you instantly get
> everything right the first time.
>
> I would strongly recommend to continue working on the existing PLC4Rs as I
> think there’s already a lot of moving parts in place there.
>
> Because one thing, that’s super special about PLC4X, is that we generate a
> lot of code.
> So, we define the messages and the parsing and serializing in so-called
> MSPEC files and then have language specific code generated automatically.
> This was usually the most boring and error prone part of writing drivers,
> so we automated it.
> There’s also universal test-cases available to test this generated code
> without having to implement the same tests over and over again for every
> language.
> This makes the initial start for a language a bit more work, but it
> totally pays out in the long run.
>
> We’re also planning on adding more parts of the drivers to be generated in
> all languages, but I guess that will be a topic for 2023, as I’m currently
> consumed with bringing the ADS driver to go and then greatly improving the
> EIP driver in all languages.
>
> I do hope that Julian will we willing to show up again and work on this
> with you … I’ll definitely put in some friendship-pressure to ensure this
> ;-)
>
> And I’ll send you an ivite to Slack right away.
>
> Chris
>
>
>
>
> From: Tobias Tschinkowitz 
> Date: Monday, 21. November 2022 at 10:18
> To: dev@plc4x.apache.org 
> Subject: Rust Contributor - introducing myself
> Dear dev-team,
>
> I just wanted to introduce myself to the team, as I want to contribute to
> the plc4x project in near future.
> Previously I was in contact with Chris which told me that I should share
> my plans with you all here in the mailing-list.
>
> At first, a short resume:
>
> - Apprenticeship as mechatronic in the machine-manufacturing industry
> - 7 Years of working as a service engineer world-wide - mostly working on
> Siemens S5, S7, TIA and Beckhoff TwinCAT 2 and 3
> - beside of the work I graduated as B.Eng. - Computer Engineering
> (Embedded Systems)
> - 3 Years of working as C# Developer - bringing together automation
> systems and reporting-systems (e.g. Wonderware Historian, Siemens S7)
> - 2 Years of working as Software Developer - mostly Siemens S7, Beckhoff
> TwinCAT 3, Wonderware/Aveva software, Rust and Golang.
> - Since 2020 I am working as a freelancer with my own company SCITE
> (software service provider) - mostly using Rust, Golang and various
> automation systems.
>
> TLDR:
>
> - Experienced Software-Developer (Rust/Golang) with a strong foundation in
> the automation industry.
>
> About my plans:
>
> In the first half of 2023 i mainly want to contribute to OSS Projects. As
> I see the high potential in PLC4X, i would really love to support you guys.
> I would focus on the implementation of the plc4rust part where some work
> was already done in the plc4rs branch.
> As I don’t know if the code is obsolete I wanted to ask you where I should
> start from.
>
> So my questions:
>
> 1. Should I use the code that is already present, or just use parts of it
> and start „fresh“?
> 2. Who would be my main contact for the rust part?
> 3. Chris told me about the Apache Slack chan. Maybe I can get an
> invitation for that?
>
> Thanks and best regards,
> Tobias
>
>
>
>
>
>


Re: Rust Contributor - introducing myself

2022-11-21 Thread Christofer Dutz
Hi Tobias,

and please let me send out a very warm welcome to you from the Apache PLC4X 
project.

I really like that you want to start contributing to this really cool project. 
I think it’s really the missing link between IT and OT and we can use any help 
we can get.

Well, the person on this list, that probably did the most work on PLC4Rs, is 
Julian. However, I do think he’ll be totally open and happy about feedback, 
Pull requests and help on this.
I do recall him learning Rust while working on PLC4Rs and same as I started 
with PLC4Go as my way to learn go, I doubt you instantly get everything right 
the first time.

I would strongly recommend to continue working on the existing PLC4Rs as I 
think there’s already a lot of moving parts in place there.

Because one thing, that’s super special about PLC4X, is that we generate a lot 
of code.
So, we define the messages and the parsing and serializing in so-called MSPEC 
files and then have language specific code generated automatically.
This was usually the most boring and error prone part of writing drivers, so we 
automated it.
There’s also universal test-cases available to test this generated code without 
having to implement the same tests over and over again for every language.
This makes the initial start for a language a bit more work, but it totally 
pays out in the long run.

We’re also planning on adding more parts of the drivers to be generated in all 
languages, but I guess that will be a topic for 2023, as I’m currently consumed 
with bringing the ADS driver to go and then greatly improving the EIP driver in 
all languages.

I do hope that Julian will we willing to show up again and work on this with 
you … I’ll definitely put in some friendship-pressure to ensure this ;-)

And I’ll send you an ivite to Slack right away.

Chris




From: Tobias Tschinkowitz 
Date: Monday, 21. November 2022 at 10:18
To: dev@plc4x.apache.org 
Subject: Rust Contributor - introducing myself
Dear dev-team,

I just wanted to introduce myself to the team, as I want to contribute to the 
plc4x project in near future.
Previously I was in contact with Chris which told me that I should share my 
plans with you all here in the mailing-list.

At first, a short resume:

- Apprenticeship as mechatronic in the machine-manufacturing industry
- 7 Years of working as a service engineer world-wide - mostly working on 
Siemens S5, S7, TIA and Beckhoff TwinCAT 2 and 3
- beside of the work I graduated as B.Eng. - Computer Engineering (Embedded 
Systems)
- 3 Years of working as C# Developer - bringing together automation systems and 
reporting-systems (e.g. Wonderware Historian, Siemens S7)
- 2 Years of working as Software Developer - mostly Siemens S7, Beckhoff 
TwinCAT 3, Wonderware/Aveva software, Rust and Golang.
- Since 2020 I am working as a freelancer with my own company SCITE (software 
service provider) - mostly using Rust, Golang and various automation systems.

TLDR:

- Experienced Software-Developer (Rust/Golang) with a strong foundation in the 
automation industry.

About my plans:

In the first half of 2023 i mainly want to contribute to OSS Projects. As I see 
the high potential in PLC4X, i would really love to support you guys.
I would focus on the implementation of the plc4rust part where some work was 
already done in the plc4rs branch.
As I don’t know if the code is obsolete I wanted to ask you where I should 
start from.

So my questions:

1. Should I use the code that is already present, or just use parts of it and 
start „fresh“?
2. Who would be my main contact for the rust part?
3. Chris told me about the Apache Slack chan. Maybe I can get an invitation for 
that?

Thanks and best regards,
Tobias







Rust Contributor - introducing myself

2022-11-21 Thread Tobias Tschinkowitz
Dear dev-team,

I just wanted to introduce myself to the team, as I want to contribute to the 
plc4x project in near future.
Previously I was in contact with Chris which told me that I should share my 
plans with you all here in the mailing-list.

At first, a short resume:

- Apprenticeship as mechatronic in the machine-manufacturing industry
- 7 Years of working as a service engineer world-wide - mostly working on 
Siemens S5, S7, TIA and Beckhoff TwinCAT 2 and 3
- beside of the work I graduated as B.Eng. - Computer Engineering (Embedded 
Systems)
- 3 Years of working as C# Developer - bringing together automation systems and 
reporting-systems (e.g. Wonderware Historian, Siemens S7)
- 2 Years of working as Software Developer - mostly Siemens S7, Beckhoff 
TwinCAT 3, Wonderware/Aveva software, Rust and Golang.
- Since 2020 I am working as a freelancer with my own company SCITE (software 
service provider) - mostly using Rust, Golang and various automation systems.

TLDR:

- Experienced Software-Developer (Rust/Golang) with a strong foundation in the 
automation industry.

About my plans:

In the first half of 2023 i mainly want to contribute to OSS Projects. As I see 
the high potential in PLC4X, i would really love to support you guys.
I would focus on the implementation of the plc4rust part where some work was 
already done in the plc4rs branch. 
As I don’t know if the code is obsolete I wanted to ask you where I should 
start from.

So my questions:

1. Should I use the code that is already present, or just use parts of it and 
start „fresh“?
2. Who would be my main contact for the rust part?
3. Chris told me about the Apache Slack chan. Maybe I can get an invitation for 
that?

Thanks and best regards,
Tobias








Re: error Plc4xSubscribe example

2022-11-21 Thread Christofer Dutz
Hi Willem,

that would be great … and I wanted to say … probably not post that on this 
public list. I can forward that to some more protected Lists and we can hand 
that out to people that are part of the project only.

Chris


From: Willem Remie 
Date: Monday, 21. November 2022 at 09:50
To: dev@plc4x.apache.org 
Subject: RE: error Plc4xSubscribe example
Hi Chris,

I see, nice equipment to play around with though!

However, this makes things easier, I guess. We can just fire up a separate 
PLC4X OpenVPN server directly on our router and route both PLC/HMI. I can share 
the configs with you when finished?

Regards,
Willem

-Original Message-
From: Christofer Dutz 
Sent: Monday, 21 November 2022 09:41
To: dev@plc4x.apache.org
Subject: Re: error Plc4xSubscribe example

I just had a look … it seems that OpenVPN has an offer of a free tier allowing 
3 concurrent connections to their cloud VPN.
Perhaps that would be something worth investigating?
https://openvpn.net/cloud-vpn/pricing/

Chris

From: Christofer Dutz 
Date: Monday, 21. November 2022 at 09:33
To: dev@plc4x.apache.org 
Subject: Re: error Plc4xSubscribe example Hi Willem,

that’s a very generous offer of you … thanks for that.

Unfortunately, I should probably take the VPN documentation offline as this was 
the state when I was still at codecentric.
I do have my own VPN equipment setup here, but all PLCs are now attached to my 
Fischertechnik factory and changes to the PLC programming could have 
mechanically fatal implications. So, I’m not giving out access to the public, 
like I did when there were just a bunch of PLCs hanging on a wall ;-)

The other thing is that the factory is very bright, so I tend to turn it off 
and only turn it on if I’m working on it. Using lightbulbs and photo-resistors 
does have its disadvantages over laser light barriers.

So, I guess we’d probably have to setup something new.


Chris


From: Willem Remie 
Date: Monday, 21. November 2022 at 09:18
To: dev@plc4x.apache.org 
Subject: RE: error Plc4xSubscribe example Hi Chris,

Thanks for the suggestion. Now you bring hardware to the table I would like to 
offer our hardware to the project. I've seen a small VPN network which could be 
extended with the following hardware.
- S7314-C PN/DP
- TP700 Comfort

Currently I do approach these devices over OpenVPN myself as they are mounted 
on our development wall in the office. If desired, we could extend it with a 
site-to-site connection?

Regards,
Willem

-Original Message-
From: Christofer Dutz 
Sent: Monday, 21 November 2022 09:06
To: dev@plc4x.apache.org
Subject: Re: error Plc4xSubscribe example

Hi Willem,

Unfortunately, this is the only part of the S7 driver, I can’t help you with, 
as it requires hardware that I don’t have available.
I am sure Cesar, the author of the Subscription part of S7 will be able to help 
you.

As a first suggestion, I think you can’t just subscribe to changes of any 
normal PLC areas. I do think this is a completely different set of fields with 
a different syntax.

Chris


From: Willem Remie 
Date: Sunday, 20. November 2022 at 23:37
To: dev@plc4x.apache.org 
Subject: error Plc4xSubscribe example
Hi,

Although HelloPlc4xRead runs fine connected to an S7-300 the subscription 
example fails with following exception

Exception in thread "main" java.lang.ClassCastException: class 
org.apache.plc4x.java.s7.readwrite.tag.S7Tag cannot be cast to class 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag 
(org.apache.plc4x.java.s7.readwrite.tag.S7Tag and 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag are in unnamed module 
of loader 'app')
   at 
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.subscribe(S7ProtocolLogic.java:340)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.lambda$optimizedSubscribe$4(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.send(BaseOptimizer.java:138)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.optimizedSubscribe(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.connection.AbstractPlcConnection.subscribe(AbstractPlcConnection.java:183)
   at 
org.apache.plc4x.java.spi.messages.DefaultPlcSubscriptionRequest.execute(DefaultPlcSubscriptionRequest.java:65)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.run(HelloPlc4xSubscription.java:63)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.main(HelloPlc4xSubscription.java:98)

I’m having this issue for both develop as 0.10 branch. Just sending this for 
the record, I will try to debug later but if someone has a suggestion please 
let me know.

Regards,
Willem


RE: error Plc4xSubscribe example

2022-11-21 Thread Willem Remie
Hi Chris,

I see, nice equipment to play around with though!

However, this makes things easier, I guess. We can just fire up a separate 
PLC4X OpenVPN server directly on our router and route both PLC/HMI. I can share 
the configs with you when finished?

Regards,
Willem

-Original Message-
From: Christofer Dutz  
Sent: Monday, 21 November 2022 09:41
To: dev@plc4x.apache.org
Subject: Re: error Plc4xSubscribe example

I just had a look … it seems that OpenVPN has an offer of a free tier allowing 
3 concurrent connections to their cloud VPN.
Perhaps that would be something worth investigating?
https://openvpn.net/cloud-vpn/pricing/

Chris

From: Christofer Dutz 
Date: Monday, 21. November 2022 at 09:33
To: dev@plc4x.apache.org 
Subject: Re: error Plc4xSubscribe example Hi Willem,

that’s a very generous offer of you … thanks for that.

Unfortunately, I should probably take the VPN documentation offline as this was 
the state when I was still at codecentric.
I do have my own VPN equipment setup here, but all PLCs are now attached to my 
Fischertechnik factory and changes to the PLC programming could have 
mechanically fatal implications. So, I’m not giving out access to the public, 
like I did when there were just a bunch of PLCs hanging on a wall ;-)

The other thing is that the factory is very bright, so I tend to turn it off 
and only turn it on if I’m working on it. Using lightbulbs and photo-resistors 
does have its disadvantages over laser light barriers.

So, I guess we’d probably have to setup something new.


Chris


From: Willem Remie 
Date: Monday, 21. November 2022 at 09:18
To: dev@plc4x.apache.org 
Subject: RE: error Plc4xSubscribe example Hi Chris,

Thanks for the suggestion. Now you bring hardware to the table I would like to 
offer our hardware to the project. I've seen a small VPN network which could be 
extended with the following hardware.
- S7314-C PN/DP
- TP700 Comfort

Currently I do approach these devices over OpenVPN myself as they are mounted 
on our development wall in the office. If desired, we could extend it with a 
site-to-site connection?

Regards,
Willem

-Original Message-
From: Christofer Dutz 
Sent: Monday, 21 November 2022 09:06
To: dev@plc4x.apache.org
Subject: Re: error Plc4xSubscribe example

Hi Willem,

Unfortunately, this is the only part of the S7 driver, I can’t help you with, 
as it requires hardware that I don’t have available.
I am sure Cesar, the author of the Subscription part of S7 will be able to help 
you.

As a first suggestion, I think you can’t just subscribe to changes of any 
normal PLC areas. I do think this is a completely different set of fields with 
a different syntax.

Chris


From: Willem Remie 
Date: Sunday, 20. November 2022 at 23:37
To: dev@plc4x.apache.org 
Subject: error Plc4xSubscribe example
Hi,

Although HelloPlc4xRead runs fine connected to an S7-300 the subscription 
example fails with following exception

Exception in thread "main" java.lang.ClassCastException: class 
org.apache.plc4x.java.s7.readwrite.tag.S7Tag cannot be cast to class 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag 
(org.apache.plc4x.java.s7.readwrite.tag.S7Tag and 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag are in unnamed module 
of loader 'app')
   at 
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.subscribe(S7ProtocolLogic.java:340)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.lambda$optimizedSubscribe$4(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.send(BaseOptimizer.java:138)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.optimizedSubscribe(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.connection.AbstractPlcConnection.subscribe(AbstractPlcConnection.java:183)
   at 
org.apache.plc4x.java.spi.messages.DefaultPlcSubscriptionRequest.execute(DefaultPlcSubscriptionRequest.java:65)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.run(HelloPlc4xSubscription.java:63)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.main(HelloPlc4xSubscription.java:98)

I’m having this issue for both develop as 0.10 branch. Just sending this for 
the record, I will try to debug later but if someone has a suggestion please 
let me know.

Regards,
Willem


Re: error Plc4xSubscribe example

2022-11-21 Thread Christofer Dutz
I just had a look … it seems that OpenVPN has an offer of a free tier allowing 
3 concurrent connections to their cloud VPN.
Perhaps that would be something worth investigating?
https://openvpn.net/cloud-vpn/pricing/

Chris

From: Christofer Dutz 
Date: Monday, 21. November 2022 at 09:33
To: dev@plc4x.apache.org 
Subject: Re: error Plc4xSubscribe example
Hi Willem,

that’s a very generous offer of you … thanks for that.

Unfortunately, I should probably take the VPN documentation offline as this was 
the state when I was still at codecentric.
I do have my own VPN equipment setup here, but all PLCs are now attached to my 
Fischertechnik factory and changes to the PLC programming could have 
mechanically fatal implications. So, I’m not giving out access to the public, 
like I did when there were just a bunch of PLCs hanging on a wall ;-)

The other thing is that the factory is very bright, so I tend to turn it off 
and only turn it on if I’m working on it. Using lightbulbs and photo-resistors 
does have its disadvantages over laser light barriers.

So, I guess we’d probably have to setup something new.


Chris


From: Willem Remie 
Date: Monday, 21. November 2022 at 09:18
To: dev@plc4x.apache.org 
Subject: RE: error Plc4xSubscribe example
Hi Chris,

Thanks for the suggestion. Now you bring hardware to the table I would like to 
offer our hardware to the project. I've seen a small VPN network which could be 
extended with the following hardware.
- S7314-C PN/DP
- TP700 Comfort

Currently I do approach these devices over OpenVPN myself as they are mounted 
on our development wall in the office. If desired, we could extend it with a 
site-to-site connection?

Regards,
Willem

-Original Message-
From: Christofer Dutz 
Sent: Monday, 21 November 2022 09:06
To: dev@plc4x.apache.org
Subject: Re: error Plc4xSubscribe example

Hi Willem,

Unfortunately, this is the only part of the S7 driver, I can’t help you with, 
as it requires hardware that I don’t have available.
I am sure Cesar, the author of the Subscription part of S7 will be able to help 
you.

As a first suggestion, I think you can’t just subscribe to changes of any 
normal PLC areas. I do think this is a completely different set of fields with 
a different syntax.

Chris


From: Willem Remie 
Date: Sunday, 20. November 2022 at 23:37
To: dev@plc4x.apache.org 
Subject: error Plc4xSubscribe example
Hi,

Although HelloPlc4xRead runs fine connected to an S7-300 the subscription 
example fails with following exception

Exception in thread "main" java.lang.ClassCastException: class 
org.apache.plc4x.java.s7.readwrite.tag.S7Tag cannot be cast to class 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag 
(org.apache.plc4x.java.s7.readwrite.tag.S7Tag and 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag are in unnamed module 
of loader 'app')
   at 
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.subscribe(S7ProtocolLogic.java:340)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.lambda$optimizedSubscribe$4(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.send(BaseOptimizer.java:138)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.optimizedSubscribe(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.connection.AbstractPlcConnection.subscribe(AbstractPlcConnection.java:183)
   at 
org.apache.plc4x.java.spi.messages.DefaultPlcSubscriptionRequest.execute(DefaultPlcSubscriptionRequest.java:65)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.run(HelloPlc4xSubscription.java:63)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.main(HelloPlc4xSubscription.java:98)

I’m having this issue for both develop as 0.10 branch. Just sending this for 
the record, I will try to debug later but if someone has a suggestion please 
let me know.

Regards,
Willem


Re: error Plc4xSubscribe example

2022-11-21 Thread Christofer Dutz
Hi Willem,

that’s a very generous offer of you … thanks for that.

Unfortunately, I should probably take the VPN documentation offline as this was 
the state when I was still at codecentric.
I do have my own VPN equipment setup here, but all PLCs are now attached to my 
Fischertechnik factory and changes to the PLC programming could have 
mechanically fatal implications. So, I’m not giving out access to the public, 
like I did when there were just a bunch of PLCs hanging on a wall ;-)

The other thing is that the factory is very bright, so I tend to turn it off 
and only turn it on if I’m working on it. Using lightbulbs and photo-resistors 
does have its disadvantages over laser light barriers.

So, I guess we’d probably have to setup something new.


Chris


From: Willem Remie 
Date: Monday, 21. November 2022 at 09:18
To: dev@plc4x.apache.org 
Subject: RE: error Plc4xSubscribe example
Hi Chris,

Thanks for the suggestion. Now you bring hardware to the table I would like to 
offer our hardware to the project. I've seen a small VPN network which could be 
extended with the following hardware.
- S7314-C PN/DP
- TP700 Comfort

Currently I do approach these devices over OpenVPN myself as they are mounted 
on our development wall in the office. If desired, we could extend it with a 
site-to-site connection?

Regards,
Willem

-Original Message-
From: Christofer Dutz 
Sent: Monday, 21 November 2022 09:06
To: dev@plc4x.apache.org
Subject: Re: error Plc4xSubscribe example

Hi Willem,

Unfortunately, this is the only part of the S7 driver, I can’t help you with, 
as it requires hardware that I don’t have available.
I am sure Cesar, the author of the Subscription part of S7 will be able to help 
you.

As a first suggestion, I think you can’t just subscribe to changes of any 
normal PLC areas. I do think this is a completely different set of fields with 
a different syntax.

Chris


From: Willem Remie 
Date: Sunday, 20. November 2022 at 23:37
To: dev@plc4x.apache.org 
Subject: error Plc4xSubscribe example
Hi,

Although HelloPlc4xRead runs fine connected to an S7-300 the subscription 
example fails with following exception

Exception in thread "main" java.lang.ClassCastException: class 
org.apache.plc4x.java.s7.readwrite.tag.S7Tag cannot be cast to class 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag 
(org.apache.plc4x.java.s7.readwrite.tag.S7Tag and 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag are in unnamed module 
of loader 'app')
   at 
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.subscribe(S7ProtocolLogic.java:340)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.lambda$optimizedSubscribe$4(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.send(BaseOptimizer.java:138)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.optimizedSubscribe(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.connection.AbstractPlcConnection.subscribe(AbstractPlcConnection.java:183)
   at 
org.apache.plc4x.java.spi.messages.DefaultPlcSubscriptionRequest.execute(DefaultPlcSubscriptionRequest.java:65)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.run(HelloPlc4xSubscription.java:63)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.main(HelloPlc4xSubscription.java:98)

I’m having this issue for both develop as 0.10 branch. Just sending this for 
the record, I will try to debug later but if someone has a suggestion please 
let me know.

Regards,
Willem


RE: error Plc4xSubscribe example

2022-11-21 Thread Willem Remie
Hi Chris,

Thanks for the suggestion. Now you bring hardware to the table I would like to 
offer our hardware to the project. I've seen a small VPN network which could be 
extended with the following hardware.
- S7314-C PN/DP 
- TP700 Comfort 

Currently I do approach these devices over OpenVPN myself as they are mounted 
on our development wall in the office. If desired, we could extend it with a 
site-to-site connection?

Regards,
Willem

-Original Message-
From: Christofer Dutz  
Sent: Monday, 21 November 2022 09:06
To: dev@plc4x.apache.org
Subject: Re: error Plc4xSubscribe example

Hi Willem,

Unfortunately, this is the only part of the S7 driver, I can’t help you with, 
as it requires hardware that I don’t have available.
I am sure Cesar, the author of the Subscription part of S7 will be able to help 
you.

As a first suggestion, I think you can’t just subscribe to changes of any 
normal PLC areas. I do think this is a completely different set of fields with 
a different syntax.

Chris


From: Willem Remie 
Date: Sunday, 20. November 2022 at 23:37
To: dev@plc4x.apache.org 
Subject: error Plc4xSubscribe example
Hi,

Although HelloPlc4xRead runs fine connected to an S7-300 the subscription 
example fails with following exception

Exception in thread "main" java.lang.ClassCastException: class 
org.apache.plc4x.java.s7.readwrite.tag.S7Tag cannot be cast to class 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag 
(org.apache.plc4x.java.s7.readwrite.tag.S7Tag and 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag are in unnamed module 
of loader 'app')
   at 
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.subscribe(S7ProtocolLogic.java:340)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.lambda$optimizedSubscribe$4(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.send(BaseOptimizer.java:138)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.optimizedSubscribe(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.connection.AbstractPlcConnection.subscribe(AbstractPlcConnection.java:183)
   at 
org.apache.plc4x.java.spi.messages.DefaultPlcSubscriptionRequest.execute(DefaultPlcSubscriptionRequest.java:65)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.run(HelloPlc4xSubscription.java:63)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.main(HelloPlc4xSubscription.java:98)

I’m having this issue for both develop as 0.10 branch. Just sending this for 
the record, I will try to debug later but if someone has a suggestion please 
let me know.

Regards,
Willem


Re: error Plc4xSubscribe example

2022-11-21 Thread Christofer Dutz
Hi Willem,

Unfortunately, this is the only part of the S7 driver, I can’t help you with, 
as it requires hardware that I don’t have available.
I am sure Cesar, the author of the Subscription part of S7 will be able to help 
you.

As a first suggestion, I think you can’t just subscribe to changes of any 
normal PLC areas. I do think this is a completely different set of fields with 
a different syntax.

Chris


From: Willem Remie 
Date: Sunday, 20. November 2022 at 23:37
To: dev@plc4x.apache.org 
Subject: error Plc4xSubscribe example
Hi,

Although HelloPlc4xRead runs fine connected to an S7-300 the subscription 
example fails with following exception

Exception in thread "main" java.lang.ClassCastException: class 
org.apache.plc4x.java.s7.readwrite.tag.S7Tag cannot be cast to class 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag 
(org.apache.plc4x.java.s7.readwrite.tag.S7Tag and 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag are in unnamed module 
of loader 'app')
   at 
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.subscribe(S7ProtocolLogic.java:340)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.lambda$optimizedSubscribe$4(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.send(BaseOptimizer.java:138)
   at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.optimizedSubscribe(BaseOptimizer.java:120)
   at 
org.apache.plc4x.java.spi.connection.AbstractPlcConnection.subscribe(AbstractPlcConnection.java:183)
   at 
org.apache.plc4x.java.spi.messages.DefaultPlcSubscriptionRequest.execute(DefaultPlcSubscriptionRequest.java:65)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.run(HelloPlc4xSubscription.java:63)
   at 
org.apache.plc4x.java.examples.helloplc4x.subscribe.HelloPlc4xSubscription.main(HelloPlc4xSubscription.java:98)

I’m having this issue for both develop as 0.10 branch. Just sending this for 
the record, I will try to debug later but if someone has a suggestion please 
let me know.

Regards,
Willem