Activity for yannickasselin

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Not sure this will help you but I had the same issue and was able to activate the license on a Windows PC using the Web Depot in a web browser. https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_installing_license.html

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello, I tried installing ControlWin 3.5.20.40 and still have the same issue. I tried on 2 different PCs running Win10 Enterprise 2016 LTSB So I then installed the Gateway from 3.5.20.20 and it works. Is there an issue using ControlWin 3.5.20.40 with Gateway from 3.5.20.20? Thank you

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Using Wireshark, I can see that the broker sends the QoS 1 or 2 messages when Codesys MQTT client reconnects but they are just discarded and not acknowledged by Codesys MQTT Client. So the broker holds on to them and tries to send them back to Codesys every time the client reconnects but they are always discarded by Codesys. There really seems to be an issue with QoS 1 & 2 in Codesys. It really does not behaves like it should.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Using Wireshark, I can see that the broker sends the QoS 1 or 2 messages when Codesys MQTT client reconnects but they are just discarded and not acknowledged by Codesys MQTT Client. So the broker holds on to them and tries to send them back to Codesys every time the client reconnects but they are always discarded by Codesys. There really seems to be an issue with QoS 1 & 2 in Codesys. It really not behaves like it should.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, After some more tests, here is what I found out. It seems we have to increase the uiKeepAlive and tPingInterval parameters. If I increase the uiKeepAlive value to 60s and the tPingInterval to 30s, then if I disconnect the ethernet cable from Codesys and publish some messages to which Codesys subscribes to and then reconnect within 30s, I will get the messages. If I don't reconnect the cable within 30s (ping interval), the client goes in error with "ACKNOWLEDGE_TIMEOUT". When this happens,...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Anyone? Please? The Codesys documentation clearly states that QoS 1 & 2 are supported for Publisher and Subscriber. I really need to make this work for an important project. Thank you

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am using Codesys sp20p3 and IIoT library 1.11. I am trying to test QoS 1 & 2 and I have some issues. I am using mosquitto as the broker. I am also using some other MQTT clients like Node-Red and TwinCAT. They all work as expected for every QoS levels. I only have issues with Codesys MQTT client. In the Codesys client, if I subscribe to a topic as QoS 1 or 2, and a client publishes to this topic, I receive the message. But if I disconnect the Codesys client from the network and a client publishes...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am using Codesys sp20p3 and IIoT library 1.11. I am trying to test QoS 1 & 2 and I have some issues. I am using mosquitto as the broker. I am also using some other MQTT clients like Node-Red and TwinCAT. They all work as expected for every QoS levels. I only have issues with Codesys MQTT client. In the Codesys client, if I subscribe to a topic as QoS 1 or 2, and a client publishes to this topic, I receive the message. But if I disconnect the Codesys client from the network and a client publishes...

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello, Trying to install ControlWin 3.5.20.30 on Windows 10 Enterprise 2016 LTSB and I always get this error about the gateway. 3.5.20.20 is working fine. Any ideas why? Thank you

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    The one I bought is a Mokerlink managed switch with 4x2.5G and 2x10G. It is a very generic switch. You can find it under many different brand names.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I ordered a cheap managed switch and tested it as soon as I received the switch. It works great! I even went a bit further. As you can see in the screenshot, I created 2 Codesys containers. Each one having 2 fieldbuses. The first one has EtherCAT and EtherNet/IP and the second one has EtherCAT and Modbus/TCP. All going through the same ethernet port from the PC to the switch. The switch splits it up into 4 different networks. The hardest part was to figure out how to configure the switch. @eschwellinger,...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I am looking for exactly the same thing. I would think that using a layer 2/3 managed switch should work but I am not convinced. I would like to test it in order to see if it would be possible to run many Codesys Docker instances on a server and run only 1 ethernet cable from the server to a managed switch closer to the machines beeing controlled instead of having to run multiple long ethernet cables. I was going to buy a managed switch in order to test it but I want to first make sure it is...

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    A bit of work but maybe possible to make your own driver using "CODESYS Control SL Extension Package". Look at the "ExternalIoDrv" example. It is installed in "C:\Program Files\CODESYS 3.5.20.0\CODESYS\CODESYS Control SL Extension Package" when you install the "CODESYS Control for Linux SL".

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Just adding: sSubscriberdata := ''; Right before your memcopy should fix the extra characters. It is because your are copying 36 characters into a string which can contain more than 36 characters and there is garbage left in the extra characters. Regarding the parsing of json, I usually build a structure that mirrors the json data and use the available methods in the IIoT library to parse the data and fill the structure.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Just adding: sSubscriberdata := ''; Right before your memcopy should fix the extra characters. It is because your are copying 36 characters into a string which can contain more than 36 characters and there is garbage left in the extra characters. Regarding the parsing of json, I usually build a structure that mirrors the jason data and use the available methods in the IIoT library to parse the data and fill the structure.

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    When I place the file in C:\ProgramData\CODESYS\CODESYSControlWinV3x64\XXXXXXXX\PlcLogic it is still not working. So I decided to try and place the file in C:\Program Files\CODESYS 3.5.19.60\GatewayPLC instead and it worked! Why is it not working in the PlcLogic folder? Is there something missing in the configuration file?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    When I place the file in C:\ProgramData\CODESYS\CODESYSControlWinV3x64\XXXXXXXX\PlcLogic it is still not working. So I decided to try and place the file in C:\Program Files\CODESYS 3.5.19.60\GatewayPLC instead and it worked! Why is it not working in the PlcLogic folder? Is there something missing in the configuration file?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Same problem here. I am pretty sure I was able to make it work a couple weeks ago but now I cannot make it work anymore. Always get FILE_OPEN_ERROR

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Yes it is possible. I did it a lot of times using TeamViewer VPN. Unfortunately, TeamViewer VPN only works on Windows. If the remote PLC is a Codesys runtime running on Windows, you should be able to login directly using TeamViewer VPN if it is installed on the PC/PLC. If it is not Windows based, you can still do it but you need to have a Windows based PC acting as a gateway in the middle. In this case you need to enable IP Forwarding on the Windows remote PC (the gateway) and you need to setup the...

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I did not even remember this post. I guess I left it this way. Sorry I can't help.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I have a project which I work on using 2 different PC. When I transfer the project from one PC to the other and try to go online, I am always asked to download the project. The only reason seems to be the AlarmStorage. What could cause that? Thank you

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I personally use wireguard on all of our projects for remote support. It runs on 32bit Raspberry Pi OS along with CODESYS Control for Raspberry Pi MC SL. Already many of them installed without a single issue.

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I have been struggling with this issue for a very long time. I figured that if you have two identical Codesys installation, you should be able to go online from any of the two PCs using the .project file and the .compileinfo file. But when I say identical I mean it. Same Codesys version, same add-ons versions, same runtimes versions, same librairies versions, etc. And I cannot garantee that it always works. For exemple, I tested it just before writing this post. I downloaded to a PLC from PC1. I...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    If I understand it correctly, this means that even if I install multiple versions of visualization add-ons in the Codesys IDE, I am only able to use the most recent one? I would have thought this would be one of the main reason of modularization. Being able to use different versions of the add-on. Why bother installing different versions if I can only use the most recent? I am someone who likes to keep up to date on add-ons. So if I keep updating everytime there is a new add-on, I will end up having...

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I recently updated Codesys Visualization Add-On from 4.2.0.0 to 4.3.0.0. Since I did that, I am not able to login to a system that has 4.2.0.0. I was able to login to this system before the update. If I try to install missing add-ons I get a message saying "The required version 4.2.0.0 is overshadowed by the newer version 4.3.0.0. How can I use 4.2.0.0 in order to be able to go online with the controller? EDIT: After uninstalling the 4.3.0.0 Visualization Add-on, everything worked fine. I...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I recently updated Codesys Visualization Add-On from 4.2.0.0 to 4.3.0.0. Since I did that, I am not able to login to a system that has 4.2.0.0. I was able to login to this system before the update. If I try to install missing add-ons I get a message saying "The required version 4.2.0.0 is overshadowed by the newer version 4.3.0.0. How can I use 4.2.0.0 in order to be able to go online with the controller?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I always work locally on my projects but I do backups on a google drive. I always save my projects on my local drive and then copy them to a google drive.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I still get this message and still click "yes" everytime.

  • yannickasselin yannickasselin posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    This kind of works... But then, the template is applied to the whole column. So you don't get the different colored rows anymore. I think I will just uncheck "Show Column Header" and just manually write it myself on top of each column. Unless there is a better way.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, When using EtherCat, Visualization, Alarm Manager and Persistence Manager, it automatically creates a lot of tasks. Some of these tasks have similar intervals. It seems to me that it would be more efficient if I could combine some of these tasks but I am afraid it would cause issues. For exemple, could I combine "LOW" and "AC_RMP_Task"? Could I combine "HIGH" and "EtherCAT_Task"? Furthermore, if I use a MC runtime could I spread these task on different cores or some tasks absolutely need to...

  • yannickasselin yannickasselin posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Ok, I see you are doing this in a Rectangle element. I am trying to do this in a Table element. This option is not there in the Table. Maybe it is possible to do it using a Rectangle template inside a Table but when I tried, it would not show the text at all.

  • yannickasselin yannickasselin posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Cannot find it in the text propreties of the table element. Could you show exactly where it is? Are you using a template or not?

  • yannickasselin yannickasselin posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello, Is there a way to achieve line breaks in tables? For exemple, I want to override the column header text and in the field "Column Header" ctrl + enter does not work to break lines. I also tried using a rectangle template but the text entered in it does not show up. Any Ideas?

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Maybe you should have a look at "persistence manager". A little involved to setup but once it's done, it's very powerful and flexible.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    As of right now, I am using 3.5.18.2 but this has nothing to do with the version of Codesys as far as I know. I did it in the past using TeamViewerVPN, OpenVPN and now I mostly use Wireguard and it works fine. My runtime is running on Linux but it should work the same on Windows.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    If you can ping the machine, you should be able to connect to it using Codesys. I do this everyday and it works fine. Don't try to scan the network to find the Codesys runtime. Just manually put the IP address.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    It is always greyed out in "Logical I/Os". You need to link it in the FSOE_Slot.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I cannot download the safety project. It is giving me this error: the RUN-signal has to be active in the Group cfg data at word-offset 0x23

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Ok. I figured it out. You need to manually add a Logical Device (EL 1918 FSoE Message) in Logical I/Os. And then link the FSOE_Slot to it in Module I/O Mapping.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    EL1918 is now supposed to be supported for safe IOs and Safety Logic. I cannot figure out how to use it for both. When I add the EL1918 in my project, it seems to be used only for Safety logic. How can I add the safety IOs? I want to use the same EL1918 for Logic and IOs. Thank you.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am sure the last time I tried it was not working, but I tried it again today and it works. I must have done something wrong the last time. Thank you.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Ok, thanks

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    No one? Anyone?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Am I the only one using the Safety Editor?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    One easy solution would be to expose the Codesys values in modbus (modbus slave) and use pymodbus to read them from your Python application (modbus master). If you want to do it the other way around, showing the python app values in the Codesys Visu, you could use the Linux SL Extension that comes with the raspberry pi runtime.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    You have everything you need in Codesys. Not sure I understand your question. Are you trying to not use Codesys? If so, it might not be the right place to ask how to get rid of Codesys. lol

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, 2 questions: 1 - Is it possible to manually connect a line between 2 FB? If I drag a FB on the output of another FB, it will automatically connect it to the first input. But if I want it connected to the second input, I cannot find a way to move the yellow line. 2 - How can I connect 2 FB on 2 different network (rung)? I know I can explicitly write the name and of the FB in the input of the other FB, but if I have nothing connected to the output of the first FB, it will not build.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I've given up on this. I click yes everytime. At least it works. Sometimes, just copying a .project file and openning it again on the same PC with the same version of Codesys triggers this message. Very confusing.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I've given up on this. I click yes everytime. At least it works. Sometimes, just copying a .project file and openning it again on the same PC with the same version of Codesys triggers this message. Very confusing.

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    [SysProcess] Command=AllowAll You could also keep the shutdown at .0 I think. Like this: [SysProcess] Command=AllowAll Command.0=shutdown

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    I will add the project archive here as there does not seem to be a way to send the project to "my question". This is a very very simple project that I created using 3.5.18.0. And when I open it with the same version and try to save it again, it gives me the confusing storage format message.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I will add the project archive here as there does not seem to be a way to send the project to "my question".

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    What if I buy "CODESYS Control for PLCnext SL"? Would I be able to do ProfiSafe in Codesys IDE? I am trying hard to find a way to do Safety over wifi in Codesys. I know this is hard to do with EtherCAT but I also know that it should be quite easy to implement using ProfiSafe. This is exactly what I am trying to do: This image was taken from ABB AC500-S Safety PLC: https://library.e.abb.com/public/0223aa148785e4a6c1257c2100539e77/3ADR025016L0201.pdf So I know it is possible to do it but I don't want...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    What if I buy "CODESYS Control for PLCnext SL"? Would I be able to do ProfiSafe in Codesys IDE? I am trying hard to find a way to do Safety over wifi in Codesys. I know this is hard to do with EtherCAT but I also know that it should be quite easy to implement using ProfiSafe. This is exactly what I am trying to do:

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Ok. What do I need to be able to do this?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    No one knows?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I found this Codesys Safety user manual: https://www.berghof-automation.com/fileadmin/user_upload/Uploads/Dokumente/Handbuch/Safety_User_Manual_V8.0_CODESYS_Safety_1.5.0_on_3.5.14.40.pdf In this manual, it seems possible to do safe communication between 2 safety controllers using "SafetyNetVar" library. I cannot figure out how to do it, I must be missing something... I would like to make safe communication between 2 EL6900. Is this possible? Is it something specific to Berghoff controllers...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am still having this issue. I really hope someone from Codesys could help. Please. Thank you.

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello, I am using the ETC_ADS_IoLinkWrite and ETC_ADS_IoLinkRead function blocks to read and write some parameters on an IO-Link device. Here's the setup: Raspberry Pi MC SL -> EK1100 -> EL6224 -> Banner LE 550 I have 2 issues: 1 - I am able to read parameters but I have to execute the function block twice. First time, the function block completes without errors but there is no data written to the byte array. The second time, the function block completes without errors and the data is finally written...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I keep getting this annoying and confusing warning. Is there a way to get rid of this? Thank you

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Any idea?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I recently noticed that everytime I reboot my development PC (IDE), I cannot go online with my runtime anymore. 3.5 SP18, Raspberry Pi MC runtime. It is the same project file that I just downloaded before rebooting but still cannot go online without downloading it again. What is the problem?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    So I guess this is not possible?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    No one knows? Please...?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, What is this storage format thing? Me and my collegue are both working with Codesys SP18 and when we try to open the same project (not at the same time), we keep getting this confusing warning. What can I do to fix this?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I personnaly use the persistence manager. It works great and is very flexible. It is a bit of work to setup but once it is done, it is easy to use.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    After a lot of tests, I was able to make it work. I needed to make an archive with these 2 options: But then, I need to do this everytime. Is there a way to configure the IDE the same way on both PC so that I would not need to make an archive everytime I want to open the project on a different PC? Thank you

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Same result. I created an archive on PC-A opened it on PC-B and still not able to go online. Same 2 error messages.

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am working on PC-A. I download the program to the runtime and go online and everything works fine. I go offline and close the IDE. I then open the program on PC-B (another PC) and I am not able to directly go online. Same program, same Codesys versions (SP18). I get the warning saying that an application is currently running and asking if I want to download. If I try downloading, I get a popup about the storage format. What could cause that? How can I make sure that the 2 PCs are able to...

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am working on PC-A. I download the program to the runtime and go online and everything works fine. I open the program on PC-B and I am not able to directly go online. Same program, same Codesys versions (SP18). I get the warning saying that an application is currently running and asking if I want to download. If I try downloading, I get a popup about the storage format. What could cause that? How can I make sure that the 2 PCs are able to go online without having to download? Thank you.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am working on PC-A. I download the program to the runtime. I open the program on PC-B and I am not able to directly go online. Same program, same Codesys versions (SP18). I get the warning saying that an application is currently running and asking if I want to download. If I try downloading, I get a popup about the storage format. What could cause that? How can I make sure that the 2 PCs are able to go online without haveing to download? Thank you.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am working on PC-A. I download the program to the runtime. I open the program on PC-B and I am not able to directly go online. Same program, same Codesys versions (SP18). I get the warning saying that an application is currently running and asking if I want to download. If I try downloading, I get a popup about the storage format. What could cause that? How can I make sure that the 2 PCs are able to go online without haveing to download? Thank you.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am working on PC-A. I download the program to the runtime. I open the program on PC-B and I am not able to directly go online. Same program, same Codesys versions (SP18). I get the warning saying that an application is currently running and asking if I want to download. If I try downloading, I get a popup about the storage format. What could cause that? How can I make sure that the 2 PCs are able to go online without haveing to download? Thank you.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Ok, my bad... My collegue did not have the safety package installed. Now it is working.

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    I managed to get it working on my PC. But when my collegue tries to open it, he still gets this message: But he is on SP18 just like me!

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I managed to get it working on my PC. But when my collegue tries to open it, he still gets this message:

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Is there an easy way to fully update a project? I tried to update every device in the project, I've set all the librairies to newest, I tried "save as". Me and my collegue have updated the IDE through the CODESYS Installer and we applied all the updates available. We cannot seem to be able to both work on the project. If I open it or my collegue opens it, we always end up with some messages saying that the project was built with SP18 so we cannot open it with SP18...!!!

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    And when my collegue tries to open it with SP18, he gets this:

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I have a project that was made with SP17. I am trying to update it to SP18 but I keep getting this:

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I just tested it and it works. Thanks.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, While watching the "CODESYS Feature Briefing 2022 – Part II" on youtube I saw that the EL1918, EL2911 and EL2912 logic should be supported in SP18. But the safety package in the store still does not support them. Will there be a new version of the safety package coming out soon?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Not really. I think it is a "hacky" way of doing it. He is using different alarm groups to act as classes. Probably because of the fact that you cannot use a variable in the class column. And also, it seems there is no way to tell if the alarm is of different type than digital. In the end, you kind of loose some flexibility. And I really would not pay for this kind of hack, something that you can easily implement by yourself. I would really be uncomfortable charging people money for this kind of...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I got it working. I started from the example and implemented the methods to filter the classes. I mostly did the same thing that was already implemented for the groups.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, Anyone know how to use IAlarmFilterCriteria to get the active alarms of a specific class? There is a method called "GetCountAlarmClass" which seems to be exactly what I need but I cannot find where to specify the class I want to get back.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, Is it possible to dynamically create alarms from IEC code instead of creating every alarms in the alarm configuration? I used to do this in TwinCAT but I had to create my own alarm manager. I would like to be able to do this in Codesys while still using the Codesys Alarm Manager since it comes with a lot of nice features. I don't want to have to manually create all the alarms on every projects. I would like the code to handle it by itself. Like if I use a certain fonction block it could automatically...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I found a way to do it using the "Alarm Manager Client" and looping through active alarms. I have to say there is not much documentation about the "Alarm Manager Client". I had to experiment with the examples available on Forge and Github. Would be nice to have clear documentation about this powerful tool. Thanks.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I finally figured that I cannot achieve my goal by using the notifications. What I want to do is to know when at least 1 alarm of a specific class is active. Is there an implicit variable that can tell that. I tried doing this using the notification actions but it does not work. I was setting a variable to true when the error class gets activated and to false when the error class is deactivated. The problem is when I have more than 1 alarm of class error active, as soon as one of them gets deactivated,...

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Ok, after restarting the IDE, everything works. It seems like even after deleting some previous calls, it was still showing old compiling errors.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    When trying to call a fonction block instead, I get the error: "C0136: Ambiguous use of name '__ALM_ERROR_CALLNOTIFIABLE_1' I must be missing something?

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am trying to write to a boolean variable whenever an alarm is triggered but the program will not compile. I always get this alarm: "C0136: Ambiguous use of name '__ALM_ERROR_VARIABLENOTIFIABLE_1'. Can anyone explain how this is supposed to be configured. I read the help but it does not help much: https://help.codesys.com/webapp/_cds_obj_alarm_class;product=core_visualization;version=3.5.17.0 Thank you.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, Is there a way to map an Ethernet/ip adapter device directly to a struct instead of mapping every byte one by one? When using Modbus TCP I can map the modbus array directly to a struct of the right size but when using ethernet/IP, the inputs and outputs are not part of an array so I cannot find a way to map them directly to a struct. The only way I can think of is by using a MEMCPY with the address of the first input or output.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I finally managed to install it using another PC. Same VM but running on another PC. Cannot explain why it finally worked on the other PC but now it works.

  • yannickasselin yannickasselin modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, Anyone else having issues installing 3.5.17.30 64bit? I am trying to install it on a brand new fully updated windows 10 VirtualBox VM and the installation gets stuck on "Install all Packages added to the setup"

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, Anyone else having issues intalling 3.5.17.30 64bit? I am trying to install it on a brand new fully updated windows 10 VirtualBox VM and the installation gets stuck on "Install all Packages added to the setup"

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am trying to find an alternative to safety over ethercat with EL6900 but still want to be able to program my safety in Codesys. Profisafe would be nice. Or do you have any recommendations? Thank you

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, Is it possible to do Profisafe in Codesys just like "CODESYS Safety for EtherCAT Safety Module SL"? I cannot find anything in the store. It seems possible according to this: https://www.codesys.com/products/codesys-safety/safety-for-sil3-devices.html Do I need to buy specific Controller or can I do it on any PC running a Codesys runtime? Thank you.

  • yannickasselin yannickasselin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I used to be able to open older projects with a newer version of Codesys and update devices and then save the project and the next time, it would open without any isuues. But now there is this new popup and I am not sure what is the best way to proceed if I want to update everything in my project so that it opens without popup the next time.

  • yannickasselin yannickasselin posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hi, Is it possible to change the color of the symbols?

1 >