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

2023-01-10 Thread Willem Remie
Hi All,

Frankfurt is feasible for me and can arrange my own transportation and 
accommodation.

Cheers,
Willem

-Original Message-
From: Łukasz Dywicki  
Sent: Tuesday, 10 January 2023 16:11
To: dev@plc4x.apache.org
Subject: Re: [DISCUSS] Having a in-person community meetup?

I live in country next to Germany, have direct flight to Frankfurt, so I can 
show up. From my point of view a lot depends on actual dates.
I will arrange travel and accommodation on my own. I would love if TAC would 
have more cash for these who come from far.
Given scope of discussion for now is a weekend, traveling from other half of 
globe should include time to at least heal jet lag!

Best,
Łukasz

On 10.01.2023 14:33, Christofer Dutz wrote:
> Hi Cesar,
> 
> I guess the distance problem would apply to the Chinese people in our 
> community too.
> I guess if I had numbers on:
> - Who would attend and from where if we did such a meetup
> 
> Then I could start the discussion.
> Considering international participants, I think the best option would be to 
> do it in Frankfurt.
> Here codecentric would offer us their offices for working over the weekend 
> and there are not too expensive hotels around.
> Also are flights to Frankfurt probably better than ones to Stuttgart, I think?
> 
> As I could simply put things in a rental-car/van. I could probably bring all 
> my equipment with me: Demo Factory, Profinet Stuff, Logo Robot, different 
> PLCs from different vendors.
> 
> So please speak up … who would be interested to come? And who would need 
> assistance and if yes: from where you would be coming.
> 
> 
> Chris
> 
> From: Cesar Garcia 
> Date: Tuesday, 10. January 2023 at 14:22
> To: dev@plc4x.apache.org 
> Subject: Re: [DISCUSS] Having a in-person community meetup?
> How are they?
> 
> I am interested in participating, but if possible I would opt for the 
> support regarding the transfer/accommodation.
> 
> I'm a bit far from Europe.
> 
> My points of interest for discussion:
> 
> 1. Profinet Driver (we need the hardware).
> 2.S7 Driver
> 3. PLC4X APP (NetBeans platform)
> 
> The date is important and in what city would the meeting be?
> 
> Best regards,
> 
> El mar, 10 ene 2023 a las 6:25, Christofer Dutz 
> ()
> escribió:
> 
>> Good point … the one we should be deleting because of its GPL2 
>> dependency :-(
>>
>> From: Dominik Riemer 
>> Date: Tuesday, 10. January 2023 at 10:30
>> To: dev@plc4x.apache.org 
>> Subject: RE: [DISCUSS] Having a in-person community meetup?
>> Hi,
>>
>> great idea, I would also try to join the meetup and maybe we can also 
>> do some hacking on the PLC4X UI 😉
>>
>> Cheers
>> Dominik
>>
>>
>> -Original Message-
>> From: Christofer Dutz 
>> Sent: Monday, January 9, 2023 10:05 AM
>> To: dev@plc4x.apache.org
>> Subject: Re: [DISCUSS] Having a in-person community meetup?
>>
>> Well … I was thinking of asking TAC and setting something up.
>> As I mentioned. That would be quite a bit of work for me and the rest 
>> of the TAC folks.
>> So we’d only do it if offering this, would make a great difference.
>>
>> Chris
>>
>>
>> From: Xiangdong Huang 
>> Date: Monday, 9. January 2023 at 08:51
>> To: dev@plc4x.apache.org 
>> Subject: Re: [DISCUSS] Having a in-person community meetup?
>> Ah... if there is TAC support, I will forward this message to IoTDB 
>> community to see if there are committers want to join for the 
>> Historian development face to face.
>>
>> ---
>> Xiangdong Huang
>> School of Software, Tsinghua University
>>
>> Christofer Dutz  于2023年1月5日周四 18:59写道:
>>>
>>> Hi Jinlin,
>>>
>>> Would you be willing and able to attend such an event?
>>> You would be more than welcome.
>>>
>>> As I’m also part of the Apache Travel Assistance committee … I’d 
>>> also
>> like to ask any others here too:
>>> Would you like to attend such an event, but the costs of travelling 
>>> are
>> what you can’t afford or would have a too big impact on your budget 
>> to be willing to come?
>>>
>>> Because there theoretically is the option of having Apache cover the
>> costs for travelling and accommodation. However, this would put quite 
>> a lot of extra work for us for setting it up and running it.
>>> So, if it’s only 1-2 people, this probably doesn’t make much sense, 
>>> but
>> if there were more, it might make sense.
>>>
>>> And please … don’t say: “I can’t afford it and would like 
>>> assistance”, if the problem is that the fuel has become too 
>>> expensive for your Ferrari or the parking costs for your private jet 
>>> are skyrocketing ;-)
>>>
>>> And if you don’t want to publicly answer … feel free to DM me.
>>>
>>> Chris
>>>
>>>
>>> From: jl hong 
>>> Date: Thursday, 5. January 2023 at 02:16
>>> To: dev@plc4x.apache.org 
>>> Subject: Re: [DISCUSS] Having a in-person community meetup?
>>> This sounds exciting :)
>>>
>>> Jinlin
>>>
>>> Lukas Ott  於 2023年1月5日 週四 上午12:11寫道:
>>>
 cool :-) would be fun so that I can finally ask all my questions in 
 person

RE: Going to give the eclipse java compiler a try ...

2022-12-02 Thread Willem Remie
Not sure if related but getting following errors due to some license file.

Failed to init Classpath for jar file 
C:\Users\WillemRemie\.m2\wrapper\dists\apache-maven-3.6.3-bin\1iopthnavndlasol9gbrbg6bf2\apache-maven-3.6.3\boot\plexus-classworlds.license
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1469)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1477)
at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1315)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1277)
at 
java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:709)
at java.base/java.util.zip.ZipFile.(ZipFile.java:243)
at java.base/java.util.zip.ZipFile.(ZipFile.java:172)
at java.base/java.util.zip.ZipFile.(ZipFile.java:186)
at 
org.eclipse.jdt.internal.compiler.batch.ClasspathJar.initialize(ClasspathJar.java:204)
at 
org.eclipse.jdt.internal.compiler.batch.ClasspathMultiReleaseJar.initialize(ClasspathMultiReleaseJar.java:38)
at 
org.eclipse.jdt.internal.compiler.batch.FileSystem.(FileSystem.java:235)
at 
org.eclipse.jdt.internal.compiler.batch.Main.getLibraryAccess(Main.java:3495)
at 
org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:4741)
at 
org.eclipse.jdt.internal.compiler.tool.EclipseCompilerImpl.call(EclipseCompilerImpl.java:101)
at 
org.eclipse.jdt.internal.compiler.tool.EclipseCompiler$1.call(EclipseCompiler.java:196)
at 
org.codehaus.plexus.compiler.eclipse.EclipseJavaCompiler.performCompile(EclipseJavaCompiler.java:351)
at 
org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1209)
at 
org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:198)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)

-Original Message-
From: Christofer Dutz  
Sent: Wednesday, 30 November 2022 10:49
To: dev@plc4x.apache.org
Subject: Going to give the eclipse java compiler a try ...

Hi all,

for the last weeks we have seen the Jenkins build get more and more flaky. We 
keep on getting stack-overflow errors when compiling the java version of the 
BacNET driver.
I’m going to test if switching to the eclipse compiler helps resolve this 
issue. Please tell me if this causes any problems for you.

Chris



RE: error Plc4xSubscribe example

2022-11-22 Thread Willem Remie
Hi Cesar,

Thanks for your response and willingness to help. 

I'm using the example provided `HelloPlc4xSubscription --connection-string 
s7://10.15.72.50 --tag-addresses %DB1:0:WORD`

Currently the following setup is installed at our office;
- CPU 314C-2 PN/DP  (10.15.72.50)
- CP 343-1 Lean (10.15.72.51)
- TP700 Comfort (10.15.72.52)

We are working to setup VPN such that we can grant you access. I will send the 
configuration separately once finished. Chris could you please add me to the 
Slack channel as well?

Regards,
Willem

-Original Message-
From: Cesar Garcia  
Sent: Monday, 21 November 2022 14:45
To: dev@plc4x.apache.org
Subject: Re: error Plc4xSubscribe example

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.HelloPlc4xSubscrip
> tion.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: 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 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


error Plc4xSubscribe example

2022-11-20 Thread Willem Remie
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: IntelliJ project build fails

2022-11-20 Thread Willem Remie
Thanks, that solved the  problem...

-Original Message-
From: Christofer Dutz  
Sent: Sunday, 20 November 2022 15:56
To: dev@plc4x.apache.org
Subject: Re: IntelliJ project build fails

Have you clicked on the “Reload” icon in the Maven tab after building?
Sometimes IntelliJ needs to detect the generated code directories.

Chris

From: Willem Remie 
Date: Sunday, 20. November 2022 at 10:35
To: dev@plc4x.apache.org 
Subject: RE: IntelliJ project build fails Some packages seem to have problems 
with resolving symbols even with build succeeding. For instance, the generic 
types in most drivers such as OpcuaAPU (OpcuaPlcDriver), Ethernet_Frame 
(ProfinetDriver), or TPKTPacket (S7Driver).

Willem

-Original Message-
From: Christofer Dutz 
Sent: Sunday, 20 November 2022 09:18
To: dev@plc4x.apache.org
Subject: Re: IntelliJ project build fails

Which symbols is it missing?

Holen Sie sich Outlook für Android<https://aka.ms/AAb9ysg> 

From: Willem Remie 
Sent: Sunday, November 20, 2022 12:43:40 AM
To: dev@plc4x.apache.org 
Subject: RE: IntelliJ project build fails

Hi Chris,

Well, I've built the project using maven, both with package and install, and 
still IntelliJ fails to resolve the symbols. Seems like a mismatch between 
Maven and IntelliJ somehow. I've installed latest IntelliJ IDEA 2022.2.3.

Willem

-Original Message-
From: Christofer Dutz 
Date: Saturday, 19. November 2022 at 16:37
To: dev@plc4x.apache.org 
Subject: IntelliJ project build fails
Hi all,

I’m wondering if someone could help me out properly setting up IntelliJ IDEA 
for this project. For some reason the build fails and the IDE is unable to 
resolve symbols. However, the maven commands run perfectly fine.

Does this sound familiar to anyone using the same IDE?

Regards,
Willem


RE: IntelliJ project build fails

2022-11-20 Thread Willem Remie
Therefore, the HelloPlc4xSubscription example doesn’t run as well because some 
symbols are not present in target. These symbols should be the output of code 
generation right?

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')

-Original Message-
From: Willem Remie  
Sent: Sunday, 20 November 2022 10:35
To: dev@plc4x.apache.org
Subject: RE: IntelliJ project build fails

Some packages seem to have problems with resolving symbols even with build 
succeeding. For instance, the generic types in most drivers such as OpcuaAPU 
(OpcuaPlcDriver), Ethernet_Frame (ProfinetDriver), or TPKTPacket (S7Driver).

Willem

-Original Message-
From: Christofer Dutz  
Sent: Sunday, 20 November 2022 09:18
To: dev@plc4x.apache.org
Subject: Re: IntelliJ project build fails

Which symbols is it missing?

Holen Sie sich Outlook für Android<https://aka.ms/AAb9ysg> 
________
From: Willem Remie 
Sent: Sunday, November 20, 2022 12:43:40 AM
To: dev@plc4x.apache.org 
Subject: RE: IntelliJ project build fails

Hi Chris,

Well, I've built the project using maven, both with package and install, and 
still IntelliJ fails to resolve the symbols. Seems like a mismatch between 
Maven and IntelliJ somehow. I've installed latest IntelliJ IDEA 2022.2.3.

Willem

-Original Message-
From: Christofer Dutz 
Date: Saturday, 19. November 2022 at 16:37
To: dev@plc4x.apache.org 
Subject: IntelliJ project build fails
Hi all,

I’m wondering if someone could help me out properly setting up IntelliJ IDEA 
for this project. For some reason the build fails and the IDE is unable to 
resolve symbols. However, the maven commands run perfectly fine.

Does this sound familiar to anyone using the same IDE?

Regards,
Willem


RE: IntelliJ project build fails

2022-11-20 Thread Willem Remie
Some packages seem to have problems with resolving symbols even with build 
succeeding. For instance, the generic types in most drivers such as OpcuaAPU 
(OpcuaPlcDriver), Ethernet_Frame (ProfinetDriver), or TPKTPacket (S7Driver).

Willem

-Original Message-
From: Christofer Dutz  
Sent: Sunday, 20 November 2022 09:18
To: dev@plc4x.apache.org
Subject: Re: IntelliJ project build fails

Which symbols is it missing?

Holen Sie sich Outlook für Android<https://aka.ms/AAb9ysg> 

From: Willem Remie 
Sent: Sunday, November 20, 2022 12:43:40 AM
To: dev@plc4x.apache.org 
Subject: RE: IntelliJ project build fails

Hi Chris,

Well, I've built the project using maven, both with package and install, and 
still IntelliJ fails to resolve the symbols. Seems like a mismatch between 
Maven and IntelliJ somehow. I've installed latest IntelliJ IDEA 2022.2.3.

Willem

-Original Message-
From: Christofer Dutz 
Date: Saturday, 19. November 2022 at 16:37
To: dev@plc4x.apache.org 
Subject: IntelliJ project build fails
Hi all,

I’m wondering if someone could help me out properly setting up IntelliJ IDEA 
for this project. For some reason the build fails and the IDE is unable to 
resolve symbols. However, the maven commands run perfectly fine.

Does this sound familiar to anyone using the same IDE?

Regards,
Willem


RE: IntelliJ project build fails

2022-11-19 Thread Willem Remie
Hi Chris,

Well, I've built the project using maven, both with package and install, and 
still IntelliJ fails to resolve the symbols. Seems like a mismatch between 
Maven and IntelliJ somehow. I've installed latest IntelliJ IDEA 2022.2.3. 

Willem

-Original Message-
From: Christofer Dutz 
Date: Saturday, 19. November 2022 at 16:37
To: dev@plc4x.apache.org 
Subject: IntelliJ project build fails
Hi all,

I’m wondering if someone could help me out properly setting up IntelliJ IDEA 
for this project. For some reason the build fails and the IDE is unable to 
resolve symbols. However, the maven commands run perfectly fine.

Does this sound familiar to anyone using the same IDE?

Regards,
Willem


IntelliJ project build fails

2022-11-19 Thread Willem Remie
Hi all,

I’m wondering if someone could help me out properly setting up IntelliJ IDEA 
for this project. For some reason the build fails and the IDE is unable to 
resolve symbols. However, the maven commands run perfectly fine.

Does this sound familiar to anyone using the same IDE?

Regards,
Willem


[PLC4GO] S7: reading WORD array

2022-11-11 Thread Willem Remie
Hi all,

First of all, thank you so much for all the effort which went into the project 
so far. It is a very promising project to break open the industrial arena for a 
lot of use-cases.

I’ve used the hello_world_plc4go_read.go example as a template to communicate 
with an S7-314-2 PN/DP controller. Reading a single WORD tag works perfectly 
fine using following "%DB1:0:WORD" string. However, when trying to read an 
array of WORDS using the length parameter "%DB1:0:WORD[8]" it always returns 
the first WORD.

As I’m new to the project I’m not sure if reading an array requires a different 
ReadRequest or it should work with minimal adjustments of the example. I’m in 
doubt because I see some issues on gitlab/jira with problems reading/writing 
(large) arrays.

Regards,
Willem Remie