Post by phoward131 on Text List Fallback Value
CODESYS Forge
talk
(Post)
I am relatively new to Codesys and I'm trying to develop an HMI that displays what mode a particular device is in based on an integer value. I am currently using dynamic texts with a text list which works fine but I am looking for a way to display a particular string (ie 'Unknown') when the index doesn't match any of of the indices in the text list. I can enter 'Unknown' in the text property of the text field element which works as expected but it displays the single quotes on the visualization. How can I escape these quotes to simply display the word Unknown? Thanks!
Last updated: 2024-03-22
Post by smartcoco on Release SP20 - Changes in behaviour?
CODESYS Forge
talk
(Post)
You should use this method: VAR NULL:REFERENCE TO FB_MSG END_VAR Add_EVT_OUT REF= NULL;
Last updated: 2024-03-25
Post by reinier-geers on License problem gateway
CODESYS Forge
talk
(Post)
Hi, I want to activate a license. But got an error. This gateway endpoint is inactive
Last updated: 2024-03-27
Post by reinier-geers on License problem gateway
CODESYS Forge
talk
(Post)
Hi, I want to activate a license. But got an error. This gateway endpoint is inactive
Last updated: 2024-03-27
Post by eschwellinger on License problem gateway
CODESYS Forge
talk
(Post)
as a workaround just plug your USB key to the CODESYS PC - and activate the ticket by the browser license.codesys.com
Last updated: 2024-03-27
Post by kevinrn on Github Actions CI/CD tasks - development topic
CODESYS Forge
talk
(Post)
@eschwellinger can this be moved to the engineering section (forum) ?
Last updated: 2024-03-28
Post by fless on Warning C0564 when compiling CNC project with variables program
CODESYS Forge
talk
(Post)
Update: We managed to avoid the warnings by changing the order of initialization by adding an attribute to the GVL with the variables. {attribute 'global_init_slot' := '49989'} The variables are initialized right before the regular GVLs (default GVL slot 49990). Note to Codesys: I see the problem, Codesys needs to initialize the CNC objects before the GVLs so they can be used in the GVL. But then you can't use variables from GVLs in CNC programs. Maybe you could disable the warning in your generated CNC objects? At least a note for a workaround would have been nice.
Last updated: 2024-04-02
Post by markosrod on License problem gateway
CODESYS Forge
talk
(Post)
i have the same error with when i try to validate de license of the libraries. can you help me?
Last updated: 2024-04-02
Post by squiggleypuff on Can't Add New Version of Modbus TCP Master
CODESYS Forge
talk
(Post)
Bumping for visibility, still unable to get Modbus working on this thing.
Last updated: 2024-04-08
Post by mmpl on Array of UDT Compare
CODESYS Forge
talk
(Post)
Hi I am trying to compare value of Array. I am getting an error. I attached picture. Please help.
Last updated: 2024-04-08
Post by eschwellinger on Power off
CODESYS Forge
talk
(Post)
impossible to help without the information which drive it is and which driver is used(DS402 genereic or any specific driver)?
Last updated: 2024-04-09
Post by eschwellinger on Identifier 'IoDrvGPIO' not defined
CODESYS Forge
talk
(Post)
it is just a precompiler error, login an start the application. Works.This will be fixed hopefully to next version.
Last updated: 2024-04-10
Post by dkugler on build (F11) / generate code using a python script file
CODESYS Forge
talk
(Post)
thank you very much! I found the generate_code methode, but struggled with the primary and active_application. With this expample I will be able to play around. If the code generation takes a minute or more I often switch to other programs and don't notify the process is finished. So now I'll get an alert and will switch back immediately. My next little project will be, to beep different if there are errors and a seperate script to do the download incl. the user management data base without stopping at the dialogs asking for onlinechange/complete download and overwriting an existing database and as goody, play a beep/sound again.
Last updated: 2024-04-11
Post by correo0269 on SSD1206
CODESYS Forge
talk
(Post)
Hello, I want to use the LCD display ssd1306 with i2c but I can not add that device. Someone know how I can add the display?
Last updated: 2024-04-11
Post by esave on OPC UA Server with on Codesys + OPC UA Client on Labview
CODESYS Forge
talk
(Post)
Hello everyone I want a communication between my PLC as an OPC UA Server and Labview on my PC as the OPC UA Client. I have an Festo CPX-E-CEC-C1-PN PLC and I have the OPC UA Toolkit from Labview. I created some Variables for testing (see picture 1) on Codesys. I tried to use this Labview block diagram (see picture 2) but I cant connect the PLC to it. What do I have to type in the Server Endpoint URL and what in the Node ID? Is this a good way for communication with a PLC to a PC? If not is there another way?
Last updated: 2024-04-12
Post by niallel on Continuous MC_PositionProfile
CODESYS Forge
talk
(Post)
Looks like it's not possible, so I take it using Cams is the way to do this.
Last updated: 2024-04-13
Post by eschwellinger on Rpi zero w lost license after 4.11 update
CODESYS Forge
talk
(Post)
Please write to 'my question' in the CODESYS Store.
Last updated: 2024-04-16
Post by enricoghisla on Functional block
CODESYS Forge
talk
(Post)
How can i access to the variable in the FB from outside without put them in the in/out?
Last updated: 2024-04-16
Post by enricoghisla on Functional block
CODESYS Forge
talk
(Post)
How can i access to the variable in the FB from outside without put them in the in/out?
Last updated: 2024-04-16
Post by jglueck on Create a package with EDS file
CODESYS Forge
talk
(Post)
I have the same question. I am starting to think no one uses CAN on PLCs anymore.
Last updated: 2024-04-16
Post by eschwellinger on License problem gateway
CODESYS Forge
talk
(Post)
Is this a computer with installed CODESYS ? Codemeter is needed to activate licenses via Browser...
Last updated: 2024-04-17
Post by csanderson on IoDrvModbusTCP_Diag not defined when using MODBUS
CODESYS Forge
talk
(Post)
I am also having this same issue after upgrading to 3.5.20.0. Any help Codesys?
Last updated: 2024-04-17
Post by santana on IoDrvModbusTCP_Diag not defined when using MODBUS
CODESYS Forge
talk
(Post)
I'm having this same issue. I upgraded to 3.5.20.0 from 3.5.19.20. Now I have the precompile errors shown above.
Last updated: 2024-04-17
Post by j-a-y on Version 2.5 SP18 -> Visualisation Elements missing Input Configuration Options
CODESYS Forge
talk
(Post)
were you able to resolve it?
Last updated: 2024-04-22
Post by fontrap on cmDongle Raspberry Pi issue
CODESYS Forge
talk
(Post)
Good morning @eschwellinger, After some research I found out that the problem is the preinstalled CodeMeter on Raspberry Pi. As I mentioned the CodeMeter was installed on the Raspberry because I use a license from other vendor that needs the CodeMeter to be installed. The problem is that when I uninstall the CodeMeter from Raspberry I am able to detect the dongle from CODESYS and everything works as it should be but now the other product can not detect its own license. When I reinstall the CodeMeter I am back to the initial problem. Is there a way to overcome this conflict through CODESYS?
Last updated: 2024-04-24
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
.