<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for damian177</title><link href="https://forge.codesys.com/u/damian177/activity/" rel="alternate"/><id>https://forge.codesys.com/u/damian177/activity/</id><updated>2025-05-17T09:48:55.144000Z</updated><subtitle>Recent activity for damian177</subtitle><entry><title>damian177 modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eb88afabd7/?limit=25#b54f" rel="alternate"/><published>2025-05-17T09:48:55.144000Z</published><updated>2025-05-17T09:48:55.144000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/eb88afabd7/?limit=25#b54f</id><summary type="html">Hi, Two years ago i used EdgeBox-RPI-200 with Codesys and serial ports works fine. Now I try run the same application but only new runtime but serial ports doesnt works: I have two serial: /dev/ttyACM0 - RS485 /dev/ttyACM1 - RS232 and below configuration in my sudo nano /etc/CODESYSControl_User.cfg: [SysCom] Linux.Devicefile=/dev/ttyACM But it doesnt work. what can i do ?</summary></entry><entry><title>damian177 posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eb88afabd7/?limit=25#b54f" rel="alternate"/><published>2025-05-16T18:07:16.997000Z</published><updated>2025-05-16T18:07:16.997000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/eb88afabd7/?limit=25#b54f</id><summary type="html">Hi, Two years ago i used EdgeBox-RPI-200 with Codesys and serial ports works fine. Now I try run the same application but only new runtime but serial ports doesnt works: I have two serial: /dev/ttyACM0 /dev/ttyACM0 and belo configuration in my sudo nano /etc/CODESYSControl_User.cfg : [SysCom] Linux.Devicefile=/dev/ttyACM But i doesnt work. what can i do ?</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#636d" rel="alternate"/><published>2025-04-04T08:54:34.752000Z</published><updated>2025-04-04T08:54:34.752000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#636d</id><summary type="html">Hi, How to initialize following url: https://mydomain.pl/api/rce-lte?$filter=doba eq '2025-03-18' in sURL : STRING variable ? regards</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#636d" rel="alternate"/><published>2025-04-04T08:54:05.653000Z</published><updated>2025-04-04T08:54:05.653000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#636d</id><summary type="html">Hi, How to initialize following url: https://mydomain.pl/api/rce-lte?$filter=doba eq'2025-03-18' in sURL : STRING variable ? regards</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#8fc6" rel="alternate"/><published>2025-04-04T08:52:57.817000Z</published><updated>2025-04-04T08:52:57.817000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#8fc6</id><summary type="html">Probably I solved using below notation: sURL : STRING := 'https://mydomain.pl/api/rce-lte?$$filter=doba eq $'2025-03-18$'';</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#8fc6" rel="alternate"/><published>2025-04-04T08:52:34.523000Z</published><updated>2025-04-04T08:52:34.523000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#8fc6</id><summary type="html">Probably I solved using below notation: sURL : STRING := 'https://mydomain.pl/api/rce-lte?$$filter=doba eq $'2025-03-18$'';</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#636d" rel="alternate"/><published>2025-04-03T12:42:09.171000Z</published><updated>2025-04-03T12:42:09.171000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a90863b9b9/?limit=25#636d</id><summary type="html">Hi, How to initialize following url: "https://mydomain.pl/api/rce-lte?$filter=doba eq 2025-03-18" in sURL : STRING(1024)= variable ? regards</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#aaf0" rel="alternate"/><published>2024-09-08T17:31:35.723000Z</published><updated>2024-09-08T17:31:35.723000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#aaf0</id><summary type="html">Unfortunately , Data Source Manager from Codesys has any problem with OPC UA Server delivered with ifix SCADA. Someone can help me add manually any tag from UaExpert to codesys ? How should be was a structure for an example of one tag ? I try like in attachement, but question is , if it a good idea ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#aaf0" rel="alternate"/><published>2024-09-08T17:09:39.031000Z</published><updated>2024-09-08T17:09:39.031000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#aaf0</id><summary type="html">Unfortunately , Data Source Manager from Codesys has any problem with OPC UA Server delivered with ifix SCADA. Someone can help me add manually any tag from UaExpert to codesys ? How should be was a structure for an example of one tag ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aa6dfac1ff/?limit=25#78a0" rel="alternate"/><published>2024-09-08T14:19:34.831000Z</published><updated>2024-09-08T14:19:34.831000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/aa6dfac1ff/?limit=25#78a0</id><summary type="html">everything works well.</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aa6dfac1ff/?limit=25#7046" rel="alternate"/><published>2024-09-08T10:57:23.421000Z</published><updated>2024-09-08T10:57:23.421000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/aa6dfac1ff/?limit=25#7046</id><summary type="html">In /etc/CODESYSControl.cfg I only added: [SysCom] Linux.Devicefile=/dev/ttyS Is ok ? Now in Codesys I should have mapping like below : COM1 - ttyS0 COM2 - ttyS1 ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aa6dfac1ff/?limit=25#7046" rel="alternate"/><published>2024-09-08T10:56:53.293000Z</published><updated>2024-09-08T10:56:53.293000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/aa6dfac1ff/?limit=25#7046</id><summary type="html">In /etc/CODESYSControl.cfg I only added: [SysCom] Linux.Devicefile=/dev/ttyS Is ok ? Now in Codesys I should have mapping like below : COM1 - ttyS0 COM2 - ttyS1</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aa6dfac1ff/?limit=25#5c34" rel="alternate"/><published>2024-09-08T10:53:04.988000Z</published><updated>2024-09-08T10:53:04.988000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/aa6dfac1ff/?limit=25#5c34</id><summary type="html">Hi, For many years my application has been running on Raspberry Pi. Now I have ported the application to a PC running with Debian OS with Codesys Control for Linux SL. Most of things works. But some is wrong with serial ports. Firstly , I wonder why /etc/CODESYSControl.cfg in Debian is empty ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#a286" rel="alternate"/><published>2024-09-04T10:17:10.711000Z</published><updated>2024-09-04T10:17:10.711000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#a286</id><summary type="html">After 3 hours is some progress - please find in attachment - progress1.jpg</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#2b2d" rel="alternate"/><published>2024-09-04T07:05:17.668000Z</published><updated>2024-09-04T07:05:17.668000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#2b2d</id><summary type="html">In my OPC UA Server is about 12 thousands tags. Can by possible that downloading tags from OPC UA Server lasts a long time , and when expires about 2 hours (demo license time) that downloading freezes ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#bfa3" rel="alternate"/><published>2024-09-03T17:49:22.814000Z</published><updated>2024-09-03T17:49:22.814000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b151776724/?limit=25#bfa3</id><summary type="html">Hi, In Codesys V3.5 SP20, using Data Source Manager I am trying to connect to the OPC UA server and receive tags from it. The connection is ok, but the Codesys have a problem with downloading Tags group. The window (downloadingTags.jpg in attachement) never stop. After waiting for a while, I disconnect the connection and only the Server group remains downloaded, with OPC UA server diagnostic data (and this is read in Codesys). Of course, I tried connected via another OPC UA client : UaExpert , and...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2932eb631/?limit=25#4ebc" rel="alternate"/><published>2024-09-03T10:04:21.225000Z</published><updated>2024-09-03T10:04:21.225000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a2932eb631/?limit=25#4ebc</id><summary type="html">When I try connect by other OPC UA Client everything is ok. Look like codesys have a problem with 'Tags' group. It possible add manually measurements form 'tag' group to codesys ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2932eb631/?limit=25#d9f0" rel="alternate"/><published>2024-09-03T06:24:42.952000Z</published><updated>2024-09-03T06:24:42.952000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a2932eb631/?limit=25#d9f0</id><summary type="html">The OPC UA Client Example with webvisu is working. Now I would like to use Datasource to connect to OPC UA Server but some is wrong because nothing to do when I try list tags from server - please find in attachement</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2932eb631/?limit=25#e863" rel="alternate"/><published>2024-09-02T12:30:36.501000Z</published><updated>2024-09-02T12:30:36.501000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a2932eb631/?limit=25#e863</id><summary type="html">Everything works. Any can help me with change the OPC UA Client Example to my needed ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2932eb631/?limit=25#70b4" rel="alternate"/><published>2024-08-30T11:20:00.149000Z</published><updated>2024-08-30T11:20:00.149000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a2932eb631/?limit=25#70b4</id><summary type="html">Hi, Today I ran OPC UA Client Example in 1.1.0.0 version. I opened example visualisation and I tried connected to my OPC UA Server. In first steps looks good but connection was terminate with error OpcUa_BadLicenseLimitsExceeded. I can't test OPC UA Client witohut CODESYS OPC UA Client SL license ? Regards</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9d110bab44/?limit=25#7b9a" rel="alternate"/><published>2024-05-28T12:07:03.962000Z</published><updated>2024-05-28T12:07:03.962000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/9d110bab44/?limit=25#7b9a</id><summary type="html">Hi, I am running my application on device based on Compute Module 4S (Cortex-A72 (ARMv8) 64-bit ). On this device I installed RPi Runtime in 4.11.0.0 version. In my project I use device: Codesys Control for Raspberry Pi 64SL and my project works, but I actually do not have acces to all GPIO's , because GPIOs Compute Module is available only in 3.5.16.0 version and it doesn't work. Properly work GPIOs B+/Pi2 but using this device I do not have acces to all GPIO's in CM4S. Anyone of can tell me how...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9d110bab44/?limit=25#7b9a" rel="alternate"/><published>2024-05-28T12:05:51.972000Z</published><updated>2024-05-28T12:05:51.972000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/9d110bab44/?limit=25#7b9a</id><summary type="html">Hi, I running my application od device based on Compute Module 4S (Cortex-A72 (ARMv8) 64-bit ). On this device I installed RPi Runtime in 4.11.0.0 version. In my project I use device: Codesys Control for Raspberry Pi 64SL and my project works, but I actually do not have acces to all GPIO's , because GPIOs Compute Module is available only in 3.5.16.0 version and it doesn't work. Properly work GPIOs B+/Pi2 but using this device I do not have acces to all GPIO's in CM4S. Anyone of can tell me how add...</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/30bf008f88/?limit=25#d0bc" rel="alternate"/><published>2024-04-27T10:38:44.531000Z</published><updated>2024-04-27T10:38:44.531000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/30bf008f88/?limit=25#d0bc</id><summary type="html">Hi, Like in tpoic I hahe a problem with running DIO on RevPi Core SE working with Codesys. Look in attachments. Any idea how solve the problem ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/30bf008f88/?limit=25#d0bc" rel="alternate"/><published>2024-04-27T10:38:18.514000Z</published><updated>2024-04-27T10:38:18.514000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/30bf008f88/?limit=25#d0bc</id><summary type="html">Hi, Like in tpoic I habe a problem with running DIO on RevPi Core SE working with Codesys. Look in attachments. Any idea how solve the problem ?</summary></entry><entry><title>damian177 posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/20fa7bd434/?limit=25#d8a4" rel="alternate"/><published>2024-04-25T06:55:46.571000Z</published><updated>2024-04-25T06:55:46.571000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/20fa7bd434/?limit=25#d8a4</id><summary type="html">Hi, In my application I use table elemnt with filled by STRING ARRAY. I would like to implement the following functionality : When I click on second row, that this row will be cleared. Anyone can help me?</summary></entry><entry><title>damian177 posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/46cfc240ff/?limit=25#3957" rel="alternate"/><published>2024-04-23T17:42:16.934000Z</published><updated>2024-04-23T17:42:16.934000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/46cfc240ff/?limit=25#3957</id><summary type="html">Hi, In my visualisation I have a "Calendar" control. I would like save day and month which will be clicket by operator on this control . forexample save in string array. How do this ?</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4146466bda/?limit=25#6dcf" rel="alternate"/><published>2023-12-08T13:06:15.020000Z</published><updated>2023-12-08T13:06:15.020000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4146466bda/?limit=25#6dcf</id><summary type="html">Hi, I using persistence variables like below: VAR_GLOBAL PERSISTENT RETAIN id_worker1: ARRAY [0..3] OF INT := [231,234,176,222]; id_worker2: ARRAY [0..3] OF INT := [211,129,125,221]; Initial values can cause some problems?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4146466bda/?limit=25#6dcf" rel="alternate"/><published>2023-12-08T12:02:39.155000Z</published><updated>2023-12-08T12:02:39.155000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4146466bda/?limit=25#6dcf</id><summary type="html">Hi, I using persistence variables like below: VAR_GLOBAL PERSISTENT RETAIN id_worker1: ARRAY [0..3] OF INT := [231,234,176,222]; id_worker2: ARRAY [0..3] OF INT := [211,129,125,221]; I have declared with initial values ? may this cause some problems?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ea07d6c234/?limit=25#15f8" rel="alternate"/><published>2023-10-16T07:00:59.658000Z</published><updated>2023-10-16T07:00:59.658000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/ea07d6c234/?limit=25#15f8</id><summary type="html">You already know how clear log ? In codesys I am reading twenty Modbus TCP Devices. When several of those doesn't response , the logs is grovs very fast and my PLC hangs.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/95ffda5235/?limit=25#6fde" rel="alternate"/><published>2023-10-11T08:27:48.038000Z</published><updated>2023-10-11T08:27:48.038000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/95ffda5235/?limit=25#6fde</id><summary type="html">Hi, In my project I have MQTT Client like below: //mqtt client mqttClient( xEnable:=connect_to_broker, sHostname :=sHostname, uiPort:= uiPort, xUseTLS:=FALSE, wsUsername:="", wsPassword:="", xCleanSession:=TRUE, sClientId:='694d45587761676f4b6f6e74656e6572', pbWillMessage := ADR(sWillMessage), uiWillMessageSize:=DINT_TO_UINT(Stu.StrLenA(ADR(sWillMessage))), xWillRetain:=FALSE, udiTimeOut:= 10000000); And ten subscriber's , one of those is below: //subscribe a topic1 mqttSubscriber_S1(xEnable:=subscribe,...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/272ab36618/?limit=25#d336" rel="alternate"/><published>2023-10-10T06:16:43.126000Z</published><updated>2023-10-10T06:16:43.126000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/272ab36618/?limit=25#d336</id><summary type="html">Probably I have the same problem, When I connect to broker and try subscribe to much topics then the client return error, did you solve your problem ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/af1e1dc774/?limit=25#3930" rel="alternate"/><published>2023-10-05T12:04:04.064000Z</published><updated>2023-10-05T12:04:04.064000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/af1e1dc774/?limit=25#3930</id><summary type="html">Hi, so far I have only used one com port - built-in interface in RPi - RS232 (dev/serial0) as COM1 in Codesys, and my CODESYControl_User.cfg have congiuration like below: [SysCom] Linux.Devicefile=/dev/serial portnum := COM.SysCom.SYS_COMPORT1 Actually I added to my Rpi Hat with 2xRS232 (SPI). - /dev/spidev0.0 and /dev/spidev0.1 How I should change my CODESYControl_User.cfg file to use added porta as COM2 and COM3 in Codesys ?</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/55ec7019e8/?limit=25#8c50" rel="alternate"/><published>2023-09-29T16:39:43.207000Z</published><updated>2023-09-29T16:39:43.207000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/55ec7019e8/?limit=25#8c50</id><summary type="html">I tried initialize my GSM modem by write simple application in C, and GSM modem works, below used AT commands: AtChat: T : "AT" AtChat: F : "OK" AtChat: T : "AT+CMEE=1" AtChat: F : "OK" AtChat: T : "AT+CMGF=0" AtChat: F : "OK" AtChat: T : "AT+CGMI" AtChat: F : "WH_Ltd" AtChat: F : "WH_GM35" AtChat: F : "Revision: RDA BV5" AtChat: F : "OK" AtChat: T : "AT+CGMM" AtChat: F : "WH_GM35" AtChat: F : "OK" AtChat: T : "AT+CGMR" AtChat: F : "Revision: GM35-D_B5_R05_A01_D170914" AtChat: F : "OK" AtChat: T...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/55ec7019e8/?limit=25#8c50" rel="alternate"/><published>2023-09-29T16:38:50.453000Z</published><updated>2023-09-29T16:38:50.453000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/55ec7019e8/?limit=25#8c50</id><summary type="html">I try initialize my GSM modem by write simple application in C, and GSM modem works, below using AT commands: AtChat: T : "AT" AtChat: F : "OK" AtChat: T : "AT+CMEE=1" AtChat: F : "OK" AtChat: T : "AT+CMGF=0" AtChat: F : "OK" AtChat: T : "AT+CGMI" AtChat: F : "WH_Ltd" AtChat: F : "WH_GM35" AtChat: F : "Revision: RDA BV5" AtChat: F : "OK" AtChat: T : "AT+CGMM" AtChat: F : "WH_GM35" AtChat: F : "OK" AtChat: T : "AT+CGMR" AtChat: F : "Revision: GM35-D_B5_R05_A01_D170914" AtChat: F : "OK" AtChat: T :...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/55ec7019e8/?limit=25#97f9" rel="alternate"/><published>2023-09-28T15:53:57.012000Z</published><updated>2023-09-28T15:53:57.012000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/55ec7019e8/?limit=25#97f9</id><summary type="html">Hi, I try use IIoT library to send and receive SMS by Raspbery PI and Codesys. I installed IIoT package and added the SMS library, But something is wrong, when I init communication it doesn't work, When I sniffer my communication (AT commands) beetwen RS232 RaspberryPi and my GSM modem I have only below commands: AT+CMEE=1 OK AT+CPIN? +CPIN: READY Anyone have idea what can be wrong ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b105ddccb8/?limit=25#4186" rel="alternate"/><published>2023-09-28T15:50:41.032000Z</published><updated>2023-09-28T15:50:41.032000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b105ddccb8/?limit=25#4186</id><summary type="html">I solved my problem by adding CAA DTUtil Extern library. Now works.!</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b105ddccb8/?limit=25#2177" rel="alternate"/><published>2023-09-27T08:29:54.974000Z</published><updated>2023-09-27T08:29:54.974000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b105ddccb8/?limit=25#2177</id><summary type="html">Can anyone help me ?</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b105ddccb8/?limit=25#1e1b" rel="alternate"/><published>2023-09-26T09:59:20.207000Z</published><updated>2023-09-26T09:59:20.207000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b105ddccb8/?limit=25#1e1b</id><summary type="html">Hi, I use Pixtend v1.3 with my RaspberryPi with Codesys V3.5 SP15 Patch1. Actually in my project I used two packages: - CODESYS Contro for Raspberry PI 3.5.15.10 - PiXtend for CODESYS 1.3.8.0 Now I would like to extend my project about the IIot Libraries SL package, I installed them. Next I added SMS_Service_SL 1.0.0.8 version library and I have problem with compile my project because I get error: [ERROR] PiXtend_DemoProject_q: Library Manager [Device: PLC Logic: Application]: Could not open library...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b105ddccb8/?limit=25#1e1b" rel="alternate"/><published>2023-09-26T09:59:00.295000Z</published><updated>2023-09-26T09:59:00.295000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b105ddccb8/?limit=25#1e1b</id><summary type="html">Hi, I use Pixtend v1.3 with my RaspberryPi with Codesys V3.5 SP15 Patch1. Actually in my project I used two packages: - CODESYS Contro for Raspberry PI 3.5.15.10 - PiXtend for CODESYS 1.3.8.0 Now I would like to extend my project about the IIot Libraries SL package, I installed them. Next I added SMS_Service_SL 1.0.0.8 version library and I have problem with compile my project because I get error: [ERROR] PiXtend_DemoProject_q: Library Manager [Device: PLC Logic: Application]: Could not open library...</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/337e5b62f9/?limit=25#d853" rel="alternate"/><published>2023-08-25T06:55:10.987000Z</published><updated>2023-08-25T06:55:10.987000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/337e5b62f9/?limit=25#d853</id><summary type="html">Hi, Is it possible read all project from Codesys PFC200 ? I know only IP addres, nothing more</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/337e5b62f9/?limit=25#d853" rel="alternate"/><published>2023-08-25T05:12:55.165000Z</published><updated>2023-08-25T05:12:55.165000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/337e5b62f9/?limit=25#d853</id><summary type="html">Hi, It is possible read all project from Codesys PFC200 ? I know only IP addres, nothing more</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a46da6e3e4/?limit=25#997f" rel="alternate"/><published>2023-05-04T12:24:35.790000Z</published><updated>2023-05-04T12:24:35.790000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a46da6e3e4/?limit=25#997f</id><summary type="html">Hi, Form my codesys I must send/receive package to remote device by TCP/IP on port 6611 . Package like below: &lt;esc&gt;&lt;cmd&gt;;&lt;values&gt;;&lt;names&gt;;&lt;tid&gt;;&lt;crc&gt;&lt;esc&gt;\&lt;/esc&gt;&lt;/crc&gt;&lt;/tid&gt;&lt;/names&gt;&lt;/values&gt;&lt;/cmd&gt;&lt;/esc&gt; To do it I can use below example ? https://store.codesys.com/en/http-client-example.html and in url I should use http://ipaddres:6611 ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c882b4351a/?limit=25#0004" rel="alternate"/><published>2022-08-25T08:13:10.059000Z</published><updated>2022-08-25T08:13:10.059000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/c882b4351a/?limit=25#0004</id><summary type="html">Like you can find in attachement - I have library MEMUtils.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c882b4351a/?limit=25#aa1a" rel="alternate"/><published>2022-08-25T08:09:01.097000Z</published><updated>2022-08-25T08:09:01.097000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/c882b4351a/?limit=25#aa1a</id><summary type="html">Ok, I check this. Do you think that using CODESYS Control for Raspberry Pi MC SL can get better performance and temperature processor will decrease ? Actually the processor temperature in my Compute Module 3 is 83'C .... I search solution to decrease this.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c882b4351a/?limit=25#2944" rel="alternate"/><published>2022-08-25T07:52:28.305000Z</published><updated>2022-08-25T07:52:28.305000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/c882b4351a/?limit=25#2944</id><summary type="html">Hi, Is any simple way update my device CODESYS Control for Raspberry Pi SL to CODESYS Control for Raspberry Pi MC SL ? When I do this by update I get huge amount of errors... why ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/734f0af653/?limit=25#6816" rel="alternate"/><published>2022-08-22T10:38:39.157000Z</published><updated>2022-08-22T10:38:39.157000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/734f0af653/?limit=25#6816</id><summary type="html">Hi, Do someone have any simple idea how convert this string : 'temp=44.4$'C$N' to real variable temp= 44.5 ?</summary></entry><entry><title>damian177 posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#9ea0/92c2" rel="alternate"/><published>2022-07-28T05:08:17.638000Z</published><updated>2022-07-28T05:08:17.638000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#9ea0/92c2</id><summary type="html">Hi, I have the same situation since 2 years. I do not how solve this problem. Do you have any soultions ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c3fad35ed1/?limit=25#93b6" rel="alternate"/><published>2022-07-19T12:52:51.986000Z</published><updated>2022-07-19T12:52:51.986000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/c3fad35ed1/?limit=25#93b6</id><summary type="html">Hi, Below I paste one of step CASE statement 21: (*check number phone sender'a*) (*check if sms is not too old*) timestamp_hist_hi := time_sys.udiLocal_DateAndTime + timestamp_hist; timestamp_hist_lo := time_sys.udiLocal_DateAndTime - timestamp_hist; IF (smsrec.sNumber = 'XXXXXXXXXXX' OR smsrec.sNumber = 'XXXXXXXXXXX') AND (DT_TO_UDINT(smsrec.dtSend) &gt; timestamp_hist_lo) AND (DT_TO_UDINT(smsrec.dtSend) &lt; timestamp_hist_hi) THEN iState:= 23; ELSE iState:= 100; END_IF; Teh variable timestamp_hist equal...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3f7c5f5d3a/?limit=25#647a" rel="alternate"/><published>2022-07-18T18:13:02.715000Z</published><updated>2022-07-18T18:13:02.715000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/3f7c5f5d3a/?limit=25#647a</id><summary type="html">DO you have any idea how is simple way to export data array to file ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3f7c5f5d3a/?limit=25#eab4" rel="alternate"/><published>2022-07-05T05:46:43.732000Z</published><updated>2022-07-05T05:46:43.732000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/3f7c5f5d3a/?limit=25#eab4</id><summary type="html">Hi, I created byte array with 3999 iems. When I am online i see only 999, why ? - please find in attachment. This array is my data logger, When I am online, I would like to copy all data to e.g notepad to analize, but i do not know how do this. Is any simple way to copy all items array in online mode ?</summary></entry><entry><title>damian177 posted a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/824fa7f2e2/?limit=25#1b8a" rel="alternate"/><published>2022-07-04T10:26:38.087000Z</published><updated>2022-07-04T10:26:38.087000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/824fa7f2e2/?limit=25#1b8a</id><summary type="html">Hi, Can you look on my problem and give me some tips to improve my code: https://forge.codesys.com/forge/talk/Engineering/thread/eb824a9bbb/#2647 Thank you in advance. Talk Topic about project #fajean</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#4ee9" rel="alternate"/><published>2022-07-04T10:22:52.316000Z</published><updated>2022-07-04T10:22:52.316000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#4ee9</id><summary type="html">Problem probably was in UINT_TO_BYTE(SIZEOF(dataImageLogoP1inv) -1) because oryginally I use : UINT_TO_BYTE(SIZEOF(dataImageLogoP1inv)). Thanks for help.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#1db9/f417" rel="alternate"/><published>2022-07-04T05:10:26.565000Z</published><updated>2022-07-04T05:10:26.565000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#1db9/f417</id><summary type="html">In my project in one of program block it was declared this variable : VAR firstScan:BOOL:=TRUE; END_VAR Is not a global variable. I don't understand why variable "fisrtScan" would be reinitialize to TRUE every time ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#b7fa" rel="alternate"/><published>2022-07-02T18:13:57.691000Z</published><updated>2022-07-02T18:13:57.691000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#b7fa</id><summary type="html">How is possible that my first solution worked time to time ?</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#cd20" rel="alternate"/><published>2022-07-01T10:41:07.644000Z</published><updated>2022-07-01T10:41:07.644000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#cd20</id><summary type="html">Size like below : dataImageLogoP1inv : ARRAY[0..203] OF BYTE; SIZEOF return 204 in my example ?,so my loop should be : IF firstScan THEN FOR iCount:=0 TO UINT_TO_BYTE(SIZEOF(dataImageLogoP1inv) -1) DO dataImageLogoP1inv[iCount] := GVL_Print.dataImageLogoP1[iCount] XOR 16#FF; dataImageLogoP2inv[iCount] := GVL_Print.dataImageLogoP2[iCount] XOR 16#FF; dataImageLogoP3inv[iCount] := GVL_Print.dataImageLogoP3[iCount] XOR 16#FF; dataImageLogoP4inv[iCount] := GVL_Print.dataImageLogoP4[iCount] XOR 16#FF;...</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#cd20" rel="alternate"/><published>2022-07-01T10:34:33.969000Z</published><updated>2022-07-01T10:34:33.969000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#cd20</id><summary type="html">Size like below : dataImageLogoP1inv : ARRAY[0..203] OF BYTE; SIZEOF return 204 in my example ?,so my loob should be : IF firstScan THEN FOR iCount:=0 TO UINT_TO_BYTE(SIZEOF(dataImageLogoP1inv) -1) DO dataImageLogoP1inv[iCount] := GVL_Print.dataImageLogoP1[iCount] XOR 16#FF; dataImageLogoP2inv[iCount] := GVL_Print.dataImageLogoP2[iCount] XOR 16#FF; dataImageLogoP3inv[iCount] := GVL_Print.dataImageLogoP3[iCount] XOR 16#FF; dataImageLogoP4inv[iCount] := GVL_Print.dataImageLogoP4[iCount] XOR 16#FF;...</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#cd20" rel="alternate"/><published>2022-07-01T10:34:15.684000Z</published><updated>2022-07-01T10:34:15.684000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#cd20</id><summary type="html">Size like below : dataImageLogoP1inv : ARRAY[0..203] OF BYTE; SIZEOF return 204 in my example ?,so my loob should be : //Przygotowanie danych grafiki loga SPEEDWASH IF firstScan THEN FOR iCount:=0 TO UINT_TO_BYTE(SIZEOF(dataImageLogoP1inv) -1) DO dataImageLogoP1inv[iCount] := GVL_Print.dataImageLogoP1[iCount] XOR 16#FF; dataImageLogoP2inv[iCount] := GVL_Print.dataImageLogoP2[iCount] XOR 16#FF; dataImageLogoP3inv[iCount] := GVL_Print.dataImageLogoP3[iCount] XOR 16#FF; dataImageLogoP4inv[iCount] :=...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#cd20" rel="alternate"/><published>2022-07-01T10:30:47.034000Z</published><updated>2022-07-01T10:30:47.034000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#cd20</id><summary type="html">Size like below : dataImageLogoP1inv : ARRAY[0..203] OF BYTE;</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/eb824a9bbb/?limit=25#2647" rel="alternate"/><published>2022-07-01T10:02:36.625000Z</published><updated>2022-07-01T10:02:36.625000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/eb824a9bbb/?limit=25#2647</id><summary type="html">Hi, I read data from device by RS232 like this: ////////////////////////receiving data/////////////// //wait for all data tonRcv(IN:= (iCountG&gt;0) AND NOT tonRcv.Q, PT:=T#1000MS); IF hCom &lt;&gt; RTS_INVALID_HANDLE AND bReadCom THEN // Complete the data numberOfbytes := SysComRead(hCom:= hCom, pbyBuffer:= ADR(temp_rdData), ulSize:= SIZEOF(temp_rdData), ulTimeout:= 100, pResult:= ADR(Result)); IF numberOfbytes &gt; 0 THEN FOR iCount :=0 TO numberOfbytes - 1 DO rdData[iCountG]:=temp_rdData[iCount]; iCountG...</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/eb824a9bbb/?limit=25#2647" rel="alternate"/><published>2022-07-01T10:02:16.519000Z</published><updated>2022-07-01T10:02:16.519000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/eb824a9bbb/?limit=25#2647</id><summary type="html">Hi, I read data from device by RS232 like this: ////////////////////////odbieranie danych RX/////////////// //wait for all data tonRcv(IN:= (iCountG&gt;0) AND NOT tonRcv.Q, PT:=T#1000MS); IF hCom &lt;&gt; RTS_INVALID_HANDLE AND bReadCom THEN // Complete the data numberOfbytes := SysComRead(hCom:= hCom, pbyBuffer:= ADR(temp_rdData), ulSize:= SIZEOF(temp_rdData), ulTimeout:= 100, pResult:= ADR(Result)); IF numberOfbytes &gt; 0 THEN FOR iCount :=0 TO numberOfbytes - 1 DO rdData[iCountG]:=temp_rdData[iCount]; iCountG...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/eb824a9bbb/?limit=25#2647" rel="alternate"/><published>2022-07-01T10:02:00.334000Z</published><updated>2022-07-01T10:02:00.334000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/eb824a9bbb/?limit=25#2647</id><summary type="html">Hi, I read data from device by RS232 like this: ////////////////////////odbieranie danych RX/////////////// //wait for all data tonRcv(IN:= (iCountG&gt;0) AND NOT tonRcv.Q, PT:=T#1000MS); IF hCom &lt;&gt; RTS_INVALID_HANDLE AND bReadCom THEN // Complete the data numberOfbytes := SysComRead(hCom:= hCom, pbyBuffer:= ADR(temp_rdData), ulSize:= SIZEOF(temp_rdData), ulTimeout:= 100, pResult:= ADR(Result)); IF numberOfbytes &gt; 0 THEN FOR iCount :=0 TO numberOfbytes - 1 DO rdData[iCountG]:=temp_rdData[iCount]; iCountG...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#f635" rel="alternate"/><published>2022-07-01T09:39:07.571000Z</published><updated>2022-07-01T09:39:07.571000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#f635</id><summary type="html">Codesys proces eating all the CPU during running my project. The problem is in the loop - please find in attachement . I do not what can be wrong...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#1e77" rel="alternate"/><published>2022-07-01T07:26:32.091000Z</published><updated>2022-07-01T07:26:32.091000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#1e77</id><summary type="html">This one: https://comfiletech.com/linux-panel-pc-comfilepi/cpi-a102wr-10-2-industrial-raspberry-pi-touch-panel-pc/</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#5a54" rel="alternate"/><published>2022-06-30T07:52:48.307000Z</published><updated>2022-06-30T07:52:48.307000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/497d0c65f6/?limit=25#5a54</id><summary type="html">Hi, I using codesys to my app. Somethimes when I do update my project and try run my application the CPU load exceed 95% and program stop with exception code. What are my ways of getting out of this situation ? During operation, the CPU load is about 20%</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25&amp;page=1#c809" rel="alternate"/><published>2022-06-30T06:41:00.380000Z</published><updated>2022-06-30T06:41:00.380000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25&amp;page=1#c809</id><summary type="html">Last time I did test "persistent variables" saving in files using Modules, Composer-&gt; Persistence Generator. Is any way to remove this module from my project ? How do this ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#db3a" rel="alternate"/><published>2022-06-30T06:34:50.775000Z</published><updated>2022-06-30T06:34:50.775000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#db3a</id><summary type="html">after change parameter list and reboot it works.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#4b48" rel="alternate"/><published>2022-05-30T19:15:03.409000Z</published><updated>2022-05-30T19:15:03.409000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#4b48</id><summary type="html">I changed this parameter in Library Parameters -&gt; Value (editable) but when I open ST editor it id still old value...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#a20c" rel="alternate"/><published>2022-05-30T17:49:47.794000Z</published><updated>2022-05-30T17:49:47.794000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#a20c</id><summary type="html">how to change only in my project ? without changing library?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#6818" rel="alternate"/><published>2022-05-30T17:47:39.043000Z</published><updated>2022-05-30T17:47:39.043000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#6818</id><summary type="html">and how to enter a new value only in my project?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#f716" rel="alternate"/><published>2022-05-30T15:02:51.249000Z</published><updated>2022-05-30T15:02:51.249000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/dc282e5a35/?limit=25#f716</id><summary type="html">Hi, How can I change value in variable in library . Please find in attachment ...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/94c0162bcd/?limit=25#40d6" rel="alternate"/><published>2022-05-23T06:25:06.608000Z</published><updated>2022-05-23T06:25:06.608000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/94c0162bcd/?limit=25#40d6</id><summary type="html">Hi, I am using Codesys V3.5 SP16 and I would like works in Codesys V3.5 SP18. So I archive my project, an I try restore in new version, but I have some problems. Please find in attachment details. What is the best way to resolve my problem ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/809f91a199/?limit=25#1293" rel="alternate"/><published>2022-05-21T10:47:13.061000Z</published><updated>2022-05-21T10:47:13.061000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/809f91a199/?limit=25#1293</id><summary type="html">I can't run the module 750-653 in PFC200 and Codesys Runtime. To communicte with Modbus RTU Slave's I am using RS485/Ethernet USR DR302 Modbus RTU/TCP converter. Works great. As far as I know the 750-653 module is no a device in linux- /dev/ttyS1, /dev/ttyS2 etc etc... , so probably your COM2, COM3 configuration in Codesys will not work. If you find any example using this module in codesys please share it please :)</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#e15d" rel="alternate"/><published>2022-04-25T19:07:08.617000Z</published><updated>2022-04-25T19:07:08.617000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#e15d</id><summary type="html">In new environment generator works good. But in new codesys Ido not have Build(F11) i Rebuild , why? Please find in attachement. @josepmariarams I do Persistant Variables on file because my Rpi time to time isrestart by lack of power...- so I don't stopp Raspian normally.I hope it will work.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#ba97" rel="alternate"/><published>2022-04-22T08:54:30.590000Z</published><updated>2022-04-22T08:54:30.590000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#ba97</id><summary type="html">I am using Codesys 3.5 SP16 Patch 2. Once difference I noticed is that in configuration (like in attachement) I have set HIGH and LOW task. I no have this task in my projekt. it could be the problem cause ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#b9d8" rel="alternate"/><published>2022-04-19T11:00:23.075000Z</published><updated>2022-04-19T11:00:23.075000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#b9d8</id><summary type="html">Before "Generate" I choose only "Persistence generator". I didn't chose "Standard generator" because after that my environment is freeze., Why it doesn't work ? therefore they are not generated tasks : HIGH and LOW ....</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#6687" rel="alternate"/><published>2022-04-19T05:58:42.017000Z</published><updated>2022-04-19T05:58:42.017000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#6687</id><summary type="html">Any ideas ?</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c" rel="alternate"/><published>2022-04-14T12:12:01.055000Z</published><updated>2022-04-14T12:12:01.055000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c</id><summary type="html">I try this solution (Persistence Manager) but it do not work. I did as described: 1) In Codesy - View -&gt; Modules 2) Add Toplevel Module Instance 3) Add Persistence Manager 4) Select the Application - Device.Application 5) Added group "Persistence1" 6) Added Submodule Instance "PersistenceChannel" 7) Setup the Persistence Parameter - xSaveOnChange on TRUE 8) Add Submodule Instance - and Select ASCIIFileStorage 9) Created GVL called "PersistentVars" in my project and add persistence variables with...</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c" rel="alternate"/><published>2022-04-14T12:10:11.352000Z</published><updated>2022-04-14T12:10:11.352000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c</id><summary type="html">I try this solution (Persistence Manager) but it do not work. I did as described: 1) In Codesy - View -&gt; Modules 2) Add Toplevel Module Instance 3) Add Persistence Manager 4) Select the Application - Device.Application 5) Added group "Persistence1" 6) Added Submodule Instance "PersistenceChannel" 7) Setup the Persistence Parameter - xSaveOnChange on TRUE 8) Add Submodule Instance - and Select ASCIIFileStorage 9) Created GVL called "PersistentVars" in my project and add persistence variables with...</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c" rel="alternate"/><published>2022-04-14T12:09:32Z</published><updated>2022-04-14T12:09:32Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c</id><summary type="html">I try this solution (Persistence Manager) but it do not work. I did as described: 1) In Codesy - View -&gt; Modules 2) Add Toplevel Module Instance 3) Add Persistence Manager 4) Select the Application - Device.Application 5) Added group "Persistence1" 6) Added Submodule Instance "PersistenceChannel" 7) Setup the Persistence Parameter - xSaveOnChange on TRUE 8) Add Submodule Instance - and Select ASCIIFileStorage 9) Created GVL called "PersistentVars" in my project and add persistence variables with...</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c" rel="alternate"/><published>2022-04-14T12:04:25.157000Z</published><updated>2022-04-14T12:04:25.157000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c</id><summary type="html">I try this solution (Persistence Manager) but it do not work. I did as described: 1) In Codesy - View -&gt; Modules 2) Add Toplevel Module Instance 3) Add Persistence Manager 4) Select the Application - Device.Application 5) Added group "Persistence1" 6) Added Submodule Instance "PersistenceChannel" 7) Setup the Persistence Parameter - xSaveOnChange on TRUE 8) Add Submodule Instance - and Select ASCIIFileStorage 9) Created GVL in my project and add persistence variables with attribute: ~~~ VAR_GLOBAL...</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c" rel="alternate"/><published>2022-04-14T12:01:56.504000Z</published><updated>2022-04-14T12:01:56.504000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c</id><summary type="html">I try this solution (Persistence Manager) but it do not work. I did as described: 1) In Codesy - View -&gt; Modules 2) Add Toplevel Module Instance 3) Add Persistence Manager 4) Select the Application - Device.Application 5) Added group "Persistence1" 6) Added Submodule Instance "PersistenceChannel" 7) Setup the Persistence Parameter - xSaveOnChange on TRUE 8) Add Submodule Instance - and Select ASCIIFileStorage 9) Created GVL in my project and add persistence variables with attribute: ~~~ VAR_GLOBAL...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c" rel="alternate"/><published>2022-04-14T12:00:58.784000Z</published><updated>2022-04-14T12:00:58.784000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#aa4c</id><summary type="html">I try this solution (Persistence Manager) but it do not work. I did as described: 1) In Codesy - View -&gt; Modules 2) Add Toplevel Module Instance 3) Add Persistence Manager 4) Select the Application - Device.Application 5) Added group "Persistence1" 6) Added Submodule Instance "PersistenceChannel" 7) Setup the Persistence Parameter - xSaveOnChange on TRUE 8) Add Submodule Instance - and Select ASCIIFileStorage 9) Created GVL in my project and add persistence variables with attribute: ~~~ {attribute...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#6125" rel="alternate"/><published>2022-04-14T06:26:21.447000Z</published><updated>2022-04-14T06:26:21.447000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#6125</id><summary type="html">What should I change in /etc/CODESYSControl.cfg to properly work above example ? What do you think about below solution :? https://help.codesys.com/webapp/_rtslext_retains_in_shared_memory;product=CODESYS_Control_SL_Extension_Package;version=4.4.0.0 ?</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#137c" rel="alternate"/><published>2022-04-12T10:45:51.636000Z</published><updated>2022-04-12T10:45:51.636000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#137c</id><summary type="html">I do not understand this code: PROGRAM AppRetain VAR fbDelete : FILE.Delete; (* Function block to delete the file *) sFileName : STRING := 'App10.ret'; pApp : POINTER TO APPLICATION; Result : RTS_IEC_RESULT; (* Result code *) xInit : BOOL; xSave : BOOL; xRestore : BOOL; END_VAR IF NOT xInit THEN pApp := AppGetCurrent(pResult:=ADR(Result)); xInit := TRUE; END_IF IF xSave THEN (* First delete the retain file. This is necessary, because the function AppStoreRetainsInFile appends the data at the end...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#137c" rel="alternate"/><published>2022-04-12T10:43:56.237000Z</published><updated>2022-04-12T10:43:56.237000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#137c</id><summary type="html">I do not understand this code: PROGRAM AppRetain VAR fbDelete : FILE.Delete; (* Function block to delete the file *) sFileName : STRING := 'App10.ret'; pApp : POINTER TO APPLICATION; Result : RTS_IEC_RESULT; (* Result code *) xInit : BOOL; xSave : BOOL; xRestore : BOOL; END_VAR IF NOT xInit THEN pApp := AppGetCurrent(pResult:=ADR(Result)); xInit := TRUE; END_IF IF xSave THEN (* First delete the retain file. This is necessary, because the function AppStoreRetainsInFile appends the data at the end...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#e92c" rel="alternate"/><published>2022-04-12T08:26:42.740000Z</published><updated>2022-04-12T08:26:42.740000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/?limit=25#e92c</id><summary type="html">Hi, I use RPi and Persistent Vars and as you well know it doesn't work, so It is possible manually form Codesys application save/update the Persistent Vars value ?</summary></entry><entry><title>damian177 modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4238f3038b/?limit=25#9eca" rel="alternate"/><published>2022-04-10T11:40:46.101000Z</published><updated>2022-04-10T11:40:46.101000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4238f3038b/?limit=25#9eca</id><summary type="html">I have Date and Time on WebVisu: %t['Date: 'dd.MM.yyyy 'Time: 'HH:mm:ss] How create string variable in above value ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4238f3038b/?limit=25#9eca" rel="alternate"/><published>2022-04-10T11:40:31.311000Z</published><updated>2022-04-10T11:40:31.311000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4238f3038b/?limit=25#9eca</id><summary type="html">I have Date and Time on WebVisu: %t['Data: 'dd.MM.yyyy 'Czas: 'HH:mm:ss] How create string variable in above value ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/65be32a57d/?limit=25#ded3" rel="alternate"/><published>2022-04-09T06:58:07.252000Z</published><updated>2022-04-09T06:58:07.252000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/65be32a57d/?limit=25#ded3</id><summary type="html">the semicolon after END_IF has any meaning?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/65be32a57d/?limit=25#f214" rel="alternate"/><published>2022-04-07T09:31:36.647000Z</published><updated>2022-04-07T09:31:36.647000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/65be32a57d/?limit=25#f214</id><summary type="html">Please explain to me what is the difference between the following instructions :? Can I use both interchangeably? IF [conditional_expresion] THEN &lt;instructions&gt;; ELSIF [conditional_expresion] THEN &lt;instructions&gt;; ELSE &lt;instructions&gt;; END IF; IF [conditional_expresion] THEN &lt;instructions&gt;; ELSE IF [conditional_expresion] THEN &lt;instructions&gt;; ELSE &lt;instructions&gt;; END IF END IF</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8659055f68/?limit=25#2a6f" rel="alternate"/><published>2022-04-03T09:02:15.752000Z</published><updated>2022-04-03T09:02:15.752000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/8659055f68/?limit=25#2a6f</id><summary type="html">Hi, It is possible to get acces to cmd linux from codesys application ? For example. From codesys application reboot linux system ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#06a7" rel="alternate"/><published>2022-03-28T19:33:59.435000Z</published><updated>2022-03-28T19:33:59.435000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#06a7</id><summary type="html">The above solution works great. I test it now</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#b5a9" rel="alternate"/><published>2022-03-28T19:02:51.954000Z</published><updated>2022-03-28T19:02:51.954000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#b5a9</id><summary type="html">What do we think about this solution. I should create file : /etc/udev/rules.d/70-persistent-serial.rules and put in it: ACTION=="add|change", SUBSYSTEM=="tty", KERNEL=="ttyUSB0", \ ATTRS{manufacturer}=="FTDI", ATTRS{serial}=="AK08GAMY", \ SYMLINK+="serial2" ACTION=="add|change", SUBSYSTEM=="tty", KERNEL=="ttyUSB1", \ ATTRS{manufacturer}=="FTDI", ATTRS{serial}=="AK08G985", \ SYMLINK+="serial3" ?</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#c756/1bff" rel="alternate"/><published>2022-03-28T18:11:48.119000Z</published><updated>2022-03-28T18:11:48.119000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#c756/1bff</id><summary type="html">@somlioy do you have any solution to symbolic link after reboot system ? I have finished my application with dev/ttyUSB0 i dev/ttyUSB1, but I still creating symbolic link - manually after reboot system.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/896035ce4b/?limit=25#2222" rel="alternate"/><published>2022-03-22T08:59:34.278000Z</published><updated>2022-03-22T08:59:34.278000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/896035ce4b/?limit=25#2222</id><summary type="html">right, thanks.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/896035ce4b/?limit=25#f116" rel="alternate"/><published>2022-03-21T12:21:26.225000Z</published><updated>2022-03-21T12:21:26.225000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/896035ce4b/?limit=25#f116</id><summary type="html">Hi, I send String data to serial com to thermal printer like this: sw1: STRING:= 'DATA:'; dwWritten := SysComWrite(hCom:= hCom, pbyBuffer:= ADR(sw1), ulSize:= SIZEOF(sw1), ulTimeout:= 100, pResult:= ADR(Result) ); When I do not change my data in sw1 variable - everything is ok. When I change my data and send to serial com like this: sw1:= '12'; dwWritten := SysComWrite(hCom:= hCom, pbyBuffer:= ADR(sw1), ulSize:= SIZEOF(sw1), ulTimeout:= 100, pResult:= ADR(Result) ); Result on printer is bad , because...</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#d388" rel="alternate"/><published>2022-03-19T18:39:10.720000Z</published><updated>2022-03-19T18:39:10.720000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#d388</id><summary type="html">Solution with symbolic link works,until I restart my system.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#c756" rel="alternate"/><published>2022-03-19T14:59:56.661000Z</published><updated>2022-03-19T14:59:56.661000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#c756</id><summary type="html">@eschwellinger I should remove this lines : [SysCom] Linux.Devicefile=/dev/serial from /etc/CODESYSControl.cfg file ? I do this and add [SysCom] Linux.Devicefile.1=/dev/serial0 Linux.Devicefile.2=/dev/serial1 Linux.Devicefile.3=/dev/ttyUSB0 in empty /etc/CODESYSControl_Users.cfg file , but it doesn't work.</summary></entry><entry><title>damian177 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#cd09" rel="alternate"/><published>2022-03-15T08:47:15.574000Z</published><updated>2022-03-15T08:47:15.574000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/fca29b5dbd/?limit=25#cd09</id><summary type="html">Hi, I am using linux panel PC CPi-A102WR with Codesys. I using two embeded serial ports by Edit the CODESYS configuration file sudo nano /etc/CODESYSControl.cfg [SysCom] Linux.Devicefile=/dev/serial And I have COM1 - COM0(physical) COM2 - COM1(physical) Now I need more COM port, so I use USB to RS232 nad in the linux I have device : dev/ttyUSB0. What I should modify in /etc/CODESYSControl.cfg file to using my device ttyUSBO like COM3 in codesys ?</summary></entry><entry><title>damian177 posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a0ff4595d9/?limit=25#4179" rel="alternate"/><published>2022-02-22T17:02:24.629000Z</published><updated>2022-02-22T17:02:24.629000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/a0ff4595d9/?limit=25#4179</id><summary type="html">I have 800x480 hmi size. I would like to create variable visualization screen with size 800x320 size and header vizualization with size 800x160. How do this ? How add to screen with 800x480 size , the screen with 800x160 size ?</summary></entry></feed>