Post by john-robinson on Limiting Memory Access of an Array to Within its Bounds
CODESYS Forge
talk
(Post)
Thanks Tim! This was exactly the functionality we were looking for. We are already using implicit checks to check for divide by 0 errors, we will add implicit checking for array bounds.
Last updated: 2024-03-06
Post by rckalex on Data Source Limit
CODESYS Forge
talk
(Post)
There appears to be a limit to the number of OPC Servers that can be connected simultaenously. 1-10 work but adding an 11th makes one of the previously linked ones unavailable. Is this a soft setting that can be adjusted? Using 3.5.18.30 on Win x64
Last updated: 2024-03-06
Post by ph0010421 on Sending Sequential Modbus TCP Packets
CODESYS Forge
talk
(Post)
Hello You'll need to write a proper sequence to send, then wait for confirmation, and then move on to the next step. Use the CASE statement in ST. It's perfect for creating a sequence.
Last updated: 2024-03-08
Post by trycyclepower on Only single ehternet ip drive is communicating
CODESYS Forge
talk
(Post)
Hi all, I have two ethernet IP drives not communicating together. If I disable one, then other one starts working. ENIPScnannerIOTak cycle is setup as 20ms. Also, PLC updating variables setting is on.
Last updated: 2024-03-08
Post by acc00 on Variable Sync Issue In Soft Plc Redundancy
CODESYS Forge
talk
(Post)
Hi arundara, I'm also experimenting with Redundandcy. Is the sync variable function the following: "RedundancySynchronizeData()" ? Does the Task time increase a lot when you activate the sync function?
Last updated: 2024-03-11
Post by niallel on How to change bHiresMode
CODESYS Forge
talk
(Post)
Thank you so much for the reply. The motor is a rotary connected to a linear actuator. So would I set it up as in the attachment screenshot?
Last updated: 2024-03-12
Post by fless on How to change bHiresMode
CODESYS Forge
talk
(Post)
Hi, you should see 2 input fields in the scaling tab of your linear axis: increments and units in application just set increments to 10 and units in application to 366
Last updated: 2024-03-12
Post by anlebr 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 use the Codesys Communication Manager to set up an Opc ua server with a custom information model. As a start I am using the Boiler model available on Opc foundations github page. I am testing with a Wago CC100 and using Codesys V3.5 SP19 Patch 6. I get the following error: Communication Manager [Device: PLC Logic: Application]: The information model http://opcfoundation.org/UA/ is required by http://opcfoundation.org/UA/Boiler/ 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, both versions are available in the repository. How can I solve this?
Last updated: 2024-03-13
Post by fless on See only variable
CODESYS Forge
talk
(Post)
either you have "Insert with namespace" enabled in the SmartCoding options or your GVL_GLOBAL starts with {attribute 'qualified_only'} btw it's considered good practice to put the namespace in front of the variable. you could have variable with the same name in your PRG or FB.
Last updated: 2024-03-14
Post by k4zz on Static Code Analysis
CODESYS Forge
talk
(Post)
The Solution. For Projects: #check all pool objects system.commands["project", "buildactiveapp"] #run static analysis system.commands["staticanalysis", "run"].execute() For Libraries: #check all pool objects system.commands["project", "buildactiveapp"] #run static analysis system.commands["staticanalysis", "runforlibrary"].execute()
Last updated: 2024-03-20
Post by doli on Table selected row
CODESYS Forge
talk
(Post)
Hello. So I have two visualizations. In my main visualization I have a table and in the second one I have a dialog. When I select a row I want that dialog to open. How can I do this? Thank you!
Last updated: 2024-03-20
Post by esave on Stepper Drive with Ethercat
CODESYS Forge
talk
(Post)
Thank you very much Florian The SoftMotionLight package is actually more expencive than the normal SoftMotion. What is exactly the difference? Does my PLC need to be compatible with SoftMotion or does this work with any PLC?
Last updated: 2024-03-22
Post by timvh on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
You should only open de COM port once and then leave it open. This hCom should not keep on incrementing. (off course when you are done communicating, you need to close the COM port)
Last updated: 2024-03-22
Post by andrew-budaiev on Properties feature request
CODESYS Forge
talk
(Post)
Can I leave a feature request here? If it's possible to do now, but I don't know how, please forgive me. It would be good if the following were possible: Ability to copy/paste properties. Ability to tab through properties.
Last updated: 2024-03-26
Post by kuuki on Losing focus of variable
CODESYS Forge
talk
(Post)
Hi. Does anyone know how to fix a problem with losing focus of a variable in FBD editor. Sometimes when trying to edit variable name, array index, etc. in network, editor randomly exits "text edit mode" and variable is replaced by text you were typing.
Last updated: 2024-03-26
Post by esave on Stepper Drive with Ethercat
CODESYS Forge
talk
(Post)
Hello @ph0010421 Thanks for you answer. I dont really get the state machine that you sent me. Is that only for enabling the drive? How can i make movement? Is this with these SDO's? What is SDO exactly? Sorry but i am a little lost (:|)
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28
Post by jetme on Rampup and rampdown
CODESYS Forge
talk
(Post)
i'm using FB Ramp_INT function to ramp my pump up and down but I will like to ramp up at a different time and also ramp down at a different time. How can I do that.
Last updated: 2024-03-28
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
.