Discussion:
Eurotherm 3508 via Ethernet
(too old to reply)
cath
2008-06-19 15:10:06 UTC
Permalink
Hi, Do you have find a solution to use a Eurotherm 3508 with Ethernet in LABVIEW ? I have the same problem, thanks for your answer.Cath
yenknip
2008-06-19 15:40:08 UTC
Permalink
If you can get the device to appear in iTools, then you should be able to communicate with it with opc using the datasocket VIs How far have you managed to get with communicating with it?
armadillo
2008-06-20 15:16:41 UTC
Permalink
Note that you will need the Open OPC server option for iTools, otherwis
you'll be limited to 30 minutes of operation during any session

-
Message posted using http://www.talkaboutprogramming.com/group/comp.lang.labview
More information at http://www.talkaboutprogramming.com/faq.htm
cath
2008-06-23 14:40:05 UTC
Permalink
Ok, but do you have an other solution for communicate between Eurotherm 3508 and Labview ? Thanks for your answerCath
Ipshita_C
2008-06-23 21:10:06 UTC
Permalink
Hi Cath,
The set of files that I have included in the attachment are available from Eurotherm's website for download at the following link:
<a href="http://www.eurotherm.com/notes/lab2ei.htm" target="_blank">http://www.eurotherm.com/notes/lab2ei.htm</a>
These are basic read, write and synchronization VIs that can be used to communicate with their temperature controllers. As they were written in a much older version of LabView, I have convereted them to an intermediate version andthen saved them in 8.5. I hope this works for you.
&nbsp;
Ipshita C.
Ipshita_C
2008-06-23 21:10:06 UTC
Permalink
Here is the attachment containing the LabView files.
&nbsp;
Ipshita C.


labv2ei2.zip:
http://forums.ni.com/attachments/ni/170/334237/1/labv2ei2.zip
cath
2008-06-24 08:10:05 UTC
Permalink
Dear Ipshita C.,I'm not in my office today, I'II see your labview file tomorrow. Thanks a lot for your help.Have a good dayCath
cath
2008-06-24 08:10:06 UTC
Permalink
Just a remark, I use Labview 7.1Cath
cath
2008-06-25 09:10:07 UTC
Permalink
Dear Ipshita,unfortunatelly, the vi you give me are for serial connection between Eurotherm controller and my PC. I don't know if it is possible to transform the TCP/IP in a serial signal ? I think it is not possible.Thanks you anywayCath
cath
2008-06-23 06:10:06 UTC
Permalink
Dear Ed, thanks for yours answer.Unfortunately, I don't have the software iTools. Do you know if there
is a free version of this software? Initially, I wanted to communicate
only with Labview. Do you think this is possible? Thank you for your reply
yenknip
2008-06-23 10:10:09 UTC
Permalink
iTools is free to download and use <a href="http://www.eurotherm.co.uk/products/controllers/itools/download/" target="_blank">here</a>, but some restrictions apply to unregistered installations. Notably, the opc server will stop serving after 30 mins, and you'll have to restart the client, so you'll have to contact Eurotherm about a license. Communicating between iTools and Labview is easily done using datasocket VIs
cath
2008-06-23 10:10:10 UTC
Permalink
Hi ed, yes, I found the free download of iTools and I had install. I run the OPC Server and I found my Eurotherm 3508. Now, I will searching the good datasocket VI. Perhaps, you could indicate me which datasocket in the Vi example ? Thanks a lot (I'm not a specialist of communication....sorry...)Cath
yenknip
2008-06-23 11:10:05 UTC
Permalink
I have taken a guess at the address of the Process variable, as I do not have a Eurotherm 3508. opc:/Eurotherm.ModbusServer.1/ID001-3508.Main.PVopc:/Eurotherm.ModbusServer - leave as is1 - the modbus number is hidden away in a settings page somewhere. I can't for the life of me remember where thoughID001-3508 - This ID number and device name is used extensively around iTools when the device is connected.The rest of the address is the process variable you are interested in. Just browse through the tree structure to find it.<img src="Loading Image..."> Message Edited by yenknip on 06-23-2008 11:50 AM


untitled.png:
http://forums.ni.com/attachments/ni/170/333989/1/untitled.png
cath
2008-06-23 14:10:07 UTC
Permalink
Hi Ed, I tried to make like you explain. When I run my vi, the next error is mentionned :Do you have an idea where is the problem ?Thanks you very much


ed_test.png:
Loading Image...
yenknip
2008-06-23 14:10:08 UTC
Permalink
You only need one forward slash after "opc:" Also, you may be better off defining the return datatype in the Read DS VI so it knows what to read back
krasserTerror
2008-06-23 11:40:05 UTC
Permalink
It is also possible to communicate directly with the Eurotherms over Ethernet. Using the NI Modbus Vis. You can download them here: http://zone.ni.com/devzone/cda/epd/p/id/4756You have to open a TCP-connection using port 502 and then use the Modbus VIs to read and write registers. The adress of the register can easily be found in iTools. The values in the registers are usually the real value multiplied by 10 but there seem to be exceptions. MBAP Header is usually 0 255.Best regards,Thorsten Rissom
cath
2008-06-23 13:10:07 UTC
Permalink
Hello Thorsten,Thanks you for your answer. I had download NI Modbus Vis. But I have some question :1) You said : "use the Modbus VIs to read and write registers". Is the "MB Registers Manager.vi" or is an other?2) You said : "The adress of the register can&nbsp;be easily found in iTools". I'm sorry, but I have some difficult to find theses adresses ....what part of iTools can I use ? : OPC Scope; iTools OPC Server, iTools ? where is the information ?3) When I create a TCP-connection like you mentionned, the error next is mentionned...So, you see, I have some difficult to understand how I'II communicate with my Eurotherm 3508, If you have time to help me, thanks you very much.Cath


ttt.png:
Loading Image...
krasserTerror
2008-06-24 09:10:06 UTC
Permalink
*This post is about direct connnection to the Eurotherms over ethernet, it has nothing to do with the OPC Server discussion*Hello (Bon Jour?) Cath,to answer your questions:1.) I use the MB Ethernet Master Query.vi2.) The regular iTools. See screenshot.<img src="Loading Image..." height="682" width="853"> &nbsp;You will have to configure the Eurotherms with EndSetup.exe. There you will also need the IP Adress of the Eurotherms. The IP-Address has to be configured directly on your Eurotherm controller.&nbsp; It is in the IO-Section. Consult your Eurotherm Manual for this.3.) You will need to supply the IP-Address and close the connection afterwards. The following screenshot shows how this can be done:<img src="Loading Image..."> Greetings,ThorstenMessage Edited by krasserTerror on 06-24-2008 03:56 AM
cath
2008-06-25 10:10:05 UTC
Permalink
Hello Thorsten or Bonjour, Thanks a lot for yours answers. I progress but all is not OK.I use the free iTools (find in the eurotherm site), do you thinks it is the problem. When I run a scrutation, iTools found any device but when I ping my IP adress, the green led run in the ethernet cable, the communication is OK. In Labview, with your Vi, the TCP connection is OK. I'm not still desesperate but....FriendlyCath
cath
2008-06-25 10:40:06 UTC
Permalink
Hi, great !The clone of your scheme is OK for me. I can read a register ! Now I must understand how give a command to my 3508.Thanks you very much et perhaps see you later...Cath
krasserTerror
2008-06-26 08:10:08 UTC
Permalink
You can give commands by writing registers: <img src="Loading Image...">
cath
2008-06-26 08:10:09 UTC
Permalink
Yes, Your scheme is perfect, now I can give a Tset command for the 1st loop of my controller. Perhaps do you know how to give a second Tset for the second loop ? I'II search. Perhaps, I can use the Channel H and The Channel J of the controller. I don't know. ThanksCath
krasserTerror
2008-06-26 08:10:12 UTC
Permalink
Sorry, I only have one loop in my controllers. But if you have iTools running you should be able to browse to the parameter and see the address.
cath
2008-06-26 12:40:10 UTC
Permalink
THANKS YOU VERY MUCH ALL. The connection between Labview and Eurotherm 3508 with ethernet is OK. Have a good day !Cath
Loading...