<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for s45er</title><link href="https://forge.codesys.com/u/s45er/activity/" rel="alternate"/><id>https://forge.codesys.com/u/s45er/activity/</id><updated>2021-11-30T19:59:27.849000Z</updated><subtitle>Recent activity for s45er</subtitle><entry><title>s45er modified a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3" rel="alternate"/><published>2021-11-30T19:59:27.849000Z</published><updated>2021-11-30T19:59:27.849000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3</id><summary type="html">Hello, trying to integrate the C code in Automation Builder. The purpose of this code is to convert base64 encoded message. The C function will be called in CoDeSyS. The base64 converter code works successfully in MPLAB (running on PIC32) However when I try to integrate it, I cant do it, since in available data types I cant choose array of uint, only data types without array. The picture shows the dialogue of C code app in Automation Builder (CoDeSys data types). I had a thought maybe I can use a...</summary></entry><entry><title>s45er modified a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3" rel="alternate"/><published>2021-11-30T19:59:03.304000Z</published><updated>2021-11-30T19:59:03.304000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3</id><summary type="html">Hello, trying to integrate the C code in Automation Builder. The purpose of this code is to convert base64 encoded message. The C function will be called in CoDeSyS. The base64 converter code works successfully in MPLAB (running on PIC32) However when I try to integrate it, I cant do it, since in available data types I cant choose array of uint, only data types without array. The picture shows the dialogue of C code app in Automation Builder (CoDeSys data types). I had a thought maybe I can use a...</summary></entry><entry><title>s45er modified a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3" rel="alternate"/><published>2021-11-30T19:58:41.034000Z</published><updated>2021-11-30T19:58:41.034000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3</id><summary type="html">Hello, trying to integrate the C code in Automation Builder. The purpose of this code is to convert base64 encoded message. The C function will be called in CoDeSyS. The base64 converter code works successfully in MPLAB (running on PIC32) However when I try to integrate it, I cant do it, since in available data types I cant choose array of uint, only data types without array. The picture shows the dialogue of C code app in Automation Builder (CoDeSys data types). I had a thought maybe I can use a...</summary></entry><entry><title>s45er modified a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3" rel="alternate"/><published>2021-11-30T19:53:54.774000Z</published><updated>2021-11-30T19:53:54.774000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3</id><summary type="html">Hello, trying to integrate the C code in Automation Builder. The purpose of this code is to convert base64 encoded message. The C function will be called in CoDeSyS. The base64 converter code works successfully in MPLAB (running on PIC32) However when I try to integrate it, I cant do it, since in available data types I cant choose array of uint, only data types without array. The picture shows the dialogue of C code app in Automation Builder (CoDeSys data types). I had a thought maybe I can use a...</summary></entry><entry><title>s45er modified a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3" rel="alternate"/><published>2021-11-30T19:53:08.561000Z</published><updated>2021-11-30T19:53:08.561000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3</id><summary type="html">Hello, trying to integrate the C code in Automation Builder. The purpose of this code is to convert base64 encoded message. The C function will be called in CoDeSyS. The base64 converter code works successfully in MPLAB (running on PIC32) However when I try to integrate it, I cant do it, since in available data types I cant choose array of uint, only data types without array. The picture shows the dialogue of C code app in Automation Builder (CoDeSys data types). I had a thought maybe I can use a...</summary></entry><entry><title>s45er posted a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3" rel="alternate"/><published>2021-11-30T19:52:26.612000Z</published><updated>2021-11-30T19:52:26.612000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/33022bd8ee/?limit=25#d5a3</id><summary type="html">Hello, trying to integrate the C code in Automation Builder. The purpose of this code is to convert base64 encoded message. The C function will be called in CoDeSyS. The base64 converter code works successfully in MPLAB (running on PIC32) However when I try to integrate it, I cant do it, since in available data types I cant choose array of uint, only data types without array. The picture shows the dialogue of C code app in Automation Builder (CoDeSys data types). I had a thought maybe I can use a...</summary></entry><entry><title>s45er posted a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/751d38bfb0/?limit=25#66d4" rel="alternate"/><published>2021-11-20T19:29:14.576000Z</published><updated>2021-11-20T19:29:14.576000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/751d38bfb0/?limit=25#66d4</id><summary type="html">Sorry for many questions, can it be that this library suits only for limited PLC's, like plc 841 ? Meaning not all PLC are supported by OSCAT network library.</summary></entry><entry><title>s45er posted a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/751d38bfb0/?limit=25#283a/896a" rel="alternate"/><published>2021-11-20T19:20:31.465000Z</published><updated>2021-11-20T19:20:31.465000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/751d38bfb0/?limit=25#283a/896a</id><summary type="html">Checked the block, may be I have stupid question but how to enable the block, choose read/write option and how to select UDP ? I see in VAR list it is possible to select UDP option, but it internal variables, cant modify them.</summary></entry><entry><title>s45er posted a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/751d38bfb0/?limit=25#283a/b2b9" rel="alternate"/><published>2021-11-20T17:00:14.275000Z</published><updated>2021-11-20T17:00:14.275000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/751d38bfb0/?limit=25#283a/b2b9</id><summary type="html">Thank you for advise. Will try.</summary></entry><entry><title>s45er posted a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/751d38bfb0/?limit=25#6929" rel="alternate"/><published>2021-11-20T15:37:39.903000Z</published><updated>2021-11-20T15:37:39.903000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/751d38bfb0/?limit=25#6929</id><summary type="html">Hello, I am making the project, where gateway with UDP packet forwarder, connected to PLC. The gateway sends the data each minute using UDP to PLC controller, so gateway is initializer of communication. I looked up on OSCAT net library, but this does not suits me, since two blocks are required on both PLC to use UDP. Does someone has a project utilizing UDP communication, which can be used for PLC and gateway communication ?</summary></entry><entry><title>s45er posted a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6eb05dfd6b/?limit=25#342f/3497" rel="alternate"/><published>2021-11-20T15:27:41.116000Z</published><updated>2021-11-20T15:27:41.116000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6eb05dfd6b/?limit=25#342f/3497</id><summary type="html">Thank you, I took a look. But not exactly matching, since they propose to use two blocks of NET_VAR on both sides, of PLC. However I will use gateway with UDP packet forwarder connected to PLC. I believe I needed to specify from beginning what is needed.</summary></entry><entry><title>s45er posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6eb05dfd6b/?limit=25#19f7" rel="alternate"/><published>2021-11-16T10:14:04.925000Z</published><updated>2021-11-16T10:14:04.925000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6eb05dfd6b/?limit=25#19f7</id><summary type="html">I try to work with UDP packets in Codesys V2. Which is the best library to use for reading and writing UDP packets ?</summary></entry><entry><title>s45er posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/528d7c3d33/?limit=25#886b" rel="alternate"/><published>2021-11-14T17:39:23.422000Z</published><updated>2021-11-14T17:39:23.422000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/528d7c3d33/?limit=25#886b</id><summary type="html">Wanted to ask, does I need premium licence to use the C/C++ programming option on V3 ? I am trying to use this feature, however help option in Automation Builder says that: The project controller supports the integration of C code. So not all V3 is supporting C+C++ programming ? And why there is no info about V2 C/C++ programming ?</summary></entry><entry><title>s45er posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/26ee3ca4d4/?limit=25#f113" rel="alternate"/><published>2021-11-11T01:24:05.288000Z</published><updated>2021-11-11T01:24:05.288000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/26ee3ca4d4/?limit=25#f113</id><summary type="html">Hello, I have a C code which performs encryption/decryption. I want to use this a C code in the CODESYS project, to avoid hard translation to ST. If there possibility to utilize C functions in CODESYS ? And, if yes can I call them in ST code ?</summary></entry><entry><title>s45er posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aa2692e262/?limit=25#f97a" rel="alternate"/><published>2021-10-12T13:33:16.926000Z</published><updated>2021-10-12T13:33:16.926000Z</updated><author><name>s45er</name><uri>https://forge.codesys.com/u/s45er/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/aa2692e262/?limit=25#f97a</id><summary type="html">Hello, I am making the project which will decrypt/encrypt payload and calculate CMAC, I need to use AES128 function in ECB mode, I checked the CmpCrypto.library and it doesn't support ECB mode, the library support CBC mode. What can I do in this situation ? Should I convert to ST language, the AES128 ECB library using the https://github.com/kokke/tiny-AES-c/blob/master/aes.c project code as source ?</summary></entry></feed>