<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/libnodave/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/libnodave/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 24 Aug 2017 15:33:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libnodave/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>segmentation fault</title><link>https://sourceforge.net/p/libnodave/support-requests/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have used your lib before successfully.&lt;br/&gt;
After long time, I have an another project now and I am using my own old libnodave related files.&lt;br/&gt;
My old working system was QT4. Now I am using QT5 on win8.1.&lt;br/&gt;
I am directly loading libnodave.dll in my software.&lt;br/&gt;
Compilitation is succesfull but when software comes to make a connection,&lt;br/&gt;
at daveNewConnection(..) function call, my software crashes with seg fault error.&lt;br/&gt;
opensocketw function works before this call, I am monitoring it.&lt;br/&gt;
Plc accepts connection.&lt;br/&gt;
I am stuck, any help is highly appreciated.&lt;br/&gt;
Thanks. Ali.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ali Kanarya</dc:creator><pubDate>Thu, 24 Aug 2017 15:33:50 -0000</pubDate><guid>https://sourceforge.netdba93fa2b87ea351fef56e7c4d7657c586b53fe5</guid></item><item><title>S7  200 FROM ETH</title><link>https://sourceforge.net/p/libnodave/support-requests/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hy, can Libnodave access S7-200 by ethernet (using a CP241) Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mario</dc:creator><pubDate>Wed, 27 Jan 2016 23:01:51 -0000</pubDate><guid>https://sourceforge.net8de3daae62e2f5a9a2de7761b752f70658444d5a</guid></item><item><title>Turn off debug screen</title><link>https://sourceforge.net/p/libnodave/support-requests/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, can you show me how to turn off the debug screen?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nguyễn Phan Hùng Thuận</dc:creator><pubDate>Thu, 01 Oct 2015 18:41:04 -0000</pubDate><guid>https://sourceforge.net5439d161ec09387a0a2314140c719ab0e7dc6a5d</guid></item><item><title>Segmentation fault and Timeout daveReadbytes and daveGetU16</title><link>https://sourceforge.net/p/libnodave/support-requests/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using libnodave on Linux system, to read/write data serially using PPI/RS232 cable between PC and PLC S7-200. I have managed to start/stop PLC and writebytes to PLC. BUt for some unknown reason I did not manage to read bytes. I have used libnodave version 0.8.5.1 using c programming language. when I do the following call I always get a segmentation fault on daveGetU16(dc) function call..&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;                        &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nx"&gt;daveReadBytes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;dc&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;daveOutputs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;NULL&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                          &lt;span class="nx"&gt;read_buf&lt;/span&gt;&lt;span class="cp"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="cp"&gt;]&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nx"&gt;daveGetU16&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;dc&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="nx"&gt;Also&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nx"&gt;I&lt;/span&gt; &lt;span class="nx"&gt;follow&lt;/span&gt; &lt;span class="nx"&gt;the&lt;/span&gt; &lt;span class="nx"&gt;following&lt;/span&gt; &lt;span class="nx"&gt;call&lt;/span&gt; &lt;span class="nx"&gt;format&lt;/span&gt; &lt;span class="nx"&gt;still&lt;/span&gt; &lt;span class="nx"&gt;I&lt;/span&gt; &lt;span class="nx"&gt;am&lt;/span&gt; &lt;span class="nx"&gt;not&lt;/span&gt; &lt;span class="nx"&gt;able&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;read&lt;/span&gt; &lt;span class="nx"&gt;any&lt;/span&gt; &lt;span class="nx"&gt;bytes&lt;/span&gt; &lt;span class="nx"&gt;from&lt;/span&gt; &lt;span class="nx"&gt;PLC&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="nx"&gt;I&lt;/span&gt; &lt;span class="nx"&gt;always&lt;/span&gt; &lt;span class="nx"&gt;get&lt;/span&gt; &lt;span class="nx"&gt;timeout&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;

                        &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nx"&gt;daveReadBytes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;dc&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;daveOutputs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;read_buf&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
                        &lt;span class="nx"&gt;printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"cnt=%d,res=%d, Reading_Memory BUFFER=%d \n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;cnt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;read_buf&lt;/span&gt;&lt;span class="cp"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="cp"&gt;]&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

 &lt;span class="nx"&gt;DId&lt;/span&gt; &lt;span class="nx"&gt;anyone&lt;/span&gt; &lt;span class="nx"&gt;make&lt;/span&gt; &lt;span class="nx"&gt;the&lt;/span&gt; &lt;span class="nx"&gt;readbytes&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;work&lt;/span&gt; &lt;span class="nx"&gt;on&lt;/span&gt; &lt;span class="nx"&gt;LINUX&lt;/span&gt; &lt;span class="kd"&gt;with&lt;/span&gt; &lt;span class="nx"&gt;S7&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;200&lt;/span&gt; &lt;span class="nx"&gt;PLC&lt;/span&gt; &lt;span class="nx"&gt;using&lt;/span&gt; &lt;span class="nx"&gt;C&lt;/span&gt; &lt;span class="nx"&gt;programming&lt;/span&gt; &lt;span class="nx"&gt;language&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="nx"&gt;Any&lt;/span&gt; &lt;span class="nx"&gt;suggestions&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;

 &lt;span class="nx"&gt;Thanks&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nx"&gt;your&lt;/span&gt; &lt;span class="nx"&gt;help&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="nx"&gt;Appreciated&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Clive</dc:creator><pubDate>Tue, 11 Aug 2015 15:32:24 -0000</pubDate><guid>https://sourceforge.net4ca35109c1ffce217093f36c095f6c56461509dd</guid></item><item><title>#12 Can not connect to PLC when third node (HMI) is added to the MPI bus</title><link>https://sourceforge.net/p/libnodave/support-requests/12/?limit=25#3027</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;turned out that this is not really a software issue:&lt;/p&gt;
&lt;p&gt;1) they changed the power supply of some component (``change USB power supply to S7 power supply''---um, yeah)&lt;/p&gt;
&lt;p&gt;-&amp;gt; connection worked when PC was connected to the Profibus after HMI and PLC were running&lt;/p&gt;
&lt;p&gt;2) the PC must not use MPI address 0 (PLC has address 2, HMI as address 7)&lt;/p&gt;
&lt;p&gt;-&amp;gt; connection worked also when starting the machines with all parts connected&lt;/p&gt;
&lt;p&gt;3) then, initialisation still failed some times, which was fixed by replacing the MPI-USB interface with what seems to be a less defective one.&lt;/p&gt;
&lt;p&gt;To summarise: Don't stay on MPI address 0, then blame the hardware.&lt;/p&gt;
&lt;p&gt;Good thing that no one wasted time on this :-)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Moritz Rathgeber</dc:creator><pubDate>Tue, 05 May 2015 15:05:08 -0000</pubDate><guid>https://sourceforge.net56fcb2df0c985971f25b4118a13337df8d118226</guid></item><item><title>Can not connect to PLC when third node (HMI) is added to the MPI bus</title><link>https://sourceforge.net/p/libnodave/support-requests/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I use the Prozess-Informatik 9352-USB MPI-USB interface, PLCVCOM, and libnodave to connect to a PLC. This works as long as the MPI-Interface and the PLC are the only devices on the bus (output of testMPI -d in attached file libnodave0.8.4.4-mpi-no-hmi.txt). But when the HMI is also connected to the same MPI bus, daveConnectPLC() fails with timeout (libnodave0.8.4.4-mpi-with-hmi.txt). Communication between PLC and HMI works however (or so I'm told, I'm not on site).&lt;/p&gt;
&lt;p&gt;daveProtoMPI2 behaves the same way, daveProtoMPI3 successfully completes initialisation, but later _daveGetResponseMPI3 fails with -10 (with or without HMI). I also tried libnodave 0.8.5: No difference.&lt;/p&gt;
&lt;p&gt;The PLC is a S7 313C, the HMI is Provicom MT-50.&lt;/p&gt;
&lt;p&gt;This is the first time we use MPI (always used WinAC RTX before), so I might miss something obvious.&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Moritz Rathgeber</dc:creator><pubDate>Thu, 12 Mar 2015 13:54:17 -0000</pubDate><guid>https://sourceforge.net7ecd62119d122a220f1ac5cf30d578fe5e997ea2</guid></item><item><title>Android read data from different datablocks</title><link>https://sourceforge.net/p/libnodave/support-requests/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hey guys,&lt;br /&gt;
im trying to read 4 integers from 4 different datablocks at one time. &lt;br /&gt;
Currently i do this in a for-loop with 4 "read orders". But it takes about 2 seconds for it.&lt;br /&gt;
Is there a way to do those 4 reads in one "big read"?&lt;br /&gt;
this is what i have:&lt;/p&gt;
&lt;p&gt;for (int i = 0; i &amp;lt; DBnums.length; i++) {&lt;br /&gt;
String inst_no = DataIsoTCP.ReadData(Nodave.DB, DBnums&lt;span&gt;[i]&lt;/span&gt;, 4, 2, 0);&lt;br /&gt;
System.out.println(inst_no + " " + DBnames&lt;span&gt;[i]&lt;/span&gt;);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;hope someone can help me&lt;/p&gt;
&lt;p&gt;greetz Stuck&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Florian</dc:creator><pubDate>Thu, 30 Jan 2014 10:21:01 -0000</pubDate><guid>https://sourceforge.net89793b4d4e6c4db4cc20bf8fcac0f8369a0e356c</guid></item><item><title>Java Eclipse S7300 TCP_IP</title><link>https://sourceforge.net/p/libnodave/support-requests/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello is there anyone who can help me with a simple Java or android project that can communicate with a S7300 PLC via TCP_IP. I found some examples, but they have not worked. a simple project where I can read and write 10 bytes will be fine. I would be very grateful if someone would help me start I use Eclipse as JDK&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Flemming Astrup</dc:creator><pubDate>Sun, 27 Jan 2013 11:30:25 -0000</pubDate><guid>https://sourceforge.neta3f8b65d868de6d61da231d0c44ad6cebb088c4a</guid></item><item><title>iPad with libnodave</title><link>https://sourceforge.net/p/libnodave/support-requests/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I was wondering if anyone has communicated to a siemens plc through an iPad or iPhone.&lt;br /&gt;
Would it be possible to do it with the library libnodave?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Otto Gutierrez</dc:creator><pubDate>Sun, 07 Oct 2012 13:06:42 -0000</pubDate><guid>https://sourceforge.net1cb42fc51a2a1e4beed896c406eee7331e101164</guid></item><item><title>Connection error S7-200 - help</title><link>https://sourceforge.net/p/libnodave/support-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;br /&gt;
I have a s7-200 plc connected by USB/PPI calbe 6ES7 901-3db30-0XA0 using WINDOWS XP PRO SP3.&lt;br /&gt;
I am able to manage and work with plc using MicroWin .&lt;br /&gt;
I downloaded the last version of libnodave-0.8.4.6 and I tried to connect with some exe test file as testPPI.exe under "win folder", but I am not able to reach PLC. I used also .cs file in order to create my application but the connection doesn't work. I noted that cable it's not posted (using device managment windows) under LPT/COM but under HID (human interface device): maybe this the problem? If yes, did you have suggestion in order to estabilish a connection with plc? maybe here the error "(libnodave.setPort(args[0],"9600",'E)". any suggestion are welcome!&lt;br /&gt;
Hoping for answer and thank you in advance,&lt;br /&gt;
best regards,&lt;/p&gt;
&lt;p&gt;Luciano&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CavalloPazzo</dc:creator><pubDate>Fri, 07 Sep 2012 16:08:20 -0000</pubDate><guid>https://sourceforge.net2b4156cf3be7c959697275f92f3cd8af724cb0d7</guid></item></channel></rss>