Mono & ModBus

View: New views
9 Messages — Rating Filter:   Alert me  

Mono & ModBus

by Panoramix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would try to use the .NET library that is at URL http://www.nmodbus.com/ but I'm
new to mono and mono-develop so :

How can I do to install it on mono-develop?

Thanks to all

-----------------------------------------------------------------------------
http://freeflow.awardspace.com
-----------------------------------------------------------------------------

Re: Mono & ModBus

by Panoramix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I don't know if it is correct but it will be sufficient use the command shell:

gacutil  NameOfDLL.dll

to install it ??



Panoramix wrote:
I would try to use the .NET library that is at URL http://www.nmodbus.com/ but I'm
new to mono and mono-develop so :

How can I do to install it on mono-develop?

Thanks to all

-----------------------------------------------------------------------------
http://freeflow.awardspace.com
-----------------------------------------------------------------------------

Re: Mono & ModBus

by Petit Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/5/14 Panoramix <aria.francesco@...>:

>
>  I would try to use the .NET library that is at URL http://www.nmodbus.com/
>  but I'm
>  new to mono and mono-develop so :
>
>  How can I do to install it on mono-develop?
>
>  Thanks to all =)
>  --
>  View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17224941.html
>  Sent from the Mono - General mailing list archive at Nabble.com.
>
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@...
>  http://lists.ximian.com/mailman/listinfo/mono-list
>

I had a look at this nmodbus lib, i think you should do not use it
unless yu want to do a complex work.
Modbus protocol is really simple, i already write programmes who use
modbus protocol.
Yu should try to find the pdf who describe the Modbus protocol here :
http://www.modbus.org/
And then write a reader/writer trought a tcp socket or a serial port.
The bigest task is the calcul of the CRC16, but you find a lot of free
code of it on the net.
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Re: Mono & ModBus

by Petit Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Je voit que vous étes français, donc j'en profite, la société ou je
travail développe des applications VB/C# net, nous avons déja notre
propre librairie en VB.NET qui discutte avec des TSX (en TCP ou Serie)
et du Siemens en IsoOnTcp.
Il se peut que nous ayons déja le produit qu'il vous faut :
https://alphadeltaingenierie.com
Tout les logiciel ne sont pas présents sur le site, notre crénaux est
de fournir les fonctionnalité d'une supervision mais le plus "basic"
et "simple" possible afin de pouvoir proposer des prix beaucoup plus
interressant que les gros superviseur/pupitres actuel du marché.
Cordialement
Eric.P

2008/5/14 Panoramix <aria.francesco@...>:

>
>  I would try to use the .NET library that is at URL http://www.nmodbus.com/
>  but I'm
>  new to mono and mono-develop so :
>
>  How can I do to install it on mono-develop?
>
>  Thanks to all =)
>  --
>  View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17224941.html
>  Sent from the Mono - General mailing list archive at Nabble.com.
>
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@...
>  http://lists.ximian.com/mailman/listinfo/mono-list
>
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Re: Mono & ModBus

by Petit Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/5/14 Panoramix <aria.francesco@...>:
>
>
>  I don't know if it is correct but it will be sufficient use the command
>  shell:
>
>  gacutil  NameOfDLL.dll
>
>  to install it ??
Do yu start with Mono/MD, because you plane to work under linux or you
will work under Windows ?
The choice your made, NModbus, work with some windows dll (ex :
NModbus\source\tools\jamod), also once again it's a fully and complete
Modbus library, so complex, ......:)
This library can be used with a really big project, for example to
replace "Intouch" from "Wonderware" ...
But if your application is "basic" , yu should have a look at modbus
documentation.

>
>
>
>
>
>  Panoramix wrote:
>  >
>  > I would try to use the .NET library that is at URL http://www.nmodbus.com/
>  > but I'm
>  > new to mono and mono-develop so :
>  >
>  > How can I do to install it on mono-develop?
>  >
>  > Thanks to all =)
>  >
>
>
>  -----
>  :working:
>  -----------------------------------------------------------------------------
>  http://freeflow.awardspace.com http://freeflow.awardspace.com
>  -----------------------------------------------------------------------------
>
>  --
>  View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17225923.html
>
>
> Sent from the Mono - General mailing list archive at Nabble.com.
>
>  _______________________________________________
>  Mono-list maillist  -  Mono-list@...
>  http://lists.ximian.com/mailman/listinfo/mono-list
>
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Re: Mono & ModBus

by Panoramix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Do yu start with Mono/MD, because you plane to work under linux or you
> will work under Windows ?
> The choice your made, NModbus, work with some windows dll (ex :
> NModbus\source\tools\jamod), also once again it's a fully and complete
> Modbus library, so complex, ......:)
> This library can be used with a really big project, for example to
> replace "Intouch" from "Wonderware" ...
> But if your application is "basic" , yu should have a look at modbus
> documentation.

I'm working (playing for the moment) on Ubuntu 8.04 Linux with Mono and Mono-Develop 1.0.
My problem is that I don't know how to install a library on Mono (because I don't know Mono and MonoDevelop).
Until now I have used other languages like :
PHP with framework as P4a (http://p4a.crealabsfoundation.org/)
Lazarus (Delphy on linux http://www.lazarus.freepascal.org/)
Gambas (VB on Linux http://gambas.sourceforge.net/).
 
But at the first impact with Mono and MonoDevelop I was captured by her beauty, I like it.
For the moment I'll like try NModbus with Mono but not to produce proprietary software but only to learn.

Thanks

-----------------------------------------------------------------------------
http://freeflow.awardspace.com
-----------------------------------------------------------------------------

Re: Mono & ModBus

by Andreas Färber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Am 14.05.2008 um 14:51 schrieb Panoramix:

>
>> Do yu start with Mono/MD, because you plane to work under linux or  
>> you
>> will work under Windows ?
>> The choice your made, NModbus, work with some windows dll (ex :
>> NModbus\source\tools\jamod), also once again it's a fully and  
>> complete
>> Modbus library, so complex, ......:)
>> This library can be used with a really big project, for example to
>> replace "Intouch" from "Wonderware" ...
>> But if your application is "basic" , yu should have a look at modbus
>> documentation.
>
> I'm working (playing for the moment) on Ubuntu 8.04 Linux with Mono  
> and
> Mono-Develop 1.0.
> My problem is that I don't know how to install a library on Mono  
> (because I
> don't know Mono and MonoDevelop).
> Until now I have used other languages like :
> PHP with framework as P4a (http://p4a.crealabsfoundation.org/)
> Lazarus (Delphy on linux http://www.lazarus.freepascal.org/)
> Gambas (VB on Linux http://gambas.sourceforge.net/).
>
> But at the first impact with Mono and MonoDevelop I was captured by  
> her
> beauty, I like it.
> For the moment I'll like try NModbus with Mono but not to produce
> proprietary software but only to learn.

You don't need to install the library anywhere then, just place it  
inside your working directory and add a local reference to it. If the  
downloaded software does not advise you to install it into the GAC,  
it's probably not a good idea to put it there.

http://www.mono-project.com/Assemblies_and_the_GAC#What_Should_Be_Installed_to_the_GAC

To find out whether you can use the downloaded software, you might  
want to try the MoMA tool to check for dependencies on native Windows  
libraries.

HTH,
Andreas
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Re: Mono & ModBus

by Panoramix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Wooowww
Now work all



That was what I needed to know, how to use the DLL .
Thanks Andreas  

Andreas Färber wrote:
Am 14.05.2008 um 14:51 schrieb Panoramix:

>
>> Do yu start with Mono/MD, because you plane to work under linux or  
>> you
>> will work under Windows ?
>> The choice your made, NModbus, work with some windows dll (ex :
>> NModbus\source\tools\jamod), also once again it's a fully and  
>> complete
>> Modbus library, so complex, ......:)
>> This library can be used with a really big project, for example to
>> replace "Intouch" from "Wonderware" ...
>> But if your application is "basic" , yu should have a look at modbus
>> documentation.
>
> I'm working (playing for the moment) on Ubuntu 8.04 Linux with Mono  
> and
> Mono-Develop 1.0.
> My problem is that I don't know how to install a library on Mono  
> (because I
> don't know Mono and MonoDevelop).
> Until now I have used other languages like :
> PHP with framework as P4a (http://p4a.crealabsfoundation.org/)
> Lazarus (Delphy on linux http://www.lazarus.freepascal.org/)
> Gambas (VB on Linux http://gambas.sourceforge.net/).
>
> But at the first impact with Mono and MonoDevelop I was captured by  
> her
> beauty, I like it.
> For the moment I'll like try NModbus with Mono but not to produce
> proprietary software but only to learn.

You don't need to install the library anywhere then, just place it  
inside your working directory and add a local reference to it. If the  
downloaded software does not advise you to install it into the GAC,  
it's probably not a good idea to put it there.

http://www.mono-project.com/Assemblies_and_the_GAC#What_Should_Be_Installed_to_the_GAC

To find out whether you can use the downloaded software, you might  
want to try the MoMA tool to check for dependencies on native Windows  
libraries.

HTH,
Andreas
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

-----------------------------------------------------------------------------
http://freeflow.awardspace.com
-----------------------------------------------------------------------------

Re: Mono & ModBus

by Panoramix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The library NModbus works perfectly on Mono. ( http://www.nmodbus.com/ )
I'm using Mono on UBUNTU 8.04 and then:

Develop Mono 1.0
Mono JIT compiler 1.2.6 (mono-V)


The tests I performed were used to establish a serial communication (and everything works perfectly) but also try short on TCP.
The library is easy to use and at the URL some example code :
http://groups.google.com/group/NModbus-discuss/browse_thread/thread/a0c5e4c1b4362bd9

Thanks to all  


Wooowww
Now work all



That was what I needed to know, how to use the DLL .
Thanks Andreas  

Andreas Färber wrote:
Am 14.05.2008 um 14:51 schrieb Panoramix:

>
>> Do yu start with Mono/MD, because you plane to work under linux or  
>> you
>> will work under Windows ?
>> The choice your made, NModbus, work with some windows dll (ex :
>> NModbus\source\tools\jamod), also once again it's a fully and  
>> complete
>> Modbus library, so complex, ......:)
>> This library can be used with a really big project, for example to
>> replace "Intouch" from "Wonderware" ...
>> But if your application is "basic" , yu should have a look at modbus
>> documentation.
>
> I'm working (playing for the moment) on Ubuntu 8.04 Linux with Mono  
> and
> Mono-Develop 1.0.
> My problem is that I don't know how to install a library on Mono  
> (because I
> don't know Mono and MonoDevelop).
> Until now I have used other languages like :
> PHP with framework as P4a (http://p4a.crealabsfoundation.org/)
> Lazarus (Delphy on linux http://www.lazarus.freepascal.org/)
> Gambas (VB on Linux http://gambas.sourceforge.net/).
>
> But at the first impact with Mono and MonoDevelop I was captured by  
> her
> beauty, I like it.
> For the moment I'll like try NModbus with Mono but not to produce
> proprietary software but only to learn.

You don't need to install the library anywhere then, just place it  
inside your working directory and add a local reference to it. If the  
downloaded software does not advise you to install it into the GAC,  
it's probably not a good idea to put it there.

http://www.mono-project.com/Assemblies_and_the_GAC#What_Should_Be_Installed_to_the_GAC

To find out whether you can use the downloaded software, you might  
want to try the MoMA tool to check for dependencies on native Windows  
libraries.

HTH,
Andreas
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


-----------------------------------------------------------------------------
http://freeflow.awardspace.com
-----------------------------------------------------------------------------