<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SQL for codesys 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/</id><updated>2022-03-29T16:51:19.301000Z</updated><subtitle>Recent posts to SQL for codesys 3.5</subtitle><entry><title>SQL for codesys 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/?limit=25#9f9f" rel="alternate"/><published>2022-03-29T16:51:19.301000Z</published><updated>2022-03-29T16:51:19.301000Z</updated><author><name>steve</name><uri>https://forge.codesys.com/u/steve/</uri></author><id>https://forge.codesys.com6dda99bc24462b3c6b41e4e0c856b666773f567b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I want to use an external PostgreSQL Database to log production events.&lt;/p&gt;
&lt;p&gt;Will any of the above libraries work fort that,&lt;br/&gt;
or will I have to use MySQL for it to be compatible? &lt;/p&gt;
&lt;p&gt;Would be very grateful for a hint.&lt;/p&gt;
&lt;p&gt;Greetings Steve&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SQL for codesys 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/?limit=25#2a0c" rel="alternate"/><published>2021-08-25T17:14:05.185000Z</published><updated>2021-08-25T17:14:05.185000Z</updated><author><name>alesam</name><uri>https://forge.codesys.com/u/alesam/</uri></author><id>https://forge.codesys.comcd181fffb46e5577b75221df1b14a793a10201a2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello! I am new to Codesys and I need to send data from my Festo PLC (CPX-CEC) to a microsoft sql database. I am basing myself on the examples from the library MsSQL for CODESYS and the ones from the library SQL4CODESYS. The problem is that with the mssql library, I can't even log into the database because the error "gc iLengthOfByteArrays is longer thanPLC can handle. " keeps appearing whenever I do anything. I tried changing the value of gc iLengthOfByteArrays to something smaller like it says to do in the user manual but if I put anything under 29 it tells me that there are numbers not defined and if I put anything above 29 I get the errror of the byte arrarys being longer than the PLC. I tried the SQL4CODESYS library and i also get an error relating to the lenght of the query being too long.&lt;/p&gt;
&lt;p&gt;What can i do? Where is my error? I really need help and i can't find any information on this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SQL for codesys 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/?limit=25#1dab" rel="alternate"/><published>2020-02-27T14:26:06.226000Z</published><updated>2020-02-27T14:26:06.226000Z</updated><author><name>mos89@yahoo.com</name><uri>https://forge.codesys.com/u/mos89-yahoo-com/</uri></author><id>https://forge.codesys.com6206eedf5c86b29c6c8a7b9ef9f083a20c120c69</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;murdemon hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
free of use MySQL lib for Codesys V3&lt;br/&gt;
&lt;a class="" href="https://www.dropbox.com/s/zm32vdsdav67ba1/MYSQL_RASPBERRY.projectarchive?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/zm32vdsdav67b ... chive?dl=0&lt;/a&gt;&lt;br/&gt;
free of use MySQL lib for Codesys V2&lt;br/&gt;
&lt;a class="" href="https://www.dropbox.com/s/9tsg8m4e34qfaih/MySQL_PLCWinNT.zip?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/9tsg8m4e34qfa ... T.zip?dl=0&lt;/a&gt;&lt;br/&gt;
And MSSQL lib same&lt;br/&gt;
&lt;a class="" href="https://www.dropbox.com/s/y9ib3jl3tvdcqlr/MSSQL_V3.rar?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/y9ib3jl3tvdcq ... 3.rar?dl=0&lt;/a&gt;&lt;br/&gt;
&lt;a class="" href="https://www.dropbox.com/s/7tl4kixx2v8j49x/MSSQL_PLCWinNT.zip?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/7tl4kixx2v8j4 ... T.zip?dl=0&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hello i try to use that lib on a win RTE 64 system i have some precompiled error, anybody to help me ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SQL for codesys 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/?limit=25#311f" rel="alternate"/><published>2020-02-27T14:26:05.793000Z</published><updated>2020-02-27T14:26:05.793000Z</updated><author><name>murdemon</name><uri>https://forge.codesys.com/u/murdemon/</uri></author><id>https://forge.codesys.com184f833e9d0ee7fd4ffbdbe49c793911b893f8c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;free of use MySQL lib for Codesys V3&lt;br/&gt;
&lt;a class="" href="https://www.dropbox.com/s/zm32vdsdav67ba1/MYSQL_RASPBERRY.projectarchive?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/zm32vdsdav67b ... chive?dl=0&lt;/a&gt;&lt;br/&gt;
free of use MySQL lib for Codesys V2&lt;br/&gt;
&lt;a class="" href="https://www.dropbox.com/s/9tsg8m4e34qfaih/MySQL_PLCWinNT.zip?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/9tsg8m4e34qfa ... T.zip?dl=0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And MSSQL lib same&lt;br/&gt;
&lt;a class="" href="https://www.dropbox.com/s/y9ib3jl3tvdcqlr/MSSQL_V3.rar?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/y9ib3jl3tvdcq ... 3.rar?dl=0&lt;/a&gt;&lt;br/&gt;
&lt;a class="" href="https://www.dropbox.com/s/7tl4kixx2v8j49x/MSSQL_PLCWinNT.zip?dl=0" rel="nofollow"&gt;https://www.dropbox.com/s/7tl4kixx2v8j4 ... T.zip?dl=0&lt;/a&gt; m &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SQL for codesys 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/?limit=25#a81c" rel="alternate"/><published>2020-02-27T14:26:04.540000Z</published><updated>2020-02-27T14:26:04.540000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com89dff9391f232ebae66887395259ea295f557c97</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; KevinR&lt;/p&gt;
&lt;p&gt;Hello Thom,&lt;/p&gt;
&lt;p&gt;you can also use the library for MySQL (see store: &lt;a class="" href="http://store.codesys.com/mysql-library-sl.html" rel="nofollow"&gt;http://store.codesys.com/mysql-library-sl.html&lt;/a&gt;.&lt;br/&gt;
The library doesn't need any 3rd-party software as ODBC-Drivers or other software, you can execute sql commands from your controller. &lt;/p&gt;
&lt;p&gt;If you have permissions and an compatible operating system, then you can also install an MySQL Server directly on your controller. &lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br/&gt;
Kevin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SQL for codesys 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/?limit=25#1ad3" rel="alternate"/><published>2020-02-27T14:26:04.115000Z</published><updated>2020-02-27T14:26:04.115000Z</updated><author><name>Thom</name><uri>https://forge.codesys.com/u/thom/</uri></author><id>https://forge.codesys.comabcb36aa7cb2abb520750a280be5fb3a0f51dae0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;span style="color: #0000FF;"&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I'm looking too about a SQL library for CodeSys. But I only want to manage a local database in a first time.&lt;/p&gt;
&lt;p&gt;So, SQL4CODESYS can exchange with a database store into a local memory of my PLC or I need other library ?&lt;/p&gt;
&lt;p&gt;Thomas.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SQL for codesys 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/?limit=25#d24e" rel="alternate"/><published>2020-02-27T14:26:03.688000Z</published><updated>2020-02-27T14:26:03.688000Z</updated><author><name>r.kunz</name><uri>https://forge.codesys.com/u/r-kunz/</uri></author><id>https://forge.codesys.com5e32444f3380f8c43b423b93bff0d29838b7d27e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Luca&lt;/p&gt;
&lt;p&gt;The SQL4CODESYS library uses the SysSocket library for communicating over TCP/IP to the SQL4automation Connector service.&lt;br/&gt;
If your system supports that, it should be possible to use SQL4automation to connect to any database that supports ODBC.&lt;/p&gt;
&lt;p&gt;Is there an ODBC driver for LiteSQL? Or did you mean SQLite?&lt;/p&gt;
&lt;p&gt;Roger&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SQL for codesys 3.5</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac346e7c76/?limit=25#8db8" rel="alternate"/><published>2020-02-27T14:26:02.392000Z</published><updated>2020-02-27T14:26:02.392000Z</updated><author><name>lucasys</name><uri>https://forge.codesys.com/u/lucasys/</uri></author><id>https://forge.codesys.com5d76398acac984994bdb688e51a407044921be3f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I use CoDeSys 3.5 SP3 for panels Wachendorff with linux operating system&lt;br/&gt;
I need connecting to database LiteSQL using SQL  by lines of code.&lt;/p&gt;
&lt;p&gt;I see one example end library SQL4CODESYS downloaded from the store&lt;/p&gt;
&lt;p&gt;Wachendorff with CoDeSys 3.5base  is sufficient for running application?&lt;/p&gt;
&lt;p&gt;thanks Luca&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>