You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by Mihai Demian <mi...@easyea.ro> on 2022/11/05 10:45:07 UTC

Configuring and using plc4x

Hello,
My name is Mihai Demian, I am from Romania and I own an automation firm (with no 
activity yet, unfortunately).
Looking for ways to make a plc communicate with a pc, I came across plc4x. 
I have an old laptop at home, running as a small home server (the best I could, I am very 
new to Linux world), and I downloaded and installed (with ./mvnw install). It took me a 
while, the distribution had some bugs in it with missing licences in header (<!-- #licence --
>) and then some wrong references, but I cannot remember the files. I managed to correct 
the issues and install it.
I also have 2 plcs Siemens S7-1200 connected on the same network as the server.  From 
my understanding of OPC Server, the server takes care about the communication with the 
plc and the client (user's computer) connects to the server and reads and writes data 
from/to the plc. At my current employer, OPC Server and a custom app developed in-house 
is the default way of doing things.
Can you help me figuring out how to make them "talk" to each other? I want to be able to 
offer this option to companies.

Thank you very much.
-- 
Cu stima, / Best regards,
Mihai Demian
Administrator & PLC Programmer
Easy Engineering and Automation SRL[1]

--------
[1] https://easyea.ro

Re: Configuring and using plc4x

Posted by Lukas Ott <ot...@gmail.com>.
Hello Mihai,

First of all welcome to the mailing list. :-)

I hope that you managed to subscribe.

Did you have a look here:
https://plc4x.apache.org/users/blogs-videos-and-slides.html ?
https://youtu.be/SNFKqrLMIZI this hands on should give you a good starting
point on how to get started with our Java Driver talking to S7.

If you have further questions. Please let us know.

The best way is to also have some code running. So that you can show us
where you got stuck.

Helps us improve documentation and hopefully help you further. :-)

Kind regards
otluk

Am Sa., 5. Nov. 2022 um 12:15 Uhr schrieb Mihai Demian <
mihai.demian@easyea.ro>:

> Hello,
> My name is Mihai Demian, I am from Romania and I own an automation firm
> (with no
> activity yet, unfortunately).
> Looking for ways to make a plc communicate with a pc, I came across plc4x.
> I have an old laptop at home, running as a small home server (the best I
> could, I am very
> new to Linux world), and I downloaded and installed (with ./mvnw install).
> It took me a
> while, the distribution had some bugs in it with missing licences in
> header (<!-- #licence --
> >) and then some wrong references, but I cannot remember the files. I
> managed to correct
> the issues and install it.
> I also have 2 plcs Siemens S7-1200 connected on the same network as the
> server.  From
> my understanding of OPC Server, the server takes care about the
> communication with the
> plc and the client (user's computer) connects to the server and reads and
> writes data
> from/to the plc. At my current employer, OPC Server and a custom app
> developed in-house
> is the default way of doing things.
> Can you help me figuring out how to make them "talk" to each other? I want
> to be able to
> offer this option to companies.
>
> Thank you very much.
> --
> Cu stima, / Best regards,
> Mihai Demian
> Administrator & PLC Programmer
> Easy Engineering and Automation SRL[1]
>
> --------
> [1] https://easyea.ro
>