Post by gilbertamine on Comparing Arrays of structure
CODESYS Forge
talk
(Post)
If I knew it was this simple... Exactly what I was looking for ! Thanks you very much.
Last updated: 2024-08-23
Post by fraziersedge on ModbusServer became unreachable if reach maximum of 16 byClientConnections
CODESYS Forge
talk
(Post)
FrΓ©dΓ©ric did you ever find a solution to this problem? I am experiencing the same thing.
Last updated: 2024-08-27
Post by olemart on Set REFERENCE to 0 (null) when no longer used
CODESYS Forge
talk
(Post)
Did you find out if this work?
Last updated: 2024-10-02
Post by pistola on Case Function - Multiple Conditions, Is it possible?
CODESYS Forge
talk
(Post)
Looking at the help (https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_st_instruction_case.html). I don't think it is possible but I figured I'd ask. I'm looking at have a case that evaluates two variables, instead of having multiple If Else statements I was hoping I could just use a case. Example * Case Var1 & Var 2 of 10 & 10: Instruction Code 10 & 20: Instruction Code 20 & 20: Instruction Code End_Case Obviously I tried typing as noted above and Codesys threw an error. But I was wondering if there was a different way of programming to make something like this work? If not I'll just use a bunch of If Else Statements, Thanks.
Last updated: 2024-11-03
Post by eschwellinger on Persistence Manager: Config File not found?
CODESYS Forge
talk
(Post)
I would check with the CODESYS file browser if these files exits on your system (PlcLogic directory)
Last updated: 2024-11-02
Post by transmin01 on EL6751 Canopen_Manager issue
CODESYS Forge
talk
(Post)
Hi, I have a Beckhoff EL6751 EtherCAT / CANopen gateway which fails on the Canbus when the CANopen_Manager is added. Currently no devices are connected to the EL6751. If I add a device, I get the same issue. If I add a device and connect the bus, I get the same issue. Is there something I am doing wrong? Regards Trevor
Last updated: 2023-09-12
I don't know if this is where I should ask this, but I'm trying to get a Codesys OPC UA Client set up with a Kepware OPC UA Server
CODESYS Forge
talk
(Thread)
I don't know if this is where I should ask this, but I'm trying to get a Codesys OPC UA Client set up with a Kepware OPC UA Server
Last updated: 2023-10-19
Post by romrot on I don't know if this is where I should ask this, but I'm trying to get a Codesys OPC UA Client set up with a Kepware OPC UA Server
CODESYS Forge
talk
(Post)
Trying to create a Data Source under Data source manager, but I'm having issues with security. I get "BadUserAcessDenied" I don't know if there is something special I need to do on the Kepware server to make this work or what.
Last updated: 2023-10-19
Post by leon78 on Codesys 3.5 SP17 Patch 2 CheckBounds (POUs for Implicit Checks)
CODESYS Forge
talk
(Post)
Hello! I use CheckBounds (POUs for Implicit Checks). But I have a problem. I use an array as an VAR_IN_OUT of Function Block. If I try to monitor the array of variable length ([* ]), its does't work. The CheckBounds POU isn't called. If I use the array of fixed lenght ([lower..upper]), the CheckBounds POU is called. Why?
Last updated: 2023-11-14
Post by leon78 on Codesys 3.5 SP17 Patch 2 CheckBounds (POUs for Implicit Checks)
CODESYS Forge
talk
(Post)
Hello! I use CheckBounds (POUs for Implicit Checks). But I have a problem. I use an array as an VAR_IN_OUT of Function Block. If I try to monitor the array of variable length ([* ]), its does't work. The CheckBounds POU isn't called. If I use the array of fixed lenght ([lower..upper]), the CheckBounds POU is called. Why?
Last updated: 2023-11-14
Post by scarter on Import/Export PLCOpen xml Task Configuration
CODESYS Forge
talk
(Post)
I'm Having the same issue. If I highlight PLC Logic and import it erases everything else and replaces the Task config. If I highlight the Application I get the same result. Simple manual fix is click and drag the task config onto the origional Application, and delete the second one. Easy fix but not the expected result of importing task config.
Last updated: 2024-01-17
Post by alexgooi on How to protect library project?
CODESYS Forge
talk
(Post)
Hi aniket-b, If you save the library as a compiled library you are not able to see the source code. When the end user tries to view inside the object, CODESYS will give a notification that the source code is missing, see attachment. In short if you don't send the source code, it will not show.
Last updated: 2024-01-25
Post by ferrim on IEC 61499
CODESYS Forge
talk
(Post)
Hello otdeveloper, I am very interested in this topic. I have been dedicated to IEC 61499 for some time and I would like to understand if the time has come to adopt it in the real world of automation or if it will continue to fill up research papers only.
Last updated: 2024-02-09
Post by manuknecht on High Cycle Times for SoftMotion_PlanningTask when using AxisGroup
CODESYS Forge
talk
(Post)
Hi, thanks a lot for the response. I did check all these parameters, but if the PlanningTask takes up to 60 ms, I can't increase the Buffer to such values. I contacted the Codesys support with a projectarchive. Let's see if they can help. Thanks again for your great support!
Last updated: 2024-03-22
Post by oymyakon on Modbus Lockup
CODESYS Forge
talk
(Post)
Hi i have a project where i am communicating with many modbus devices using TCP to serial. This is all working extremely well except when i turn one of the remote devices off. If i leave the auto reconnect on it still doesn't talk to the rmianing devices and if i turn Auto reconnect off it locks up. Any help would be appreciated. Paul.
Last updated: 2024-08-07
Post by oymyakon on Modbus Lockup
CODESYS Forge
talk
(Post)
Hi i have a project where i am communicating with many modbus devices using TCP to serial. This is all working extremely well except when i turn one of the remote devices off. If i leave the auto reconnect on it still doesn't talk to the rmianing devices and if i turn Auto reconnect off it locks up. Any help would be appreciated. Paul.
Last updated: 2024-08-07
Post by davidbo on Modbus: Is there a way to get the channel index from the channel name?
CODESYS Forge
talk
(Post)
When I use the FUNCTION_BLOCK ModbusChannel I have to sepcify the integer iChannelIndex It can easily go wrong if one has many channels. It would be better if one could use the name. Is that possible? Attached a snippet of the channel name and the channel index to the left.
Last updated: 2024-10-21
Post by eschwellinger on Same program to more than one PLC
CODESYS Forge
talk
(Post)
just open http://localhost:8080 in Chromium then it will show the webvisu ( sure you need to this in your CODESYS Application)
Last updated: 2023-08-24
Post by richard-wang on When Keyboard Key is in Hold, then Webvisu is extreme slow and latent
CODESYS Forge
talk
(Post)
Hi Tyro Did you resove your problem? I have the same issue. BR Richard
Last updated: 2023-09-05
Post by maralani on Retain memory change to ZERO
CODESYS Forge
talk
(Post)
Hi, thanks for help, I add some retain variable , then some other variable change to zero , andI was not able to change the value
Last updated: 2023-09-19
Post by sturmghost on Specify Input Configuration "OnDialogClosed" Action to only react to certain Dialogs
CODESYS Forge
talk
(Post)
You could work around this problem by implementing some sort of "state machine". Each dialog sets a boolean variable when they are closed so you know which dialog was closed. Then you can react to this accordingly.
Last updated: 2023-10-01
Post by damian177 on MQTT_client disconnect when call MQTT_sunscribe
CODESYS Forge
talk
(Post)
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 ?
Last updated: 2023-10-10
Post by captaincookie on increase default string length in queue
CODESYS Forge
talk
(Post)
I solved it by creating a new element of IElement according to the ElementExample (MyElement) in the ElementCollectionsExamples project. The variables in this element can then be defined in any properties as needed.
Last updated: 2023-10-11
Post by snhatton on Trace commands via Test Manager
CODESYS Forge
talk
(Post)
One option could be to use a trigger variable to execute your trace and then toggle that variable from a step within a test case.
Last updated: 2023-12-08
Post by lostcontrol on Bool turning on in case stament in wrong state?
CODESYS Forge
talk
(Post)
i would be looking at what the case variable is doing then.. sounds like there might be a logic race going on
Last updated: 2023-12-16
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
.