Hi everyone, Hi Mr. Schwellinger, the Link at the "inofficial device reporitory" from Mr. Schwellinger (https://forge.codesys.com/forge/talk/Runtime/thread/8981ce928a/?limit=25#e15f)to the MCP23017 Library and device.xml is dead unfortunately. Would someone please upload the files? Thanks alot! LeFish
I got a new ticket id from the support and it worked flawlessly with the new ticket id.
Hi there, I cannot help, but I am having the same problem on a very recently activated license: https://forge.codesys.com/forge/talk/Runtime/thread/8c99d6a84f/#70f5
One more question on this: Am I doing something wrong? I have activated a new license on a device, which has NEVER seen a runtime < 4.8.0.0. This worked flawlessly with the license key provided. I now tried to reactivate the license from a backed up license file (file extension "WibuCmRaU") on the same device and I get this error: This time it is a Raspi 3B with a SL (non MC) license for development. Has anyone tried to restore a license the same way it did work on a pre 4.1.0.0 system (I did this...
One more question on this: Am I doing something wrong? I have activated a new license on a device, which has NEVER seen a runtime < 4.8.0.0. This worked flawlessly with the license key provided. I now tried to reactivate the license from a backed up license file (file extension "WibuCmRaU") and I get this error: This time it is a Raspi 3B with a SL (non MC) license for development. Has anyone tried to restore a license the same way it did work on a pre 4.1.0.0 system (I did this hundred times before)...
One more question on this: Am I doing something wrong? I have activated a new license on a device, which has NEVER seen a runtime < 4.8.0.0. This worked flawlessly with the license key provided. I now tried to reactivate the license from a backed up license file (file extension "WibuCmRaU") and I get this error: This time it is a Raspi 3B with a SL (non MC) license for development. Has anyone tried to restore a license the same way it did work on a pre 4.1.0.0 system (I did this hundred times before)...
One more question on this: Am I doing something wrong? I have activated a new license on a device, which has NEVER seen a runtime < 4.8.0.0. This worked flawlessly with the license key provided. I now tried to reactivate the license from a backed up license file (file extension "WibuCmRaU") and I get this error: [-img src=codesys license error.PNG width=50%: missing =-] This time it is a Raspi 3B with a SL (non MC) license for development. Has anyone tried to restore a license the same way it did...
I will answer my own question: It is not possible to simply copy the files from cmact_licenses to the .cmact_licenses folder. Restoring the license must be done by the license manager within CodeSys. So the initial question remains: How can one restore a backed up license in runtime version 4.8.0.0?
I have found this link: https://faq.codesys.com/pages/viewpage.action?pageId=1310825 And it seems to have something to do with me trying to restore a pre 4.1.0.0 license on a post 4.1.0.0 system. Can this be the issue? As I also backed up the cmact_licenses folder I now tried to replace all the conent from the .cmact_licenses folder with my backed up content from the cmact_licenses folder. Is this a legit solution?
Hi there! I recently upgraded my device from runtime 4.0.1.0 (raspberry, armhf) to armhf 4.8.0.0 (raspberry, armhf). I now wanted to restore my license file (CMLicenseNew.WibuCmRaU) which I saved from the same device under runtime 4.0.1.0. This appearently does not work anymore. I saw the device now has TWO SoftContainers. I tried both and get the same error. This are the SoftContainers now: On either SoftContainer I get the same error and no licenses show up within the SoftContainer like the earlier...
Hi there! I recently upgraded my device from runtime 4.0.1.0 (raspberry, armhf) to armhf 4.8.0.0 (raspberry, armhf). I now wanted to restore my license file (CMLicenseNew.WibuCmRaU) which I saved from the same device under runtime 4.0.1.0. This appearently does not work anymore. I saw the device now has TWO SoftContainers. I tried both and get the same error. This are the SoftContainers now: On either SoftContainer I get the same error and no licenses show up within the SoftContainer like the earlier...
Hi there, unfortunately all my pics are gone after upgrading CodeSYS. Please mind that I backed up the project before converting it to the newer version. I copied the project to a different place for the backup. The original is still in its original place. Do you know which setting triggers a reload of the picture database? Here is an example: 3.5.18 3.5.16 The element on the lower left "Parameterabfrage" is actually a new element, which I added AFTER upgrading to 3.5.18. After copying it back to...
Thanks for your replies. @fajean: Basically this is what I am trying to achieve. I need to pack FBs with commonly named properties (returning different kinds of structs) into one array to loop over all FBs. It would have been great for this purpose if a propertyX returned a structA when queried for an instance of typeA, but a propertyX returned a structB when queried for instance of typeB... I solved this now by dropping the Interface-approach at all. Instead I implemented "Interface"-Methods and...
Hi there, can I somehow achieve to let the function blocks which implement an interface decide which data type is actually returned? So let FB_A return Type_A and FB_B return Type_B when calling an interface I_AB method. Basically I need to change the return type of an overloaded method/property according to the method/property called. I can explain more detail of what I am trying to achieve, but I would like to keep it abstract for the opening of the thread (lenghtiness of thread where it might...
Hi there, can I somehow achieve to let the function blocks which implement an interface decide which data type is actually returned? So let FB_A return Type_A and FB_B return Type_B when calling an interface I_AB method. Basically I need to change the return type of an overloaded method/property according to the method/property called. I can explain more detail of what I am trying to achieve, but I would like to keep it abstract for the opening of the thread (lenghtiness of thread where it might...
Hi there, can I somehow achieve to let the function blocks which implement an interface decide which data type is actually returned? So let FB_A return Type_A and FB_B return Type_B when calling an interface I_AB method. Basically I need to change the return type of an overloaded method/property according to the method called. I can explain more detail of what I am trying to achieve, but I would like to keep it abstract for the opening of the thread (lenghtiness of thread where it might not be needed)...
Hi everyone, I am searching for reliable (industrial grade) drop-in-replacements for Beckhoff EJ-IOs (https://www.beckhoff.com/en-en/products/i-o/ethercat-plug-in-modules/). Drop-In in software-perspective, of course not hardware-perspective. Beckhoff has horrible lead times right now! I only need digital input and digital outputs on 24 V level (lower level is also possible). I need IO-cycle time of about 100Β΅S to 500Β΅S due to detection of some fast-switching inputs. I need 32 Ins and 32 Outs. Ideally...
Hi everyone, I am searching for reliable (industrial grade) drop-in-replacements for Beckhoff EJ-IOs (https://www.beckhoff.com/en-en/products/i-o/ethercat-plug-in-modules/). Drop-In in software-perspective, of course not hardware-perspective. Beckhoff has horrible lead times right now! I only need digital input and digital outputs on 24 V level (lower level is also possible). I need IO-cycle time of about 100Β΅S to 500Β΅S due to detection of some fast-switching inputs. I need 32 Ins and 32 Outs. Ideally...
Hi everyone, I am searching for reliable (industrial grade) drop-in-replacements for Beckhoff EJ-IOs (https://www.beckhoff.com/en-en/products/i-o/ethercat-plug-in-modules/). Drop-In in software-perspective, of course not hardware-perspective. Beckhoff has horrible lead times right now! I only need digital input and digital outputs on 24 V level (lower level is also possible). I need IO-cycle time of about 100Β΅S to 500Β΅S due to detection of some fast-switching inputs. I need 32 Ins and 32 Outs. Ideally...
Hi everyone, I am searching for reliable (industrial grade) drop-in-replacements for Beckhoff EJ-IOs (https://www.beckhoff.com/en-en/products/i-o/ethercat-plug-in-modules/). Drop-In in software-perspective, of course not hardware-perspective. Beckhoff has horrible lead times right now! I only need digital input and digital outputs on 24 V level (lower level is also possible). I need IO-cycle time of about 100Β΅S due to detection of some fast-switching inputs. I need 32 Ins and 32 Outs. Ideally I can...
Hi everyone, I am searching for reliable (industrial grade) drop-in-replacements for Beckhoff EJ-IOs (https://www.beckhoff.com/en-en/products/i-o/ethercat-plug-in-modules/). Drop-In in software-perspective, of course not hardware-perspective. Beckhoff has horrible lead times right now! I only need digital input and digital outputs on 24 V level (lower level is also possible). Right now we need IO-cycle time of about 100Β΅S due to detection of some fast-switching inputs. I need 32 Ins and 32 Outs....
Hello everyone, I am having troubles to get the IO-Link Bus working again after switching from an EL6224-Card to a EJ6224 module. In both cases I worked with the very same sensor, an ifm OGD580 distance sensor. I purchased the IO-Link-Master license. This is the state with the EJ6224 module: And this is the sensor view: I double checked the wiring. The Sensor does show a reasonable value on its display. Interestingly I do get an Int-Value fΓΌr very small distances (<3 cm) which is the same as the...
Hello everyone, I am having troubles to get the IO-Link Bus working again after switching from an EL6224-Card to a EJ6224 module. In both cases I worked with the very same sensor, an ifm OGD580 distance sensor. I purchased the IO-Link-Master license. This is the state with the EJ6224 module: And this is the sensor view: I double checked the wiring. The Sensor does show a reasonable value on its display. Interestingly I do get an Int-Value fΓΌr very small distances (<3 cm) which is the same as the...
Hello everyone, I am having troubles to get the IO-Link Bus working again after switching from an EL6224-Card to a EJ6224 module. In both cases I worked with the very same sensor, an ifm OGD580 distance sensor. I purchased the IO-Link-Master license. This is the state with the EJ6224 module: And this is the sensor view: I double checked the wiring. The Sensor does show a reasonable value on its display. Interestingly I do get an Int-Value fΓΌr very small distances (<3 cm) which is the same as the...
Hello everyone, I am having troubles to get the IO-Link Bus working again after switching from an EL6224-Card to a EJ6224 module. In both cases I worked with the very same sensor, an ifm OGD580 range sensor. I purchased the IO-Link-Master license. This is the state with the EJ6224 module: And this is the sensor view:
Hello everyone, I am having troubles to get the IO-Link Bus working again after switching from an EL6224-Card to a EJ6224 module. In both cases I worked with the very same sensor, an ifm OGD580 range sensor. I purchased the IO-Link-Master license. This is the state with the EJ6224 module: And this is the sensor view:
Hello everyone, I am having troubles to get the IO-Link Bus working again after switching from an EL6224-Card to a EJ6224 module. In both cases I worked with the very same sensor, an ifm OGD580 range sensor. I purchased the IO-Link-Master license. This is the state with the EJ6224 module: And this is the sensor view:
Hello everyone, I am having troubles to get the IO-Link Bus working again after switching from an EL6224-Card to a EJ6224 module. In both cases I worked with the very same sensor, an ifm OGD580 range sensor. I purchased the IO-Link-Master license. This is the state with the EJ6224 module: And this is the sensor view:
I cannot establish connection to the License container. I am not able to find the Raspberry Pi by "Scan". I can, anyhow, connect to the SoftSPS if I enter the OpenVPN-IP-Adress in communication settings directly. I then can view Online-Values and transfer the Runtime. There is no firewall active on my engineering PC or the Raspberry Pi. Is OpenVPN-Cloud service blocking some ports needed by CodeSys? I am on CodeSys 3.5 SP16 Patch 2 Thanks!
I cannot establish connection to the License container. I am not able to find the Raspberry Pi by "Scan". I can, anyhow, connect to the SoftSPS if I enter the OpenVPN-IP-Adress in communication settings directly. I then can view Online-Values and transfer the Runtime. There is no firewall active on my engineering PC or the Raspberry Pi. Is OpenVPN-Cloud service blocking some ports needed by CodeSys? I am on CodeSys 3.5.16 SP20 Thanks!
OK, I tried again. Here is a possible workaround: Connect to Raspberry Pi by IP address (OpenVPN IP adress) Copy the device address, which apears after connection - in my case (masked): [0301.9000.2DDC.XXYY.ZZZZ] Open "License Manager" Press "Add Device" Paste device address and hit the dialogs "OK"-Button Keep pressing the button License Managers "OK"-Button although it is greyed out first Eventually it will get black for the blink of an eye. If you did not keep hitting in first place you will not...
I cannot establish connection to the License container. I am not able to find the Raspberry Pi by "Scan". I can, anyhow, connect to the SoftSPS if I enter the OpenVPN-IP-Adress in communication settings directly. I then can view Online-Values and transfer the Runtime. There is no firewall active on my engineering PC or the Raspberry Pi. Is OpenVPN-Cloud service blocking some ports needed by CodeSys? Thanks!
Hi there, I am developing a control system on a Raspberry Pi, consisting of two main blocks in codesyscontrol runtime: (1) MAIN TASK: "Soft realtime" tasks for controlling actors and reading digital inputs via EtherCAT (EK1100). Cycle time 100 ms. (2) Asynchronous system commands for checking various system properties. Cycle time of multiple seconds are perfectly fine. At first I put the realtime and asynchronous tasks into the MAIN TASK, as I thought the state machine implementation of asynchronous...
Hi there, I am developing a control system on a Raspberry Pi, consisting of two main TASKS: (1) MAIN TASK: "Soft realtime" tasks for controlling actors and reading digital inputs via EtherCAT (EK1100). Cycle time 100 ms. (2) Asynchronous system commands for checking various system properties. Cycle time of multiple seconds are perfectly fine. At first I put the realtime and asynchronous tasks into the MAIN TASK, as I thought the state machine implementation of asynchronous tasks would take care of...
I am trying to encrypt my application and to establish optionally an encrypted communication. As I am on CodeSys 3.5.16 SP20 I am following this guide for encrypting the application: https://help.codesys.com/webapp/_csa_encrypting_bootapplication;product=codesys_security_agent;version=1.2.0.0 I tried both ways - none of them worked for me. I show you some pics of my settings (manually added): This is the error, when trying to download the Application: If I go one step further and try encrypted communication...
I am trying to encrypt my application and to establish optionally an encrypted communication. As I am on CodeSys 3.5.16 SP20 I am following this guide for encrypting the application: https://help.codesys.com/webapp/_csa_encrypting_bootapplication;product=codesys_security_agent;version=1.2.0.0 I tried both ways - none of them worked for me. I show you some pics of my settings (manually added): This is the error, when trying to download the Application: If I go one step further and try encrypted communication...
I am trying to encrypt my application and to establish optionally an encrypted communication. As I am on CodeSys 3.5.16 SP20 I am following this guide for encrypting the application: https://help.codesys.com/webapp/_csa_encrypting_bootapplication;product=codesys_security_agent;version=1.2.0.0 I tried both ways - none of them worked for me. I show you some pics of my settings (manually added): This is the error, when trying to download the Application: If I go one step further and try encrypted communication...
I am trying to encrypt my application and to establish optionally an encrypted communication. As I am on CodeSys 3.5.16 SP20 I am following this guide for encrypting the application: https://help.codesys.com/webapp/_csa_encrypting_bootapplication;product=codesys_security_agent;version=1.2.0.0 I tried both ways - none of them worked for me. I show you some pics of my settings (manually added): This is the error, when trying to download the Application: If I go one step further and try encrypted communication...
A quick fix of course would be to change to IF temp_time_s <> 0 THEN THIS^.settime := UDINT_TO_TIME(THIS^.temp_time_s * 1000); END_IF to the OnDialogClosed executed ST code. Backdraw: 0 s as input is not possible anymore. Then one could change the UDINT type to DINT and set temp_time_s to -1 per default. Backdraw: Very high TIME values cannot be set anymore.
I made up a short example. It just shows the basic functionality to reproduce the error. How to work with the example: Testcase1: Leave App as is. Click on the Combobox and select an item <> Testitem1 testvar1 and testvar2 will change to 0 Click on "Show testvar3" * testvar3 is unchanged Testcase2: Reset cold Add Testframe2 into the empty frame. Click on the Combobox and select an item <> Testitem1 All testvars are changed to 0
Yes, these are actually makro frames which handle the conversion of user input in hours -> TIME. Therefore I do the conversion "OnDialogClosed". Is your thought, that these fields catch the "DialogClosed" when an item of the combobox is chosen? Of course the input of the time fields' dialogs is 0 right in this moment, so that would make sense... In that case: Any idea how I limit the "OnDialogClosed" catch to the frame it is specified in? As the input field is within a different object there might...
Yes, these are actually makro frames which handle the conversion of user input in hours -> TIME. Therefore I do the conversion "OnDialogClosed". Is your thought, the these fields catch the "DialogClosed" when an item of the combobox is chosen? Of course the input of the time fields' dialogs is 0 right in this moment, so that would make sense... In that case: Any idea how I limit the "OnDialogClosed" catch to the frame it is specified in? As the input field is within a different object there might...
Yes, these are actually makro frames which handle the conversion of input in hours -> TIME. Therefore I do the conversion "OnDialogClosed". Is your thought, the these fields catch the "DialogClosed" when an item of the combobox is chosen? Of course the input of the time fields' dialogs is 0 right in this moment, so that would make sense... In that case: Any idea how I limit the "OnDialogClosed" catch to the frame it is specified in? As the input field is within a different object there might be a...
Yes, these are actually makro frames which handle the conversion of input in hours -> TIME. Therefore I do the conversion "OnDialogClosed". Is your thought, the these fields catch the "DialogClosed" when an item of the combobox is chosen? Of course the input of the time fields' dialogs is 0 right in this moment, so that would make sense... In that case: Any idea how I limit the "OnDialogClosed" catch to the frame it is specified in? As the input field is within a different object there might be a...
Hi everyone, I reckon I stumbled over a bug. Sorry that I cannot show any code as this is a customers project. Following steps to reproduce: I have a Combobox (array) on a dialog. I connected the variables accordingly "Variable" to a UINT variable called 'ui_idx' "Data array" to a 0-indexed array [0..4] of STRING(50) I also have a few input fields on the same dialog, which are connected to i.e. TIME variables. Let's call them 't_var1', 't_var2', 't_var3' If I change the value of 'ui_idx' through...
I can confirm these ports. Thank you very much!
Hi there, I have set up a firewall on my RPi by setting iptables. This is my configuration: pi@tbrpi:~ $ sudo iptables -S -P INPUT DROP -P FORWARD ACCEPT -P OUTPUT ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m tcp --dport 80 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 443 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 8080 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 5970 -m state --state...
Hi there, I have set up a firewall on my RPi by setting iptables. This is my configuration: pi@tbrpi:~ $ sudo iptables -S -P INPUT DROP -P FORWARD ACCEPT -P OUTPUT ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m tcp --dport 80 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 443 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 8080 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 5970 -m state --state...
Hi there, I have set up a firewall on my RPi by setting iptables. This is my configuration: pi@tbrpi:~ $ sudo iptables -S -P INPUT DROP -P FORWARD ACCEPT -P OUTPUT ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m tcp --dport 80 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 443 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 8080 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 5970 -m state --state...
Hi there, I have set up a firewall on my RPi by setting iptables. This is my configuration: pi@tbrpi:~ $ sudo iptables -S -P INPUT DROP -P FORWARD ACCEPT -P OUTPUT ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m tcp --dport 80 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 443 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 8080 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 5970 -m state --state...
Hi there, I would like to prepare a clean (in terms of stripped of CodeSys license) Raspberry Pi image ready for release. Whenever a new device is sold I would like to flash the clean image, connect with my IDE to the device and activate a new CodeSys license on the device. My question: Which files do I need before creating the clean release image? I know of the following folder: /var/opt/codesys with the following relevant content: pi@mypi:~ $ tree /var/opt/codesys/ /var/opt/codesys/ βββ 3SLicense.wbb...
Hi there, I would like to prepare a clean (in terms of stripped of CodeSys license) Raspberry Pi image ready for release. Whenever a new device is sold I would like to flash the clean image, connect with my IDE to the device and activate a new CodeSys license on the device. My question: Which files do I need before creating the cleane release image? I know of the following folder: /var/opt/codesys with the following relevant content: pi@mypi:~ $ tree /var/opt/codesys/ /var/opt/codesys/ βββ 3SLicense.wbb...
Hi there, I would like to prepare a clean (in terms of stripped of CodeSys license) Raspberry Pi image ready for release. Whenever a new device is sold I would like to flash the clean image, connect with my IDE to the device and activate a new CodeSys license on the device. My question: Which files do I need before creating the image? I know of the following folder: /var/opt/codesys with the following relevant content: pi@mypi:~ $ tree /var/opt/codesys/ /var/opt/codesys/ βββ 3SLicense.wbb βββ backup...
Alright, while writing the above post I came up with the trivial solution myself, which I just successfully tested: Simply change the str_MaskedPassword variable to be InOut and handle it the same way like the unmasked str_IOPassword InOut variable... Best regards, LeFish
Alright, while writing this post I came up with the trivial solution myself, which I just successfully tested: Simply change the str_MaskedPassword variable to be InOut and handle it the same way like the unmasked str_IOPassword InOut variable... Best regards, LeFish
Hi erveryone, I am on CodeSys 3.5.16. In the CodeSys login dialog the password field is always masked with three asterisks *** So I came up with my own password field as visu object, which I reference to in the login dialog. This is how the visu object looks like: The OnMouseDown-Event: The OnDialogCLosed-Event triggers the following ST-Code: THIS^.str_IOPassword := THIS^.str_Password; THIS^.str_MaskedPassword := ''; FOR THIS^.index := 0 TO LEN(THIS^.str_Password)-1 DO THIS^.str_MaskedPassword :=...
Hi erveryone, I am on CodeSys 3.5.16. In the CodeSys login dialog the password field is always masked with three asterisks *** So I came up with my own password field as visu object, which I reference to in the login dialog. This is how the visu object looks like: The OnMouseDown-Event:
Hi erveryone, I am on CodeSys 3.5.16. In the CodeSys login dialog the password field is always masked with three asterisks *** So I came up with my own password field as visu object, which I reference to in the login dialog. This is how the visu object looks like: The OnMouseDown-Event:
Hi everyone, I simply resized the size of the dialog by 1. grouping the elements 2. resizing 3. ungrouping the elements 4. Changed Font No other changes made. I then saved library and used in the project (version 3.5 SP20) Everything works fine except the password field: Altough the variable VisuUserManagement.g_VisuLoginProviderManager.m_arrLoginProvider[iIndexLoginProvider].stPassword is linked (default) the U/N value is shown in the login dialog: The situation gets even more weird on the password...
Hi everyone, I simply resized the size of the dialog by 1. grouping the elements 2. resizing 3. ungrouping the elements No other changes made. I then saved library and used in the project (version 3.5 SP20) Everything works fine except the password field: Altough the variable VisuUserManagement.g_VisuLoginProviderManager.m_arrLoginProvider[iIndexLoginProvider].stPassword is linked (default) the U/N value is shown in the login dialog: The situation gets even more weird on the password change dialog:...
Hi everyone, I simply resized the size of the dialog by 1. grouping the elements 2. resizing 3. ungrouping the elements No other changes made. I then saved library and used in my project (version 3.5 SP20) Everything works fine except the password field: Altough the variable VisuUserManagement.g_VisuLoginProviderManager.m_arrLoginProvider[iIndexLoginProvider].stPassword is linked (default) the U/N value is shown in the login dialog: The situation gets even more weird on the password change dialog:...
Hi everyone, I simply resized the size of the dialog by grouping the elements resizing * ungrouping the elements No other changes made. I then saved library and used in my project (version 3.5 SP20) Everything works fine except the password field: Altough the variable VisuUserManagement.g_VisuLoginProviderManager.m_arrLoginProvider[iIndexLoginProvider].stPassword is linked (default) the U/N value is shown in the login dialog: The situation gets even more weird on the password change dialog: The the...
Hi everyone, I simply resized the size of the dialog by grouping the elements resizing * ungrouping the elements No other changes made. I then saved library and used in my project (version 3.5 SP20) Everything works fine except the password field: Altough the variable VisuUserManagement.g_VisuLoginProviderManager.m_arrLoginProvider[iIndexLoginProvider].stPassword is linked (default) it shows the U/N value in the login dialog: The situation gets even more weird on the password change dialog: The the...
Hi everyone, I simply resized the size of the dialog by grouping the elements resizing * ungrouping the elements No other changes made. I then saved library and used in my project (version 3.5 SP20) Everything works fine except the password field: Altough the variable VisuUserManagement.g_VisuLoginProviderManager.m_arrLoginProvider[iIndexLoginProvider].stPassword is linked (default) it shows the U/N value in the login dialog: The situation gets even more weird on the password change dialog: The the...
So you think, a Single-Core License is bound to Core 0 - which would be a pitty as there are 0-3 cores on a RPi... I see an affinity of the codesyscontrol-process of 0 as of standard on a Single-Core License - so would it be 0-3 on a Multi-Core License? And more so: Would it be possible to set the affinity of just one process (single application in my project) to one specific core on a Multi-Core License?
Hi there, I am having troubles to bind the process /opt/codesys/bin/codesyscontrol.bin /etc/CODESYSControl.cfg to core 1 by evoking the following command sudo taskset -pc 1 $pid The process affinity changes from 0 to 1, but the process still runs on core 0. Note: I do not want any Multi-Core usage. Just Single-Core on a different core than 0. Not even after altering the script /etc/init.d/codesyscontrol in line 115 from while ! pidof -s $EXEC >$PIDFILE 2>/dev/null; do to while ! pidof -s taskset...
Hi there, I am having troubles to bind the process /opt/codesys/bin/codesyscontrol.bin /etc/CODESYSControl.cfg to core 1 by evoking the following command sudo taskset -pc 1 $pid The process affinity changes from 0 to 1, but the process still runs on core 0. Note: I do not want any Multi-Core usage. Just Single-Core on a different core than 0. Not even after altering the script /etc/init.d/codesyscontrol in line 115 from while ! pidof -s $EXEC >$PIDFILE 2>/dev/null; do to while ! pidof -s taskset...
Hi, first of all, I am coming from a working version (CodeSys Dev 3.5.16SP20 with RPi Runtime Version 4.0.1) After having troubles with the OPC UA Server (BadConnection in UAExpert - running without encryption, Anonymous login enabled) I would like to revert back to runtime 4.0.1 and see if it is getting any better again... Therefore I uninstalled Packages 4.1.0 (Runtime and Edge Gateway for Linux) and installed 4.0.1 in CodeSys package manager. I also downgraded runtime version on RPi. Now, I I...
Hi, first of all, I am coming from a working version (CodeSys Dev 3.5.16SP20 with RPi Runtime Version 4.0.1) After having troubles with the OPC UA Server (BadConnection in UAExpert - running without encryption, Anonymous enabled) I would like to revert back to runtime 4.0.1 and see if it is getting any better again... Therefore I uninstalled Packages 4.1.0 (Runtime and Edge Gateway for Linux) and installed 4.0.1 in CodeSys package manager. I also downgraded runtime version on RPi. Now, I I try to...
Hi, first of all, I am coming from a working version (CodeSys Dev 3.5.16SP20 with RPi Runtime Version 4.0.1) After having troubles with the OPC UA Server (BadConnection in UAExpert) I would like to revert back to runtime 4.0.1 and see if it is getting any better again... Therefore I uninstalled Packages 4.1.0 (Runtime and Edge Gateway for Linux) and installed 4.0.1 in CodeSys package manager. I also downgraded runtime version on RPi. Now, I I try to connect the following error occurs: How do I select...
Hi, first of all, I am coming from a working version (CodeSys Dev 3.5.16SP20 with RPi Runtime Version 4.0.1) After having troubles with the OPC UA Server (BadConnection in UAExpert) I would like to revert back to runtime 4.0.1 and see if it is getting any better again... Therefore I uninstalled Packages 4.1.0 (Runtime and Edge Gateway for Linux) and installed 4.0.1 in CodeSys package manager. I also downgraded runtime version on RPi. Now, I I try to connect the following error occurs: How do I select...
I installed the x86-Version now. Everything works flawlessly. I can build code now. Now many different generators were added automatically. With the x64-Version before I only had "Code Generator 166". Thanks!
I installed the x86-Version now. Everything works flawlessly. I can build code now. Now many different generators were added automatically. With the x64-Version before I only had "Code Generator 166". Thanks!
Hi, I am developing a project with an activated Raspberry Pi Runtime license. I tried to switch CodeSys Version. On the new Version I get: [FATAL ERROR] C0299: Creating a code generator failed: The required plug-in is not installed But it does not say which plugin is missing! That's all it says: ------ Build started: Application: Device.Application ------- Typify code... [INFORMATION] MyProject: Symbol Configuration [Device: PLC Logic: Application](Symbol Configuration): Number of published variables......
Hi, I am developing a project with an activated Raspberry Pi Runtime license. I tried to switch CodeSys Version. On the new Version I get: [FATAL ERROR] C0299: Creating a code generator failed: The required plug-in is not installed But it does not say which plugin is missing! That's all it says: ------ Build started: Application: Device.Application ------- Typify code... [INFORMATION] MyProject: Symbol Configuration [Device: PLC Logic: Application](Symbol Configuration): Number of published variables......
Hi, I am developing a project with an activated Raspberry Pi Runtime license. I tried to switch CodeSys Version. On the new Version I get: [FATAL ERROR] C0299: Creating a code generator failed: The required plug-in is not installed But it does not say which plugin is missing! That's all it says: ------ Build started: Application: Device.Application ------- Typify code... [INFORMATION] MyProject: Symbol Configuration [Device: PLC Logic: Application](Symbol Configuration): Number of published variables......
Hi, I am developing a project with an activated Raspberry Pi Runtime license. I tried to switch CodeSys Version. On the new Version I get: [FATAL ERROR] C0299: Creating a code generator failed: The required plug-in is not installed But it does not say which plugin is missing! I installed the runtime package (v4.1.0.0) and activated my license ticket in the license repository. I also downloaded all the missing libraries. What else do I have to do to switch CodeSys version? Thanks!
Hi, I am developing a project with an activated Raspberry Pi Runtime license. I tried to switch CodeSys Version. On the new Version I get: [FATAL ERROR] C0299: Creating a code generator failed: The required plug-in is not installed I installed the runtime package (v4.1.0.0) and activated my license ticket in the license repository. I also downloaded all the missing libraries. What else do I have to do to switch CodeSys version? Thanks!
Ok, I found the solution. With Build/Generate Code a XML file is created withing the project folder.
I am running the Codesys OPC-UA server on a RPi and want to connect nodeRED on the same system to it. Is it possible to export the symbol configuration to a nodeset.xml? The browsing functionality of the opc-ua-node is buggy and as the symbol configuration is static during runtime in my application it is kind of an overkill... Thank you in advance!
The fix to turn on "Update IO while in stop" as suggested here: https://forge.codesys.com/forge/talk/Motion/thread/2c78a2253d/ did not do anything. But after seeing the Task Monitor again, after restarting CodeSys it dawned on me: In my MainTask I had horrifying Max. Task time because of a python script for logging called by the PRG. Thats why my EtherCAT-Task dropped out frequently! SOLVED LeFish
The fix to turn on "Update IO while in stop" as suggested here: https://forge.codesys.com/forge/talk/Motion/thread/2c78a2253d/ did not do anything. But after seeing the Task Monitor again, after restarting CodeSys it dawned on me: In my MainTask I had horrific Max. Task time because of a python script for logging called by the PRG. Thats why my EtherCAT-Task dropped out frequently! SOLVED LeFish
The fix to turn on "Update IO while in stop" as suggested here: https://forge.codesys.com/forge/talk/Motion/thread/2c78a2253d/ did not do anything. But after seeing the Task Monitor again, after restarting CodeSys it dawned on me: In my MainTask I had horrific Max. Task time because of a python script for logging, added earlier. Thats why my EtherCAT-Task dropped out frequently! SOLVED LeFish
Hi there, right now I am testing the EtherCAT-Comm, but I am getting frequent dropouts pretty exactly every minute. I am getting watchdog for opmode expired. Address: 1002 pretty much every minute. With the OneWire_Master_PRG on it was even every 3 seconds and lead to a complete failure of device EL1512. I would like to address this behaviour after solving these 1-minute dropouts. This behaviour occurs every time, after resetting the runtime. I also added the Log_EL1512.xml for your reference. I...
Hi there, right now I am testing the EtherCAT-Comm, but I am getting frequent dropouts pretty exactly every minute. I am getting watchdog for opmode expired. Address: 1002 pretty much every minute. With the OneWire_Master_PRG on it was even every 3 seconds and lead to a complete failure of device EL1512. This behaviour occurs every time, after resetting the runtime. I also added the Log_EL1512.xml for your reference. I have following cyclic tasks with PRGs running: MainTask | 50 ms | Prio: 10 EtherCAT_Task...
Hi there, right now I am testing the EtherCAT-Comm, but I am getting frequent dropouts pretty exactly every minute. I am getting watchdog for opmode expired. Address: 1002 pretty much every minute. This behaviour occurs every time, after resetting the runtime. I also added the Log_EL1512.xml for your reference. I have following cyclic tasks with PRGs running: MainTask | 50 ms | Prio: 10 EtherCAT_Task | 10 ms | Prio: 10 Task_1s_RT | 1000 ms | Prio: 12 VISU_TASK | 200 ms | Prio: 30 plcload for a few...
Hi there, right now I am testing the EtherCAT-Comm, but I am getting frequent dropouts pretty exactly every minute. This behaviour occurs every time, after resetting the runtime. I also added the Log_EL1512.xml for your reference. I have following cyclic tasks with PRGs running: MainTask | 50 ms | Prio: 10 EtherCAT_Task | 10 ms | Prio: 10 Task_1s_RT | 1000 ms | Prio: 12 VISU_TASK | 200 ms | Prio: 30 plcload for a few requests shows between 8% and 21%. Interestingly the Task Configuration / Monitor...
Hi there, right now I am testing the EtherCAT-Comm, but I am getting frequent dropouts pretty exactly every minute. This behaviour occurs every time, after resetting the runtime. I also added the Log_EL1512.xml for your reference. I have following cyclic tasks with PRGs running: MainTask | 50 ms | Prio: 10 EtherCAT_Task | 10 ms | Prio: 10 Task_1s_RT | 1000 ms | Prio: 12 VISU_TASK | 200 ms | Prio: 30 plcload for a few requests shows between 8% and 21%. Interestingly the Task Configuration / Monitor...
Hi there, right now I am testing the EtherCAT-Comm, but I am getting frequent dropouts pretty exactly every minute. This behaviour occurs every time, after resetting the runtime. I also added the Log_EL1512.xml for your reference. I have following cyclic tasks with PRGs running: MainTask | 50 ms | Prio: 10 EtherCAT_Task | 10 ms | Prio: 10 Task_1s_RT | 1000 ms | Prio: 12 VISU_TASK | 200 ms | Prio: 30 plcload for a few requests shows between 8% and 21%. Interestingly the Task Configuration / Monitor...