<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / PFC100 DbDrv]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=394&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=394"/>
	<updated>2018-02-19T06:21:20Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=394</id>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1901#p1901"/>
		<content type="html"><![CDATA[<p>Hi Adam,<br />thanks for your message. Glad I could help.</p><p>Kind regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2018-02-19T06:21:20Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1901#p1901</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1900#p1900"/>
		<content type="html"><![CDATA[<p>Hi Jaroslav,</p><p>Thank you for that, it worked. </p><p>All the best,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2018-02-17T18:48:12Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1900#p1900</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1897#p1897"/>
		<content type="html"><![CDATA[<p>Hi Adam,<br />sorry for the delay. On my PFC200 the libmaodbc.so file is located directly in /usr/lib directory. Please check it with <br />ls /usr/lib/libmaodbc.*</p><p>Putting <br />Driver = /usr/lib/libmaodbc.so <br />into /etc/odbcinst.ini does the trick for me.</p><p>Let me know.</p><p>Kind regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2018-02-05T16:18:32Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1897#p1897</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1882#p1882"/>
		<content type="html"><![CDATA[<p>Thank you for your reply Milan,</p><p>It seems the directory /usr/lib/odbc (or any odbc directory) does not exist on my WAGO. I have tried installing the latest version of the library again, but am finding the same thing. Is there something obvious I am missing as to why the directory isn&#039;t being created?</p><p>Regards,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2018-01-22T13:34:16Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1882#p1882</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1877#p1877"/>
		<content type="html"><![CDATA[<p>Hi Adam,<br />Key problem seems be &quot; &#039;libmaobdc.so&#039; : file not found&quot;. Possible reasons are:<br />1. Check, if file is on your WAGO (e.g. if instalation in point 2 of Tomas list not failed). On my computer it is in directory /usr/lib/odbc.<br />2. Try write references on this file into odbcinst.ini with whole path, e.g. <br />&#160; &#160; &#160; &#160; &#160; Driver = /usr/lib/odbc/libmaodbc.so<br />instead<br />&#160; &#160; &#160; &#160; &#160; Driver = libmaodbc.so</p><p>3. Install latest version of llibrary, e.g.<br />wget <a href="http://download.rexcontrols.cz/repositories/wago-rex-2.50.7-testing/mdbodbc_3.0.2_arm.ipk" rel="nofollow">http://download.rexcontrols.cz/reposito … .2_arm.ipk</a><br />ipkg install mdbodbc_3.0.2_arm.ipk</p><p>Regards,<br />Milan Stetina</p>]]></content>
		<author>
			<name><![CDATA[stetina]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=9</uri>
		</author>
		<updated>2018-01-15T15:29:32Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1877#p1877</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1872#p1872"/>
		<content type="html"><![CDATA[<p>Hi Tomas,</p><p>Happy New Year to you and everyone at Rex. i had to work on other projects for a while, so have only just had a chance to implement a MySQl connection.</p><p>I followed your instructions, but unfortunately I am getting the following errors, and no data is being input into my database; it appears to not be able to find &#039;libmaobdc.so&#039;. do you have any suggestions?</p><p>2018-01-13;16:13:32.889;Error;Server: Connection from [::ffff:192.168.1.157]:51120 finished with error: Timeout (-102);<br />2018-01-13;16:13:56.359;Error;Server: Connection from [::ffff:192.168.1.157]:51123 finished with error: Timeout (-102);<br />2018-01-13;16:14:05.929;Error;DBDRV: connect to &#039;DRIVER=MySQL;SERVER=192.168.1.157;PORT=3306;DATABASE=sitecontrol;UID=BMS;PWD=****************;;&#039; failed!!!! ([01000] [unixODBC][Driver Manager]Can&#039;t open lib &#039;libmaobdc.so&#039; : file not found);</p><p>Thanks,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2018-01-13T16:19:06Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1872#p1872</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1807#p1807"/>
		<content type="html"><![CDATA[<p>Hi Adam,</p><p>MySQL connection on WAGO is fixed. Please, follow the instructions below:</p><p>1. wget <a href="http://download.rexcontrols.cz/repositories/wago-rex-2.50.6-testing/mdbodbc_3.0.2_arm.ipk" rel="nofollow">http://download.rexcontrols.cz/reposito … .2_arm.ipk</a><br />2. ipkg install mdbodbc_3.0.2_arm.ipk<br />3. nano /etc/odbcinst.ini<br />4. Add following lines to the file:<br />[MySQL]<br />Driver = libmaodbc.so<br />Description = MariaDB Connector/ODBC v.3.0</p><p>Hope it helps.</p><p>Cheers, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-11-10T10:26:58Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1807#p1807</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1804#p1804"/>
		<content type="html"><![CDATA[<p>Hi Adam,<br />thanks for reporting this. I have fixed it in the post above.</p><p>Best regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2017-11-08T07:27:10Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1804#p1804</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1803#p1803"/>
		<content type="html"><![CDATA[<p>Hi Tomáš,</p><p>Thank you again for sorting out the drivers. I have installed them and the MSSQL side of things is now working perfectly.</p><p><span class="bbs">One note for the people like me reading this in the future who are not fully fluent in Linux, line 2 of the instructions above should read: </span></p><p><span class="bbs">2. ipkg install freetds_1.00.67_arm.ipk</span> <span style="color: #FF0000">- FIXED</span></p><p>Thank you again, and as ever your support is excellent and very much appreciated.</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2017-11-08T00:13:03Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1803#p1803</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1802#p1802"/>
		<content type="html"><![CDATA[<p>Hi Tomáš,</p><p>Thank you very much for that. I will give it a go and let you know how I get on.</p><p>The project also involves connections to a mySQL database as well, if you are able to help me with the libraries for that as well I would be very appreciative.</p><p>Cheers,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2017-11-07T15:21:53Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1802#p1802</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1800#p1800"/>
		<content type="html"><![CDATA[<p>Hello Adam,</p><p>there are missing libraries for connection to particular databases. In order to use our ODBC driver for MSSQL you need to install FreeTDS library and also configure unixODBC connector as follows:</p><p>1. wget <a href="http://download.rexcontrols.cz/repositories/wago-rex-2.50.5/freetds_1.00.67_arm.ipk" rel="nofollow">http://download.rexcontrols.cz/reposito … 67_arm.ipk</a><br />2. ipkg install freetds_1.00.67_arm.ipk<br />3. nano /etc/odbcinst.ini<br />4. Add following lines to the file (should be blank at the beginning):<br />[MSSQL]<br />Description=Microsoft SQL (FreeTDS) Driver<br />Driver=libtdsodbc.so</p><p>Now you should be able to connect to your database using REX. Let me know If you find any difficulties.<br />Do you also plan to connect to any other database?</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-11-03T16:05:55Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1800#p1800</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1797#p1797"/>
		<content type="html"><![CDATA[<p>Thank you Jaroslav, sorry for pestering you.</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2017-11-02T12:50:25Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1797#p1797</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1795#p1795"/>
		<content type="html"><![CDATA[<p>Dear Adam,<br />our developers are on it. I&#039;m sorry it takes so long. I&#039;ll let you know as soon as I have some news. Thanks for understanding.</p><p>Kind regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2017-11-02T11:40:34Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1795#p1795</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1794#p1794"/>
		<content type="html"><![CDATA[<p>Hi Jaroslav,</p><p>Have you had any luck with with ODBC driver for MSSQL/MYSQL yet? Is there any more information I can send over to help?</p><p>Cheers,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2017-11-01T19:02:59Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1794#p1794</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PFC100 DbDrv]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1787#p1787"/>
		<content type="html"><![CDATA[<p>Hi Jaroslav,</p><p>In answer to your questions:</p><p>- The was not an instance of RExDraw or RexView connected to the device as far as I know<br />- There may well have been a HMI webpage open<br />- The device was communicating with 3 other devices via Modbus over TCPIP</p><p>I am happy to send you a copy of the project, I just request it is not shared outside of Rex Controls. I have sent it the support@rexcontrols.com address for your attention.</p><p>Have you had any progress with the ODBC driver for MSSQL?</p><p>Thank you very much for your help on this.</p><p>Regards,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2017-10-25T22:56:42Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1787#p1787</id>
	</entry>
</feed>
