Post by nikgind on Codesys Communication Manger - Required information model version exists in the model repository but is not found
CODESYS Forge
talk
(Post)
Hi I am trying to import a custom information model that I created using UA Modeler. I have only added two new methods and two new object types. It is possible to add the information model to the Communication Manager and the two new object types are shown in the Information Model tab. After compiling i get the following error: Communication Manager [Device: PLC Logic: Application]: The information model http://opcfoundation.org/UA/ is required by http://yourorganisation.org/Bsp_3.1/ with a minimal publication date from 15.12.2023 but the device has only a model from 15.09.2021 installed. Probably the information model from 15.09.2021 is missing in the information model repository. The error message does not make sense to me. Should it not be “Probably the information model from 15/12/2023 is missing in the information model repository”? Anyway I have installed the information model from 15/12/2023 but not from 15/09/2021. Which makes the error message even stranger.
Last updated: 2024-06-09
Post by brubingh on Download Missing Libraries not working
CODESYS Forge
talk
(Post)
We are working on a project and the customer required 3.5.16 BF4. After working on the project for a few weeks I opened it the next morning and it could not access libraries. IecVarAccess could not be accessed. I checked if windows updated - it did not. So no explanation for why it lost access other than that I shut down the computer for the night. Note that I am using a demo license. I still haven't figured out any reason to purchase a license. So I spent the next hour reinstalling CodeSys. Note that I did NOT uninstall first. After install I waited another 5 minutes for it to open the first time. I clicked File->Open to open the project. Previously I had selected File->Recent Projects - not sure if that makes and difference. But after this process it did open the project and compile it just fine. This is miserable. If this had happened when I went on site to a customer I would have lost hours of work doing the reinstall. Is there a different and quicker fix?
Last updated: 2024-06-13
Post by sahil-koul on Touch Probe Continuous Trigger
CODESYS Forge
talk
(Post)
Hi everyone. Can anyone tell how to do continuous trigger function of probe in codesys and change scaling of servo online in program
Last updated: 2024-06-16
Post by ignat on SafetyApp - Exchange 8 bits from EtherCAT Safety Module to PLC mapping issue
CODESYS Forge
talk
(Post)
Hi transmin01, I am struggling with the same issue. Have you found out the solution?
Last updated: 2024-06-17
Post by rmaas on Strange Behavior on Raspberry Pi
CODESYS Forge
talk
(Post)
Hello, what you are seeing is not strange behavior. The problem is that everyting is happening in the same program cycle. After the variable Stepnumber is changed from 10 to 20 for example then you want the program to wait with the next EQ until the next program cycle. Else every EQ will be be true because in every line the variable Stepnumber is increased. When the program arrives (still in the same cycle) at the line with the timer, the Stepnumber has been increased to 30 in the meantime and the timer will allway be ON because even though the variable is written to 10 in this line in the next cycle it starts with 10 and will be 30 again before reaching the timer in line 8. Not very good at explaining stuff but i hope you get the problem. See screenshot below for an example of one way you could solve this...
Last updated: 2024-06-18
Post by calviniscoding on JSON
CODESYS Forge
talk
(Post)
Can you post the new code that you have by chance? Also, are you able to send the values of tags dynamically with the RTAC in this JSON format? I'm running into a lot of road blocks with it.
Last updated: 2024-06-21
Post by calviniscoding on JSON
CODESYS Forge
talk
(Post)
Can you post the new code that you have by chance? Also, are you able to send the values of tags dynamically with the RTAC in this JSON format? I'm running into a lot of road blocks with it.
Last updated: 2024-06-21
Post by calviniscoding on JSON
CODESYS Forge
talk
(Post)
Can you post the new code that you have by chance? Also, are you able to send the values of tags dynamically with the RTAC in this JSON format? I'm running into a lot of road blocks with it.
Last updated: 2024-06-21
Post by kthomas on Cant login to Rpi4 but can see it in codesys communications settings.
CODESYS Forge
talk
(Post)
This is what I see in codesys window. And here is with the netstat command on the pi
Last updated: 2024-06-23
Post by thn-power on Codesys Communication Manger - Required information model version exists in the model repository but is not found
CODESYS Forge
talk
(Post)
Hi, Did you manage to solve the problem? I'm experiencing the same thing using a exported nodeset from UaModeler.
Last updated: 2024-06-28
Post by hwopereis on How to use Application Trigger in Modbus TCP Server
CODESYS Forge
talk
(Post)
I'm now circumventing the problem by creating a separate TCP client for all Write actions. Upon registering a changed variable, I enable this client, until the change is processed.
Last updated: 2024-07-01
Post by shabroz-gill on Data Sources Manager causing exception due to float or double type in OPC server
CODESYS Forge
talk
(Post)
Was this ever resolved? I see the same issue with the version 3.5.19.5
Last updated: 2024-07-01
Post by tariq on Using Hilscher CIFX Cards as EtherCAT Masters in CODESYS
CODESYS Forge
talk
(Post)
Dear Codesys Support Team, I hope this message finds you well. I am currently working on a project that involves using a Hilscher CIFX card to act as an EtherCAT master within the CODESYS environment. Despite following the available documentation and setup guides, I have encountered some challenges and require assistance to ensure proper configuration and operation. Questions: 1- Could you please confirm if the Hilscher CIFX card is supported as an EtherCAT master in CODESYS? If so, are there specific drivers or configuration files that need to be installed? 2- Are there detailed setup guides or example projects available that demonstrate the integration of Hilscher CIFX cards with CODESYS for EtherCAT communication? 3- Is there any additional software or plugins required for ensuring seamless communication between the CIFX card and the EtherCAT slaves within CODESYS? Your support and guidance on these matters would be greatly appreciated, as it is crucial for the success of our project. Thank you for your time and assistance. I look forward to your prompt response. Best regards, TB
Last updated: 2024-07-02
Post by viktorr on ShareMemory library documentation
CODESYS Forge
talk
(Post)
Hello, I was wondering if there was further documentation on the SharedMemory library in CodeSys outside of the code example provided, or maybe a way to access the source code of the shared memory implementation. Thank you in advance for any advice. - Viktor
Last updated: 2024-07-03
Post by viktorr on Shared Memory Requested Size
CODESYS Forge
talk
(Post)
Hello Derek, I recognize this is an older post, but i was wondering if found any ways to remedy this. I am running into what i think is the same problem you had here. Thank you in advance for any information, Viktor
Last updated: 2024-07-04
Post by strannik on SoftMotion SML
CODESYS Forge
talk
(Post)
I use SoftMotion Light libraries in my CodeSys 3.5 project. Activated the license. But probably not all the actions were completed. In the configuration of the axes A message that the driver is running in demo mode. Please tell me what complete actions need to be performed. Thanks
Last updated: 2024-07-06
Post by dekelec on Codesys 2.3 & Peak PCAN
CODESYS Forge
talk
(Post)
IF you have an USB interface type in "Peak_USB" for CAN card driver (Name of CAN card driver). No need to add libraries for communication via CoDeSys Gateway. For other card types contact PEAK support and they will help you. Regards,
Last updated: 2024-07-08
Post by installwhat on exception in system events handler
CODESYS Forge
talk
(Post)
I've noticed that exceptions in system event handlers don't stop the runtime or call the exception handler. I've included a very basic example to demonstrate. It seems likely this is undesired but unavoidable. Is that the case? Is there any advice on the matter? Thanks
Last updated: 2024-07-08
Post by mucleus on What is the solution for "Application stopped on recovery switch request"?
CODESYS Forge
talk
(Post)
Component ID 10 is my own log message by LogAdd Function. I want to know in what cases the application stops.
Last updated: 2024-07-09
Post by timvh on CanOpen write issue
CODESYS Forge
talk
(Post)
See: https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_canopen_canopen.html SDO example: SegmentedAndBlockWriteExample: Writing if an object of any length via SDO (segmented transfer or block transfer) by means of CiA405.SDO_WRITE_DATA This help page also contains a link to a demo project.
Last updated: 2024-07-16
Post by eschwellinger on SysFileOpenAsync
CODESYS Forge
talk
(Post)
should work, but meanwhile due security reason only readings allowed in /var/opt/codesys/PlcLogic directory /dev/input/event1 need then to be added in config file
Last updated: 2024-07-16
Post by nickelwater on Fix compiler version in SP18+
CODESYS Forge
talk
(Post)
Is is possible to use the compiler "Fix Version" in SP18+? I have noticed that in SP17 and below, the option is available in the compiler options under project settings, but in versions 18+ it is unselectable. The help topic does not provide any information.
Last updated: 2024-07-21
Post by timvh on displaying all incoming CAN bus messages
CODESYS Forge
talk
(Post)
Create a (global) array of Messages: aMessage : ARRAY[0..NR_OF_MESSAGES-1] OF CAN.RxMESSAGE; Then add each received message to the array. IF UserVarGlobal.g_countMsg_RPMset < NR_OF_MESSAGES THEN aMessage[UserVarGlobal.g_countMsg_RPMset] := Message; UserVarGlobal.g_countMsg_RPMset := UserVarGlobal.g_countMsg_RPMset + 1; END_IF
Last updated: 2024-07-22
Post by jens on Using the Wago 750-658 CAN Gateway
CODESYS Forge
talk
(Post)
Is there any solution for this ? or do you need to use wago runtime and use the function blocks for the CanOpen ?
Last updated: 2024-07-23
Post by eschwellinger on Using the Wago 750-658 CAN Gateway
CODESYS Forge
talk
(Post)
I would ask the Wago Support - they have a CODESYS V3 runtime (not eCOCKPIT) which probably support this? At least worth to ask them.
Last updated: 2024-07-23
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.