Re: Exploring Plc4x

2020-05-26 Thread venki hadoop
Thanks Cesar, will do the same. Not sure some one already tested Modbus
driver to retrieve holding register data, if some one did plz let us know
about this issue.Regards,


On Wednesday, May 27, 2020, Cesar Garcia  wrote:

> Ok,
>
> For tomorrow I will take the time to test the new version and I will take a
> step by step.
>
> Best regards,
>
> El mar., 26 may. 2020 a las 23:42, venki hadoop ()
> escribió:
>
> > Sure Cesar,
> > was unable to attach my program due to size
> > restrictions. But 1st am testing to retrieve holding resgister variable
> > locally, then will in corporate into my logstash plugin I already
> > implemented for OPC ua server signal simulator. Please find imp code:
> > Builder.addItem("value","registerholder:34").
> > Plcreadrequest req= builder.build().
> >   plcreadresponse res=req.execute().get().
> >  Val=res.getObject("value").
> >  It's throwing me timeout exception while executing execute().get()
> method.
> > On Wednesday, May 27, 2020, Cesar Garcia 
> wrote:
> >
> > > Hello,
> > >
> > > I'm glad it worked.
> > >
> > > Sure if you put your example code, we can help you test it.
> > >
> > > Best regards,
> > >
> > >
> > > El mar., 26 may. 2020 a las 22:53, venki hadoop (<
> hadoopons...@gmail.com
> > >)
> > > escribió:
> > >
> > > > Hello Cesar,.
> > > >Was able to configure device and signal function
> > based
> > > > on above instructions.
> > > >  But am unable to retrieve value, am assuming due to version issue,
> > today
> > > > will update to 0.7.0 and test then will update you.
> > > > Regards,
> > > > On Tuesday, May 26, 2020, Cesar Garcia 
> > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > Please, you can use "karaf.bat" for startup.
> > > > >
> > > > > This way the console start.
> > > > >
> > > > > __  __ _   _
> > > > > |  \/  |   ___   _ __  | |   ___   | |_
> > > > > | |\/| |  / _ \ | '__| | |  / _ \  | __|
> > > > > | |  | | |  __/ | || | | (_) | | |_
> > > > > |_|  |_|  \___| |_||_|  \___/   \__|
> > > > >
> > > > > Merlot Industrial Gateway (0.0.1-SNAPSHOT)
> > > > >
> > > > > Hit '' for a list of available commands
> > > > > and '[cmd] --help' for help on a specific command.
> > > > > Hit '' or type 'system:shutdown' or 'logout' to shutdown
> > > Merlot.
> > > > >
> > > > > karaf@root()>
> > > > >
> > > > >
> > > > > Karaf documentation can be found at https://karaf.apache.org
> > > > >
> > > > > If the console starts, the Modbus server is already active, so
> Modbus
> > > > > devices must be created.
> > > > >
> > > > > At the command line type
> > > > >
> > > > > karaf@root>modbus:new --help
> > > > > karaf@root> modbus:new 10 test desc 1000 1000 1000 1000
> > > > >
> > > > > Then check the configuration file for the simulation of the records
> > as
> > > I
> > > > > pointed out in the previous email.
> > > > >
> > > > > You must verify if the instance is active, since the option
> > "start.bat"
> > > > > starts as a service, which you must kill to avoid a problem with
> the
> > > > ports.
> > > > >
> > > > > Take a look at the concept here https://github.com/glcj/
> Merlot/wiki,
> > I
> > > > > will
> > > > > work on the documentation shortly.
> > > > >
> > > > > For tomorrow if you are online, we can use Google meet or other
> tools
> > > if
> > > > > you follow the problems.
> > > > >
> > > > > Best regards,
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > El mar., 26 may. 2020 a las 0:06, venki hadoop (<
> > > hadoopons...@gmail.com
> > > > >)
> > > > > escribió:
> > > > >
> > > > > > Hello Cesar,.
> > > > > >  Can you please provide me some information
> > regarding
> > > > how
> > > > > > to start device, it's bit confusing.
> > > >  I
> > > > > > made necessary config changes in windows, then started using
> > > start.bat
> > > > > file
> > > > > > from command line prompt. But nothing is happening. Please let me
> > > know
> > > > > what
> > > > > > am doing is correct?
> > > > > >Thanks,
> > > > > >
> > > > > > On Tuesday, May 26, 2020, venki hadoop 
> > > wrote:
> > > > > >
> > > > > > > Thanks Cesar, will test today, update status here.
> > > > > > >
> > > > > > > On Tuesday, May 26, 2020, Cesar Garcia <
> cesar.gar...@ceos.com.ve
> > >
> > > > > wrote:
> > > > > > >
> > > > > > >> Hi Venki,
> > > > > > >>
> > > > > > >> Sorry for the delay, the internet connection was spectacular,
> > the
> > > > ADSL
> > > > > > >> very
> > > > > > >> slow to download and very very & very slow to upload.
> > > > > > >>
> > > > > > >> Attach you will find the download links for the application,
> the
> > > > > version
> > > > > > >> .zip (Windows) and .tar.gz (Linux)...
> > > > > > >>
> > > > > > >>
> > > > > > https://mega.nz/file/nhVgxAQZ#M11oLJc-N5qDnbeF_
> > > > > AhhsQk5ow9B3rPsIT2bt1ZORLc
> > > > > > >>
> > > > > > https://mega.nz/file/zocg0CyT#Pk5E9nRdM-
> xdGNDSjAY9hl27pUpWgPDjdsO_
> > > > > apCE6WQ
> > > > > > >>
> > > > > > >> 

Re: Exploring Plc4x

2020-05-26 Thread Cesar Garcia
Ok,

For tomorrow I will take the time to test the new version and I will take a
step by step.

Best regards,

El mar., 26 may. 2020 a las 23:42, venki hadoop ()
escribió:

> Sure Cesar,
> was unable to attach my program due to size
> restrictions. But 1st am testing to retrieve holding resgister variable
> locally, then will in corporate into my logstash plugin I already
> implemented for OPC ua server signal simulator. Please find imp code:
> Builder.addItem("value","registerholder:34").
> Plcreadrequest req= builder.build().
>   plcreadresponse res=req.execute().get().
>  Val=res.getObject("value").
>  It's throwing me timeout exception while executing execute().get() method.
> On Wednesday, May 27, 2020, Cesar Garcia  wrote:
>
> > Hello,
> >
> > I'm glad it worked.
> >
> > Sure if you put your example code, we can help you test it.
> >
> > Best regards,
> >
> >
> > El mar., 26 may. 2020 a las 22:53, venki hadoop ( >)
> > escribió:
> >
> > > Hello Cesar,.
> > >Was able to configure device and signal function
> based
> > > on above instructions.
> > >  But am unable to retrieve value, am assuming due to version issue,
> today
> > > will update to 0.7.0 and test then will update you.
> > > Regards,
> > > On Tuesday, May 26, 2020, Cesar Garcia 
> wrote:
> > >
> > > > Hi,
> > > >
> > > > Please, you can use "karaf.bat" for startup.
> > > >
> > > > This way the console start.
> > > >
> > > > __  __ _   _
> > > > |  \/  |   ___   _ __  | |   ___   | |_
> > > > | |\/| |  / _ \ | '__| | |  / _ \  | __|
> > > > | |  | | |  __/ | || | | (_) | | |_
> > > > |_|  |_|  \___| |_||_|  \___/   \__|
> > > >
> > > > Merlot Industrial Gateway (0.0.1-SNAPSHOT)
> > > >
> > > > Hit '' for a list of available commands
> > > > and '[cmd] --help' for help on a specific command.
> > > > Hit '' or type 'system:shutdown' or 'logout' to shutdown
> > Merlot.
> > > >
> > > > karaf@root()>
> > > >
> > > >
> > > > Karaf documentation can be found at https://karaf.apache.org
> > > >
> > > > If the console starts, the Modbus server is already active, so Modbus
> > > > devices must be created.
> > > >
> > > > At the command line type
> > > >
> > > > karaf@root>modbus:new --help
> > > > karaf@root> modbus:new 10 test desc 1000 1000 1000 1000
> > > >
> > > > Then check the configuration file for the simulation of the records
> as
> > I
> > > > pointed out in the previous email.
> > > >
> > > > You must verify if the instance is active, since the option
> "start.bat"
> > > > starts as a service, which you must kill to avoid a problem with the
> > > ports.
> > > >
> > > > Take a look at the concept here https://github.com/glcj/Merlot/wiki,
> I
> > > > will
> > > > work on the documentation shortly.
> > > >
> > > > For tomorrow if you are online, we can use Google meet or other tools
> > if
> > > > you follow the problems.
> > > >
> > > > Best regards,
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > El mar., 26 may. 2020 a las 0:06, venki hadoop (<
> > hadoopons...@gmail.com
> > > >)
> > > > escribió:
> > > >
> > > > > Hello Cesar,.
> > > > >  Can you please provide me some information
> regarding
> > > how
> > > > > to start device, it's bit confusing.
> > >  I
> > > > > made necessary config changes in windows, then started using
> > start.bat
> > > > file
> > > > > from command line prompt. But nothing is happening. Please let me
> > know
> > > > what
> > > > > am doing is correct?
> > > > >Thanks,
> > > > >
> > > > > On Tuesday, May 26, 2020, venki hadoop 
> > wrote:
> > > > >
> > > > > > Thanks Cesar, will test today, update status here.
> > > > > >
> > > > > > On Tuesday, May 26, 2020, Cesar Garcia  >
> > > > wrote:
> > > > > >
> > > > > >> Hi Venki,
> > > > > >>
> > > > > >> Sorry for the delay, the internet connection was spectacular,
> the
> > > ADSL
> > > > > >> very
> > > > > >> slow to download and very very & very slow to upload.
> > > > > >>
> > > > > >> Attach you will find the download links for the application, the
> > > > version
> > > > > >> .zip (Windows) and .tar.gz (Linux)...
> > > > > >>
> > > > > >>
> > > > > https://mega.nz/file/nhVgxAQZ#M11oLJc-N5qDnbeF_
> > > > AhhsQk5ow9B3rPsIT2bt1ZORLc
> > > > > >>
> > > > > https://mega.nz/file/zocg0CyT#Pk5E9nRdM-xdGNDSjAY9hl27pUpWgPDjdsO_
> > > > apCE6WQ
> > > > > >>
> > > > > >> 1.  You can add a Modbus device through the command line or
> > > > permanently
> > > > > in
> > > > > >> the configuration file *com.ceos.merlot.modbus.dev.cfg*. You
> can
> > > > > specify
> > > > > >> the number of elements you require (Coils, Input registers,
> etc.).
> > > > > >> 2. After creating the Modbus device, you can add the simulation
> > > > > services,
> > > > > >> you have three:
> > > > > >> Random: Which simulates bits and scalars in a given range of
> > > > registers.
> > > > > >> Function: Perform simple math operations
> > > > > >> Signal: Generates continuous functions (Sinus, 

[GitHub] [plc4x] ottobackwards opened a new pull request #160: have rat ignore .java-version files from jenv since we need java kung…

2020-05-26 Thread GitBox


ottobackwards opened a new pull request #160:
URL: https://github.com/apache/plc4x/pull/160


   … fu between all supported versions



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.

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




[GitHub] [plc4x] chrisdutz merged pull request #159: [SITE] Add Logo Column. Add pragmatic minds and pragmatic industries …

2020-05-26 Thread GitBox


chrisdutz merged pull request #159:
URL: https://github.com/apache/plc4x/pull/159


   



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.

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




Re: [DISCUSS] Users page

2020-05-26 Thread Justin Mclean
Hi,

Looks fine to me.

Thanks,
Justin


Re: Exploring Plc4x

2020-05-26 Thread venki hadoop
Sure Cesar,
was unable to attach my program due to size
restrictions. But 1st am testing to retrieve holding resgister variable
locally, then will in corporate into my logstash plugin I already
implemented for OPC ua server signal simulator. Please find imp code:
Builder.addItem("value","registerholder:34").
Plcreadrequest req= builder.build().
  plcreadresponse res=req.execute().get().
 Val=res.getObject("value").
 It's throwing me timeout exception while executing execute().get() method.
On Wednesday, May 27, 2020, Cesar Garcia  wrote:

> Hello,
>
> I'm glad it worked.
>
> Sure if you put your example code, we can help you test it.
>
> Best regards,
>
>
> El mar., 26 may. 2020 a las 22:53, venki hadoop ()
> escribió:
>
> > Hello Cesar,.
> >Was able to configure device and signal function based
> > on above instructions.
> >  But am unable to retrieve value, am assuming due to version issue, today
> > will update to 0.7.0 and test then will update you.
> > Regards,
> > On Tuesday, May 26, 2020, Cesar Garcia  wrote:
> >
> > > Hi,
> > >
> > > Please, you can use "karaf.bat" for startup.
> > >
> > > This way the console start.
> > >
> > > __  __ _   _
> > > |  \/  |   ___   _ __  | |   ___   | |_
> > > | |\/| |  / _ \ | '__| | |  / _ \  | __|
> > > | |  | | |  __/ | || | | (_) | | |_
> > > |_|  |_|  \___| |_||_|  \___/   \__|
> > >
> > > Merlot Industrial Gateway (0.0.1-SNAPSHOT)
> > >
> > > Hit '' for a list of available commands
> > > and '[cmd] --help' for help on a specific command.
> > > Hit '' or type 'system:shutdown' or 'logout' to shutdown
> Merlot.
> > >
> > > karaf@root()>
> > >
> > >
> > > Karaf documentation can be found at https://karaf.apache.org
> > >
> > > If the console starts, the Modbus server is already active, so Modbus
> > > devices must be created.
> > >
> > > At the command line type
> > >
> > > karaf@root>modbus:new --help
> > > karaf@root> modbus:new 10 test desc 1000 1000 1000 1000
> > >
> > > Then check the configuration file for the simulation of the records as
> I
> > > pointed out in the previous email.
> > >
> > > You must verify if the instance is active, since the option "start.bat"
> > > starts as a service, which you must kill to avoid a problem with the
> > ports.
> > >
> > > Take a look at the concept here https://github.com/glcj/Merlot/wiki, I
> > > will
> > > work on the documentation shortly.
> > >
> > > For tomorrow if you are online, we can use Google meet or other tools
> if
> > > you follow the problems.
> > >
> > > Best regards,
> > >
> > >
> > >
> > >
> > >
> > > El mar., 26 may. 2020 a las 0:06, venki hadoop (<
> hadoopons...@gmail.com
> > >)
> > > escribió:
> > >
> > > > Hello Cesar,.
> > > >  Can you please provide me some information regarding
> > how
> > > > to start device, it's bit confusing.
> >  I
> > > > made necessary config changes in windows, then started using
> start.bat
> > > file
> > > > from command line prompt. But nothing is happening. Please let me
> know
> > > what
> > > > am doing is correct?
> > > >Thanks,
> > > >
> > > > On Tuesday, May 26, 2020, venki hadoop 
> wrote:
> > > >
> > > > > Thanks Cesar, will test today, update status here.
> > > > >
> > > > > On Tuesday, May 26, 2020, Cesar Garcia 
> > > wrote:
> > > > >
> > > > >> Hi Venki,
> > > > >>
> > > > >> Sorry for the delay, the internet connection was spectacular, the
> > ADSL
> > > > >> very
> > > > >> slow to download and very very & very slow to upload.
> > > > >>
> > > > >> Attach you will find the download links for the application, the
> > > version
> > > > >> .zip (Windows) and .tar.gz (Linux)...
> > > > >>
> > > > >>
> > > > https://mega.nz/file/nhVgxAQZ#M11oLJc-N5qDnbeF_
> > > AhhsQk5ow9B3rPsIT2bt1ZORLc
> > > > >>
> > > > https://mega.nz/file/zocg0CyT#Pk5E9nRdM-xdGNDSjAY9hl27pUpWgPDjdsO_
> > > apCE6WQ
> > > > >>
> > > > >> 1.  You can add a Modbus device through the command line or
> > > permanently
> > > > in
> > > > >> the configuration file *com.ceos.merlot.modbus.dev.cfg*. You can
> > > > specify
> > > > >> the number of elements you require (Coils, Input registers, etc.).
> > > > >> 2. After creating the Modbus device, you can add the simulation
> > > > services,
> > > > >> you have three:
> > > > >> Random: Which simulates bits and scalars in a given range of
> > > registers.
> > > > >> Function: Perform simple math operations
> > > > >> Signal: Generates continuous functions (Sinus, square, triangular
> > and
> > > > >> sawtooth).
> > > > >> You can do this in the configuration file *
> > > > com.ceos.merlot.modbus.sim.cf
> > > > >> g*.
> > > > >>
> > > > >> The configuration files can be found in the 'etc' directory.
> > > > >>
> > > > >> In the case of the signals function, you can play with the
> frequency
> > > and
> > > > >> phase registers, to adjust the signal to your sampling time.
> Please
> > > > don't
> > > > >> forget our friend Nyquist.
> > > > >>

[GitHub] [plc4x] ottobackwards merged pull request #160: have rat ignore .java-version files from jenv since we need java kung…

2020-05-26 Thread GitBox


ottobackwards merged pull request #160:
URL: https://github.com/apache/plc4x/pull/160


   



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.

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




Re: Exploring Plc4x

2020-05-26 Thread Cesar Garcia
Hello,

I'm glad it worked.

Sure if you put your example code, we can help you test it.

Best regards,


El mar., 26 may. 2020 a las 22:53, venki hadoop ()
escribió:

> Hello Cesar,.
>Was able to configure device and signal function based
> on above instructions.
>  But am unable to retrieve value, am assuming due to version issue, today
> will update to 0.7.0 and test then will update you.
> Regards,
> On Tuesday, May 26, 2020, Cesar Garcia  wrote:
>
> > Hi,
> >
> > Please, you can use "karaf.bat" for startup.
> >
> > This way the console start.
> >
> > __  __ _   _
> > |  \/  |   ___   _ __  | |   ___   | |_
> > | |\/| |  / _ \ | '__| | |  / _ \  | __|
> > | |  | | |  __/ | || | | (_) | | |_
> > |_|  |_|  \___| |_||_|  \___/   \__|
> >
> > Merlot Industrial Gateway (0.0.1-SNAPSHOT)
> >
> > Hit '' for a list of available commands
> > and '[cmd] --help' for help on a specific command.
> > Hit '' or type 'system:shutdown' or 'logout' to shutdown Merlot.
> >
> > karaf@root()>
> >
> >
> > Karaf documentation can be found at https://karaf.apache.org
> >
> > If the console starts, the Modbus server is already active, so Modbus
> > devices must be created.
> >
> > At the command line type
> >
> > karaf@root>modbus:new --help
> > karaf@root> modbus:new 10 test desc 1000 1000 1000 1000
> >
> > Then check the configuration file for the simulation of the records as I
> > pointed out in the previous email.
> >
> > You must verify if the instance is active, since the option "start.bat"
> > starts as a service, which you must kill to avoid a problem with the
> ports.
> >
> > Take a look at the concept here https://github.com/glcj/Merlot/wiki, I
> > will
> > work on the documentation shortly.
> >
> > For tomorrow if you are online, we can use Google meet or other tools if
> > you follow the problems.
> >
> > Best regards,
> >
> >
> >
> >
> >
> > El mar., 26 may. 2020 a las 0:06, venki hadoop ( >)
> > escribió:
> >
> > > Hello Cesar,.
> > >  Can you please provide me some information regarding
> how
> > > to start device, it's bit confusing.
>  I
> > > made necessary config changes in windows, then started using start.bat
> > file
> > > from command line prompt. But nothing is happening. Please let me know
> > what
> > > am doing is correct?
> > >Thanks,
> > >
> > > On Tuesday, May 26, 2020, venki hadoop  wrote:
> > >
> > > > Thanks Cesar, will test today, update status here.
> > > >
> > > > On Tuesday, May 26, 2020, Cesar Garcia 
> > wrote:
> > > >
> > > >> Hi Venki,
> > > >>
> > > >> Sorry for the delay, the internet connection was spectacular, the
> ADSL
> > > >> very
> > > >> slow to download and very very & very slow to upload.
> > > >>
> > > >> Attach you will find the download links for the application, the
> > version
> > > >> .zip (Windows) and .tar.gz (Linux)...
> > > >>
> > > >>
> > > https://mega.nz/file/nhVgxAQZ#M11oLJc-N5qDnbeF_
> > AhhsQk5ow9B3rPsIT2bt1ZORLc
> > > >>
> > > https://mega.nz/file/zocg0CyT#Pk5E9nRdM-xdGNDSjAY9hl27pUpWgPDjdsO_
> > apCE6WQ
> > > >>
> > > >> 1.  You can add a Modbus device through the command line or
> > permanently
> > > in
> > > >> the configuration file *com.ceos.merlot.modbus.dev.cfg*. You can
> > > specify
> > > >> the number of elements you require (Coils, Input registers, etc.).
> > > >> 2. After creating the Modbus device, you can add the simulation
> > > services,
> > > >> you have three:
> > > >> Random: Which simulates bits and scalars in a given range of
> > registers.
> > > >> Function: Perform simple math operations
> > > >> Signal: Generates continuous functions (Sinus, square, triangular
> and
> > > >> sawtooth).
> > > >> You can do this in the configuration file *
> > > com.ceos.merlot.modbus.sim.cf
> > > >> g*.
> > > >>
> > > >> The configuration files can be found in the 'etc' directory.
> > > >>
> > > >> In the case of the signals function, you can play with the frequency
> > and
> > > >> phase registers, to adjust the signal to your sampling time. Please
> > > don't
> > > >> forget our friend Nyquist.
> > > >>
> > > >> I'm going to spend some time on documentation.
> > > >>
> > > >> Chris, this is the tool I was telling you about to incorporate into
> > the
> > > >> PLC4X project, if It meet the requirements of course.
> > > >>
> > > >> I hope you find it useful in testing with Modbus
> > > >>
> > > >> Best regards,...
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> El vie., 22 may. 2020 a las 2:27, venki hadoop (<
> > hadoopons...@gmail.com
> > > >)
> > > >> escribió:
> > > >>
> > > >> > Thanks  Cesar,.
> > > >> > Sure, will try immediately once it is available
> and
> > > will
> > > >> > give me feedback.
> > > >> >  Regards,
> > > >> >
> > > >> > On Friday, May 22, 2020, Cesar Garcia 
> > > wrote:
> > > >> >
> > > >> > > Hi,
> > > >> > >
> > > >> > > Sorry,
> > > >> > >
> > > >> > > I misunderstood your email.
> > > >> > >
> > > >> > > You 

Re: Exploring Plc4x

2020-05-26 Thread venki hadoop
Hello Cesar,.
   Was able to configure device and signal function based
on above instructions.
 But am unable to retrieve value, am assuming due to version issue, today
will update to 0.7.0 and test then will update you.
Regards,
On Tuesday, May 26, 2020, Cesar Garcia  wrote:

> Hi,
>
> Please, you can use "karaf.bat" for startup.
>
> This way the console start.
>
> __  __ _   _
> |  \/  |   ___   _ __  | |   ___   | |_
> | |\/| |  / _ \ | '__| | |  / _ \  | __|
> | |  | | |  __/ | || | | (_) | | |_
> |_|  |_|  \___| |_||_|  \___/   \__|
>
> Merlot Industrial Gateway (0.0.1-SNAPSHOT)
>
> Hit '' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '' or type 'system:shutdown' or 'logout' to shutdown Merlot.
>
> karaf@root()>
>
>
> Karaf documentation can be found at https://karaf.apache.org
>
> If the console starts, the Modbus server is already active, so Modbus
> devices must be created.
>
> At the command line type
>
> karaf@root>modbus:new --help
> karaf@root> modbus:new 10 test desc 1000 1000 1000 1000
>
> Then check the configuration file for the simulation of the records as I
> pointed out in the previous email.
>
> You must verify if the instance is active, since the option "start.bat"
> starts as a service, which you must kill to avoid a problem with the ports.
>
> Take a look at the concept here https://github.com/glcj/Merlot/wiki, I
> will
> work on the documentation shortly.
>
> For tomorrow if you are online, we can use Google meet or other tools if
> you follow the problems.
>
> Best regards,
>
>
>
>
>
> El mar., 26 may. 2020 a las 0:06, venki hadoop ()
> escribió:
>
> > Hello Cesar,.
> >  Can you please provide me some information regarding how
> > to start device, it's bit confusing.   I
> > made necessary config changes in windows, then started using start.bat
> file
> > from command line prompt. But nothing is happening. Please let me know
> what
> > am doing is correct?
> >Thanks,
> >
> > On Tuesday, May 26, 2020, venki hadoop  wrote:
> >
> > > Thanks Cesar, will test today, update status here.
> > >
> > > On Tuesday, May 26, 2020, Cesar Garcia 
> wrote:
> > >
> > >> Hi Venki,
> > >>
> > >> Sorry for the delay, the internet connection was spectacular, the ADSL
> > >> very
> > >> slow to download and very very & very slow to upload.
> > >>
> > >> Attach you will find the download links for the application, the
> version
> > >> .zip (Windows) and .tar.gz (Linux)...
> > >>
> > >>
> > https://mega.nz/file/nhVgxAQZ#M11oLJc-N5qDnbeF_
> AhhsQk5ow9B3rPsIT2bt1ZORLc
> > >>
> > https://mega.nz/file/zocg0CyT#Pk5E9nRdM-xdGNDSjAY9hl27pUpWgPDjdsO_
> apCE6WQ
> > >>
> > >> 1.  You can add a Modbus device through the command line or
> permanently
> > in
> > >> the configuration file *com.ceos.merlot.modbus.dev.cfg*. You can
> > specify
> > >> the number of elements you require (Coils, Input registers, etc.).
> > >> 2. After creating the Modbus device, you can add the simulation
> > services,
> > >> you have three:
> > >> Random: Which simulates bits and scalars in a given range of
> registers.
> > >> Function: Perform simple math operations
> > >> Signal: Generates continuous functions (Sinus, square, triangular and
> > >> sawtooth).
> > >> You can do this in the configuration file *
> > com.ceos.merlot.modbus.sim.cf
> > >> g*.
> > >>
> > >> The configuration files can be found in the 'etc' directory.
> > >>
> > >> In the case of the signals function, you can play with the frequency
> and
> > >> phase registers, to adjust the signal to your sampling time. Please
> > don't
> > >> forget our friend Nyquist.
> > >>
> > >> I'm going to spend some time on documentation.
> > >>
> > >> Chris, this is the tool I was telling you about to incorporate into
> the
> > >> PLC4X project, if It meet the requirements of course.
> > >>
> > >> I hope you find it useful in testing with Modbus
> > >>
> > >> Best regards,...
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> El vie., 22 may. 2020 a las 2:27, venki hadoop (<
> hadoopons...@gmail.com
> > >)
> > >> escribió:
> > >>
> > >> > Thanks  Cesar,.
> > >> > Sure, will try immediately once it is available and
> > will
> > >> > give me feedback.
> > >> >  Regards,
> > >> >
> > >> > On Friday, May 22, 2020, Cesar Garcia 
> > wrote:
> > >> >
> > >> > > Hi,
> > >> > >
> > >> > > Sorry,
> > >> > >
> > >> > > I misunderstood your email.
> > >> > >
> > >> > > You already tried from an OPC server, excellent.
> > >> > >
> > >> > > Remember me next week, I am going to implement the signal
> simulator
> > in
> > >> > > Modbus so you can do your tests with the PLC4X driver.
> > >> > >
> > >> > > The important thing is that you give us feedback, on any point of
> > >> > > improvement of the driver.
> > >> > >
> > >> > > Best regards,
> > >> > >
> > >> > > El jue., 21 may. 2020 a las 12:59, venki hadoop (<
> > >> 

[BUILD-STABLE]: Job 'PLC4X/PLC4X/develop [develop] [909]'

2020-05-26 Thread Apache Jenkins Server
BUILD-STABLE: Job 'PLC4X/PLC4X/develop [develop] [909]':

Is back to normal.

[BUILD-FAILURE]: Job 'PLC4X/PLC4X/develop [develop] [908]'

2020-05-26 Thread Apache Jenkins Server
BUILD-FAILURE: Job 'PLC4X/PLC4X/develop [develop] [908]':

Check console output at "https://builds.apache.org/job/PLC4X/job/PLC4X/job/develop/908/;>PLC4X/PLC4X/develop
 [develop] [908]"

[BUILD-FAILURE]: Job 'PLC4X/PLC4X/develop [develop] [907]'

2020-05-26 Thread Apache Jenkins Server
BUILD-FAILURE: Job 'PLC4X/PLC4X/develop [develop] [907]':

Check console output at "https://builds.apache.org/job/PLC4X/job/PLC4X/job/develop/907/;>PLC4X/PLC4X/develop
 [develop] [907]"

Re: [Modbus] Querying Values from Holding Register

2020-05-26 Thread Christofer Dutz
Yes I did release them ... I can see them in Apache-Central, but not 
Maven-Central.
I asked on the infra slack to see if there is anything holding up the sync.

Till then ... which Maven version are you using? I think in really new Maven 
versions the default has switched to use the Apache repo as primary source, 
perhaps that would help.

Chris



Am 26.05.20, 10:58 schrieb "Julian Feinauer" :

Indeed its not there yet.

@Christofer Dutz did you already release the maven repo?

Julian

Am 26.05.20, 10:23 schrieb "venki hadoop" :

Hi Chris,.
  Is  it will be part of maven central repo( I haven't
found 0.7 version in repository) or we have to build from source?

On Tuesday, May 26, 2020, Christofer Dutz  
wrote:

> Hi Venki,
>
> Well I guess it would be an option ... I would give that a try and if 
you
> run into problems try with 0.6.0 in order to help track down if 
there's a
> regression.
>
> The Modbus driver is actually one we had an external driver in the 
past
> and which is now replaced by a full implementation by us.
>
> Chris
>
>
>
> Am 26.05.20, 09:36 schrieb "venki hadoop" :
>
> Hi Chris,.
> Shall we use 0.7.0 version to resolve this 
issue.
>   Regards,
>
> On Wednesday, May 20, 2020, Christofer Dutz 
 >
> wrote:
>
> > Hi Tim,
> >
> > I guess you are using one of the "old generation" drivers (As 
you
> say it's
> > working and the address seems to imply that).
> > Perhaps you should either try the version 0.8.0-SNAPSHOT or 
wait for
> 2
> > more days till we release the 0.7.0 version.
> >
> > In the 0.7.0 version we have completely deleted all existing 
drivers
> and
> > replaced them by new ones.
> > While at it I took the liberty of making the Modbus a little 
more
> robust.
> >
> > So it would be great if you could give us feedback if your 
problem
> goes
> > away magically when updating to these driver versions.
> >
> > Chris
> >
> >
> >
> > Am 20.05.20, 10:24 schrieb "udeho" :
> >
> > Hi all,
> >
> > I have tried to query values from the holding register of a
> simulated
> > modbus device and process them as integer using the following 
code:
> > // read integer / holding register
> > PlcDriverManager driverManager = new
> > PlcDriverManager();
> > String conString = 
"modbus:tcp://localhost";
> > PlcConnection plcCon =
> driverManager.getConnection(
> > conString);
> > PlcReadRequest.Builder builder =
> > plcCon.readRequestBuilder();
> > builder.addItem("value",
> "readholdingregisters:1");
> > PlcReadRequest readRequest = 
builder.build();
> > PlcReadResponse resp =
> readRequest.execute().get();
> >
> > This runs well, but when I try to handle the result as 
integer
> (using
> > resp.getInteger("value")) I always get null as result no matter
> what's in
> > the register.
> > For Boolean values in the coil this works without any 
problem
> (using
> > getBoolean() of course).
> > Another approach I tried is using the 
getAllByteArrays("value");
> > command, but I haven't found a way to get the returned 
collection of
> byte
> > arrays into integers.
> >
> > Can you give me an indication of what my problem may be or 
what
> I'm
> > doing wrong?
> >
> > Thank you very much in advance!
> >
> > Best
> > Tim
> >
> >
>
>




Re: [Modbus] Querying Values from Holding Register

2020-05-26 Thread Julian Feinauer
Indeed its not there yet.

@Christofer Dutz did you already release the maven repo?

Julian

Am 26.05.20, 10:23 schrieb "venki hadoop" :

Hi Chris,.
  Is  it will be part of maven central repo( I haven't
found 0.7 version in repository) or we have to build from source?

On Tuesday, May 26, 2020, Christofer Dutz  wrote:

> Hi Venki,
>
> Well I guess it would be an option ... I would give that a try and if you
> run into problems try with 0.6.0 in order to help track down if there's a
> regression.
>
> The Modbus driver is actually one we had an external driver in the past
> and which is now replaced by a full implementation by us.
>
> Chris
>
>
>
> Am 26.05.20, 09:36 schrieb "venki hadoop" :
>
> Hi Chris,.
> Shall we use 0.7.0 version to resolve this issue.
>   Regards,
>
> On Wednesday, May 20, 2020, Christofer Dutz  >
> wrote:
>
> > Hi Tim,
> >
> > I guess you are using one of the "old generation" drivers (As you
> say it's
> > working and the address seems to imply that).
> > Perhaps you should either try the version 0.8.0-SNAPSHOT or wait for
> 2
> > more days till we release the 0.7.0 version.
> >
> > In the 0.7.0 version we have completely deleted all existing drivers
> and
> > replaced them by new ones.
> > While at it I took the liberty of making the Modbus a little more
> robust.
> >
> > So it would be great if you could give us feedback if your problem
> goes
> > away magically when updating to these driver versions.
> >
> > Chris
> >
> >
> >
> > Am 20.05.20, 10:24 schrieb "udeho" :
> >
> > Hi all,
> >
> > I have tried to query values from the holding register of a
> simulated
> > modbus device and process them as integer using the following code:
> > // read integer / holding register
> > PlcDriverManager driverManager = new
> > PlcDriverManager();
> > String conString = "modbus:tcp://localhost";
> > PlcConnection plcCon =
> driverManager.getConnection(
> > conString);
> > PlcReadRequest.Builder builder =
> > plcCon.readRequestBuilder();
> > builder.addItem("value",
> "readholdingregisters:1");
> > PlcReadRequest readRequest = 
builder.build();
> > PlcReadResponse resp =
> readRequest.execute().get();
> >
> > This runs well, but when I try to handle the result as integer
> (using
> > resp.getInteger("value")) I always get null as result no matter
> what's in
> > the register.
> > For Boolean values in the coil this works without any problem
> (using
> > getBoolean() of course).
> > Another approach I tried is using the getAllByteArrays("value");
> > command, but I haven't found a way to get the returned collection of
> byte
> > arrays into integers.
> >
> > Can you give me an indication of what my problem may be or what
> I'm
> > doing wrong?
> >
> > Thank you very much in advance!
> >
> > Best
> > Tim
> >
> >
>
>



Re: [Modbus] Querying Values from Holding Register

2020-05-26 Thread venki hadoop
Hi Chris,.
  Is  it will be part of maven central repo( I haven't
found 0.7 version in repository) or we have to build from source?

On Tuesday, May 26, 2020, Christofer Dutz  wrote:

> Hi Venki,
>
> Well I guess it would be an option ... I would give that a try and if you
> run into problems try with 0.6.0 in order to help track down if there's a
> regression.
>
> The Modbus driver is actually one we had an external driver in the past
> and which is now replaced by a full implementation by us.
>
> Chris
>
>
>
> Am 26.05.20, 09:36 schrieb "venki hadoop" :
>
> Hi Chris,.
> Shall we use 0.7.0 version to resolve this issue.
>   Regards,
>
> On Wednesday, May 20, 2020, Christofer Dutz  >
> wrote:
>
> > Hi Tim,
> >
> > I guess you are using one of the "old generation" drivers (As you
> say it's
> > working and the address seems to imply that).
> > Perhaps you should either try the version 0.8.0-SNAPSHOT or wait for
> 2
> > more days till we release the 0.7.0 version.
> >
> > In the 0.7.0 version we have completely deleted all existing drivers
> and
> > replaced them by new ones.
> > While at it I took the liberty of making the Modbus a little more
> robust.
> >
> > So it would be great if you could give us feedback if your problem
> goes
> > away magically when updating to these driver versions.
> >
> > Chris
> >
> >
> >
> > Am 20.05.20, 10:24 schrieb "udeho" :
> >
> > Hi all,
> >
> > I have tried to query values from the holding register of a
> simulated
> > modbus device and process them as integer using the following code:
> > // read integer / holding register
> > PlcDriverManager driverManager = new
> > PlcDriverManager();
> > String conString = "modbus:tcp://localhost";
> > PlcConnection plcCon =
> driverManager.getConnection(
> > conString);
> > PlcReadRequest.Builder builder =
> > plcCon.readRequestBuilder();
> > builder.addItem("value",
> "readholdingregisters:1");
> > PlcReadRequest readRequest = builder.build();
> > PlcReadResponse resp =
> readRequest.execute().get();
> >
> > This runs well, but when I try to handle the result as integer
> (using
> > resp.getInteger("value")) I always get null as result no matter
> what's in
> > the register.
> > For Boolean values in the coil this works without any problem
> (using
> > getBoolean() of course).
> > Another approach I tried is using the getAllByteArrays("value");
> > command, but I haven't found a way to get the returned collection of
> byte
> > arrays into integers.
> >
> > Can you give me an indication of what my problem may be or what
> I'm
> > doing wrong?
> >
> > Thank you very much in advance!
> >
> > Best
> > Tim
> >
> >
>
>


Re: [Modbus] Querying Values from Holding Register

2020-05-26 Thread Christofer Dutz
Hi Venki,

Well I guess it would be an option ... I would give that a try and if you run 
into problems try with 0.6.0 in order to help track down if there's a 
regression.

The Modbus driver is actually one we had an external driver in the past and 
which is now replaced by a full implementation by us.

Chris



Am 26.05.20, 09:36 schrieb "venki hadoop" :

Hi Chris,.
Shall we use 0.7.0 version to resolve this issue.
  Regards,

On Wednesday, May 20, 2020, Christofer Dutz 
wrote:

> Hi Tim,
>
> I guess you are using one of the "old generation" drivers (As you say it's
> working and the address seems to imply that).
> Perhaps you should either try the version 0.8.0-SNAPSHOT or wait for 2
> more days till we release the 0.7.0 version.
>
> In the 0.7.0 version we have completely deleted all existing drivers and
> replaced them by new ones.
> While at it I took the liberty of making the Modbus a little more robust.
>
> So it would be great if you could give us feedback if your problem goes
> away magically when updating to these driver versions.
>
> Chris
>
>
>
> Am 20.05.20, 10:24 schrieb "udeho" :
>
> Hi all,
>
> I have tried to query values from the holding register of a simulated
> modbus device and process them as integer using the following code:
> // read integer / holding register
> PlcDriverManager driverManager = new
> PlcDriverManager();
> String conString = "modbus:tcp://localhost";
> PlcConnection plcCon = 
driverManager.getConnection(
> conString);
> PlcReadRequest.Builder builder =
> plcCon.readRequestBuilder();
> builder.addItem("value", 
"readholdingregisters:1");
> PlcReadRequest readRequest = builder.build();
> PlcReadResponse resp = 
readRequest.execute().get();
>
> This runs well, but when I try to handle the result as integer (using
> resp.getInteger("value")) I always get null as result no matter what's in
> the register.
> For Boolean values in the coil this works without any problem (using
> getBoolean() of course).
> Another approach I tried is using the getAllByteArrays("value");
> command, but I haven't found a way to get the returned collection of byte
> arrays into integers.
>
> Can you give me an indication of what my problem may be or what I'm
> doing wrong?
>
> Thank you very much in advance!
>
> Best
> Tim
>
>



Re: [Modbus] Querying Values from Holding Register

2020-05-26 Thread venki hadoop
Hi Chris,.
Shall we use 0.7.0 version to resolve this issue.
  Regards,

On Wednesday, May 20, 2020, Christofer Dutz 
wrote:

> Hi Tim,
>
> I guess you are using one of the "old generation" drivers (As you say it's
> working and the address seems to imply that).
> Perhaps you should either try the version 0.8.0-SNAPSHOT or wait for 2
> more days till we release the 0.7.0 version.
>
> In the 0.7.0 version we have completely deleted all existing drivers and
> replaced them by new ones.
> While at it I took the liberty of making the Modbus a little more robust.
>
> So it would be great if you could give us feedback if your problem goes
> away magically when updating to these driver versions.
>
> Chris
>
>
>
> Am 20.05.20, 10:24 schrieb "udeho" :
>
> Hi all,
>
> I have tried to query values from the holding register of a simulated
> modbus device and process them as integer using the following code:
> // read integer / holding register
> PlcDriverManager driverManager = new
> PlcDriverManager();
> String conString = "modbus:tcp://localhost";
> PlcConnection plcCon = driverManager.getConnection(
> conString);
> PlcReadRequest.Builder builder =
> plcCon.readRequestBuilder();
> builder.addItem("value", "readholdingregisters:1");
> PlcReadRequest readRequest = builder.build();
> PlcReadResponse resp = readRequest.execute().get();
>
> This runs well, but when I try to handle the result as integer (using
> resp.getInteger("value")) I always get null as result no matter what's in
> the register.
> For Boolean values in the coil this works without any problem (using
> getBoolean() of course).
> Another approach I tried is using the getAllByteArrays("value");
> command, but I haven't found a way to get the returned collection of byte
> arrays into integers.
>
> Can you give me an indication of what my problem may be or what I'm
> doing wrong?
>
> Thank you very much in advance!
>
> Best
> Tim
>
>


Re: [DISCUSS] Users page

2020-05-26 Thread Christofer Dutz
Don't think we need a vote here ... I think we also discussed the matter one or 
two times before and no one objected.

So I'd say as soon as Justin says we're ok with the ASF rules, I think we 
should add it and then also do some social media initiative asking people to 
give back by getting listed.

What do you think?

Chris


Am 26.05.20, 09:18 schrieb "Julian Feinauer" :

Hi,

yes. Just wanted to add my point here : )
But of course some feedback is very welcome about best practices.

Perhaps we could even hold a formal vote to give it the necessary attention 
on the list?

Julian

Am 26.05.20, 09:16 schrieb "Christofer Dutz" :

Hi Julian,

I like the name "adopters" ... sounds better than "users" especially if 
it's on the "users" part of the website.

I would like some feedback from some other ASF folks as in the past 
they have brought up concerns and I would prefer to hear if they are ok with 
this.

Chris

Am 26.05.20, 09:07 schrieb "Julian Feinauer" 
:

Hi Chris,

thanks for tackling this.
I really like it and in fact I woul dprobably place it even more 
prominent.
I like how eclipse IoT Working Group did it:

https://iot.eclipse.org/adopters/

I see no reason why this would not comply with ASF policy.

Julian

Am 25.05.20, 21:43 schrieb "Christofer Dutz" 
:

Hi all,

I think we discussed this multiple times but never actually 
continued. So I took the liberty of adding a new page to our website:
https://plc4x.apache.org/users/users.html

However this page isn’t linked in the navigation as I want to 
discuss this first.

It’s the plan to allow any company to be listed there. The 
mechanism on how to get added is by providing a PR. This way we have someone 
who is in git-blame and which we can say is responsible for having a company 
added.

I updated all links to be “nofollow” links and to open new 
browser tabs.

Would such a page be in-line with the ASF policies?

Chris








Re: [DISCUSS] Users page

2020-05-26 Thread Julian Feinauer
Hi,

yes. Just wanted to add my point here : )
But of course some feedback is very welcome about best practices.

Perhaps we could even hold a formal vote to give it the necessary attention on 
the list?

Julian

Am 26.05.20, 09:16 schrieb "Christofer Dutz" :

Hi Julian,

I like the name "adopters" ... sounds better than "users" especially if 
it's on the "users" part of the website.

I would like some feedback from some other ASF folks as in the past they 
have brought up concerns and I would prefer to hear if they are ok with this.

Chris

Am 26.05.20, 09:07 schrieb "Julian Feinauer" :

Hi Chris,

thanks for tackling this.
I really like it and in fact I woul dprobably place it even more 
prominent.
I like how eclipse IoT Working Group did it:

https://iot.eclipse.org/adopters/

I see no reason why this would not comply with ASF policy.

Julian

Am 25.05.20, 21:43 schrieb "Christofer Dutz" 
:

Hi all,

I think we discussed this multiple times but never actually 
continued. So I took the liberty of adding a new page to our website:
https://plc4x.apache.org/users/users.html

However this page isn’t linked in the navigation as I want to 
discuss this first.

It’s the plan to allow any company to be listed there. The 
mechanism on how to get added is by providing a PR. This way we have someone 
who is in git-blame and which we can say is responsible for having a company 
added.

I updated all links to be “nofollow” links and to open new browser 
tabs.

Would such a page be in-line with the ASF policies?

Chris







Re: [DISCUSS] Users page

2020-05-26 Thread Christofer Dutz
Hi Julian,

I like the name "adopters" ... sounds better than "users" especially if it's on 
the "users" part of the website.

I would like some feedback from some other ASF folks as in the past they have 
brought up concerns and I would prefer to hear if they are ok with this.

Chris

Am 26.05.20, 09:07 schrieb "Julian Feinauer" :

Hi Chris,

thanks for tackling this.
I really like it and in fact I woul dprobably place it even more prominent.
I like how eclipse IoT Working Group did it:

https://iot.eclipse.org/adopters/

I see no reason why this would not comply with ASF policy.

Julian

Am 25.05.20, 21:43 schrieb "Christofer Dutz" :

Hi all,

I think we discussed this multiple times but never actually continued. 
So I took the liberty of adding a new page to our website:
https://plc4x.apache.org/users/users.html

However this page isn’t linked in the navigation as I want to discuss 
this first.

It’s the plan to allow any company to be listed there. The mechanism on 
how to get added is by providing a PR. This way we have someone who is in 
git-blame and which we can say is responsible for having a company added.

I updated all links to be “nofollow” links and to open new browser tabs.

Would such a page be in-line with the ASF policies?

Chris






Re: [DISCUSS] Users page

2020-05-26 Thread Julian Feinauer
Hi Chris,

thanks for tackling this.
I really like it and in fact I woul dprobably place it even more prominent.
I like how eclipse IoT Working Group did it:

https://iot.eclipse.org/adopters/

I see no reason why this would not comply with ASF policy.

Julian

Am 25.05.20, 21:43 schrieb "Christofer Dutz" :

Hi all,

I think we discussed this multiple times but never actually continued. So I 
took the liberty of adding a new page to our website:
https://plc4x.apache.org/users/users.html

However this page isn’t linked in the navigation as I want to discuss this 
first.

It’s the plan to allow any company to be listed there. The mechanism on how 
to get added is by providing a PR. This way we have someone who is in git-blame 
and which we can say is responsible for having a company added.

I updated all links to be “nofollow” links and to open new browser tabs.

Would such a page be in-line with the ASF policies?

Chris