Search talk: get set

 
<< < 1 .. 39 40 41 42 43 .. 57 > >> (Page 41 of 57)

Post by aliazzz on Runtime licenses not detected => DEMO Mode 2hour CODESYS Forge talk (Post)
Hi! After upgrading all my licensed runtimes to V4.14.0.0 (= RaspberryPi SL, LinuxSL and ControlWin x64 SL) I found out via the logfiles they all defaulted back into DEMO mode while all runtimes have a USB dongle inserted. So, my main question is how I can get the Dongle license detected? I use License Server 4.14.0.0 and Edge Gateway 4.14.0.0 on all platforms Any suggestions are welcome.
Last updated: 2024-12-15

Post by nz-dave on FAILURE TO OPEN PROJECT ON ANOTHER COMPUTER CODESYS Forge talk (Post)
Hi All Not sure what im missing here but i seem to have a lot of issues when i start a project say at home then try to open it at work the next day on another pc, using same version of Codesys. I try the build option when opening the project but still get loads of placeholder,library and some random errors i'm not to sure about. have tied project Archive, which is better, but not perfect. Can someone tell me what im doing wrong!. Cheers
Last updated: 2025-01-20

Post by nz-dave on ethercat softmotion axis error CODESYS Forge talk (Post)
Hi all I'm having a little trouble get my axis to work. i can turn them off and on. i can run each servo manually inputting directly to the mapping address. as soon as i try to use any FB's like jog etc my servos wont move and error out. so far I've had error "SMC_ERROR.SMC_DI-POSITIONLAGERROR" and another one about not calling a fb. cheers. in the attachment I have just jogged X_Axis with the MC_JOG FB
Last updated: 2025-03-10

Post by dkugler on Beckhoff EL6652-0010 with Codesys CODESYS Forge talk (Post)
we use successful for many years the KEB MFI terminal for Profinet, EtherCAT, Ethernet/IP,... You'll need a EtherCAT Coupler as "head" from KEB, Kendrion or Berghof. It's all the same board inside: https://www.kebamerica.com/products/ethercat-bus-coupler/ Or the coupler with 16Di/Do integrated: https://www.kebamerica.com/products/ethercat-digital-io-module/ last year I got a EK1100 with EL6731 Profibus treminal runnig. But it was a lot of reverse engineering and thinkering in Codesys and TwinCAT to be done, to get it up, fulfilling my needs. Good luck!
Last updated: 2025-03-25

Post by johnbomb on Ignore Dependencies When Loading Package? CODESYS Forge talk (Post)
I'm trying to load a .package into Codesys 3.5.21, but the package is intended to only work with Codesys 3.5.18.0 and is configured with dependencies on the specific versions of other packages included with 3.5.18.0, and 21 has newer versions so the package will not install. I would like to install the package anyway to try and get things working on a newer Codesys version, since for some reason the installer for .18 errors out and doesn't fully work in my environment, but .21 seems to work fine.
Last updated: 2025-04-01

Post by imdatatas on Import from XML problem CODESYS Forge talk (Post)
Hello Everyone, When I try to import some POUs that were previously exported from another project as an XML file, I get an error like in attached image and the process does not complete. "There are no objects in the export file..." I am using SP21 Codesys IDE and I do not know which version this XML (*.export) file was previously exported with. Has anyone encountered the same problem? Regards, imdatatas
Last updated: 2025-04-26

Post by mariacugnier on Equal Objects at Unstaged Changes - Git (Codesys Pro) CODESYS Forge talk (Post)
I'm having a serious issue with codesys-pro/git, because everytime I load my project I get around 40 unstaged changes with equal objects. If I only commit everything along with my real changes I strugle to locate them later. I've tried creating a new git repository, it didn't work. I've commited everything, it kept appearing. I've tried rolling back everything but it also didn't work. Does anyone know why this happens and how to manage it?
Last updated: 2025-05-20

Post by berkdan on SMC_ReadNCFile2 is always busy CODESYS Forge talk (Post)
Hey tk96 Thank you for your help. I have found the reason why fbreader stuck. It was not the program but it was the gcode itself. G21 command blocks the reader. And multiple G codes in a line also blocks the reader. My code was: N010 G21 G17 G90 -> Blocked the reader When i change it to: N010 G90 N020 G17 Then it worked. The only thing i did not get is why the reader did not thwor error. ErrorId was SMC_NO_ERROR. Anyway, it is now working. Thanks again.
Last updated: 2025-06-17

Post by hickan on safety cpu cannot go online CODESYS Forge talk (Post)
Hi! I am using abb ac500 in automation builder v2.7 I have a problem with a new project. In the normal mode I have no problems, but in safety mode i cannot go online. I get 'Communication Error (#0) Logout Performed' message. I have tried changing the adress (level 1) in communication parameters. I tried 0.0.0.0.0 and 0.1.0.0.0 and 1.1.0.0.0 but it did no difference. What do you think could be causing this? Thanks!
Last updated: 2025-07-08

Post by fschuler on No connection to Raspberry at runtime installation CODESYS Forge talk (Post)
Hi, I try to install the Codesys realtime in a Raspberry PI 3B+. When I click on the installation button I get always the message No connection to device: An established connection was aborted by the server. Raspberry 3B+ with newest raspberry PI OS. Codesys 3.5.15 Patch 1 Codesys Runtime Package 3.5.16.20 SSH is activated. I can login with Putty Ping is possible IP address search is possible Just the installation is not started.
Last updated: 2025-07-23

Post by jeroenaero on Autostart Targetvisualization 4.16.0.0 doesn't work on Linux device CODESYS Forge talk (Post)
Hi, How can we configure autostart of TargetVisualization on the remote device? The device is a Raspberry PI CM4 with PIXEL Desktop on display. I installed Targetvisu for Linux SL 4.16.0.0 on it. After each restart of the Raspberry PI CM4, we have to start Targetvisu fot Linux SL manually. i tried the step on this page: https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_target_visu_for_linux.html but i don't get it working
Last updated: 2025-07-24

Post by ivan-g on MODBUS CODESYS Forge talk (Post)
Hi There, I took over a project from a colleague (in GTB) who left the company. When I took over his project, it wouldn't compile because some libraries were missing. I managed to recover quite a few libraries, but I can't find the library that contains the block functions shown in the image. Here are a few examples: Fb_RegMel_ISO Fb_DefModbus FbDecalConsSalSO Fb_Autor_FreeCool_CTA_C I'm a little stuck at the moment, so if you see a Facebook post that speaks to you, don't hesitate to get in touch! Thank you in advance for your help.
Last updated: 2025-08-05

Post by ivan-g on MODBUS CODESYS Forge talk (Post)
Hi There, I took over a project from a colleague (in GTB) who left the company. When I took over his project, it wouldn't compile because some libraries were missing. I managed to recover quite a few libraries, but I can't find the library that contains the block functions shown in the image. Here are a few examples: Fb_RegMel_ISO Fb_DefModbus FbDecalConsSalSO Fb_Autor_FreeCool_CTA_C I'm a little stuck at the moment, so if you see a FB that speaks to you, don't hesitate to get in touch! Thank you in advance for your help.
Last updated: 2025-08-05

Post by phryniszak on RPI CANFD CODESYS Forge talk (Post)
Hi, I have rpi with CANFD MCP2518FD. Classic can communication is working OK but when I try open in CANFD hDriver := CL2.FdDriverOpenH(usiNetId := 0, uiNominalBaudrate := 500, uiDataBaudrate := 0, xSupport29Bits := FALSE, ctMessages := 100, peError := ADR(eError) error is returned with value 10226 which is not documented (https://content.helpme-codesys.com/en/libs/CAA%20Can%20Low%20Level%20Extern/Current/CAN-Low-Level/Enums/ERROR.html#error) CAA CanL2 is 3.5.21 version. Question is: 1. Is anyone get CANFD working? 2. What is meaning of this value (10226)? Regards, Pawel
Last updated: 2025-08-09

Post by phryniszak on RPI CANFD CODESYS Forge talk (Post)
Hi, I have rpi with CANFD MCP2518FD. Classic can communication is working OK but when I try open in CANFD hDriver := CL2.FdDriverOpenH(usiNetId := 0, uiNominalBaudrate := 500, uiDataBaudrate := 0, xSupport29Bits := FALSE, ctMessages := 100, peError := ADR(eError) error is returned with value 10226 which is not documented (https://content.helpme-codesys.com/en/libs/CAA%20Can%20Low%20Level%20Extern/Current/CAN-Low-Level/Enums/ERROR.html#error) CAA CanL2 is 3.5.21 version. Question is: 1. Is anyone get CANFD working? 2. What is meaning of this value (10226)? Regards, Pawel
Last updated: 2025-08-09

Post by camjam on BOOL variable in OPC UA and modbus simultaneously CODESYS Forge talk (Post)
I have come across this. The only way i could get it to work would be to define a word that is also the same address as the Bools. eg %MX600.0 through to %MX600.15 would be individually defined in the variables and them have another variable word defined at %MW300. You still need to break out the word in what ever program you are using to read/write the OPCUA tags.
Last updated: 2025-08-18

Post by jzhvymetal77 on IecVarAccessLibrary.IBaseTreeNode methon CODESYS Forge talk (Post)
I had this code working in a previous version of CoDeSys to read variables from a GVL that were added to the Symbol configuration. The problem now is that when I get the _IBaseTreeNode_Parent, it returns a valid interface, but none of the methods or properties work. If you monitor the _IBaseTreeNode in the watch window, it does show the correct child count. However, it fails at step 30, where the child count incorrectly returns zero. In the image, you can see that the watch window displays the correct value that the property should return. Attached is the full project code. FUNCTION_BLOCK Symbols_TO_STR VAR_INPUT i_sPath : STRING(255); i_diIndexChild : DINT; i_diIndexComponent : DINT; END_VAR VAR_OUTPUT q_diChildCount : DINT; q_diComponentCount : DINT; q_sName : STRING(255); q_sValue : STRING(255); q_sType : STRING(80); q_sErrorResult : STRING(80); END_VAR VAR uiStepCopy : UINT; uiStep : UINT; uiStepProcessCopy : UINT; uiStepProcess : UINT; _IBase : IecVarAccessLibrary.IBase; _pIIecVarAccess5 : POINTER TO IecVarAccessLibrary.IIecVarAccess5; _IIecVarAccess5 : IecVarAccessLibrary.IIecVarAccess5; _RTS_IEC_RESULT : IecVarAccessLibrary.RTS_IEC_RESULT; _udiResult : UDINT; _VariableInformationStruct : IecVarAccessLibrary.VariableInformationStruct; _IBaseTreeNode_Parent : IecVarAccessLibrary.IBaseTreeNode; _IBaseTreeNode_Child : IecVarAccessLibrary.IBaseTreeNode; _ITypeDesc_Child : IecVarAccessLibrary.ITypeDesc; _TypeDescAsUnion_Child : IecVarAccessLibrary.TypeDescAsUnion; _arIBaseTreeNode_Child : ARRAY[0..20] OF IecVarAccessLibrary.IBaseTreeNode; _TypeClass_Child : IecVarAccessLibrary.IBaseLibrary.TypeClass; _psSymbolName_Child : POINTER TO STRING; _sSymbolName_Child : STRING(255); _IBaseTreeNode_Component : REFERENCE TO IecVarAccessLibrary.IBaseTreeNode; _TypeClass_Component : IecVarAccessLibrary.IBaseLibrary.TypeClass; _ByteAddress_Component : __XWORD; _ByteOffset_Component : __XWORD; _sArrayIndexName_Component : STRING(20); _diArrayIndexCalc_Component : DINT; _diArrayIndexValue_Component: DINT; _psSymbolName_Component : POINTER TO STRING; _sSymbolName_Component : STRING(255); END_VAR uiStepCopy:=uiStep; uiStepProcessCopy:=uiStepProcess; CASE uiStep OF 10: // GET IBASE FROM CURRENT APP _IBase:= IecVarAccessLibrary.IecVarAccGetFirstInterface2(0); IF _IBase<>0 THEN uiStep:=20; ELSE q_sErrorResult:=CONCAT(UINT_TO_STRING(uiStep), ': IecVarAccGetFirstInterface2'); uiStep:=9000; END_IF 20: //QueryInterface IIecVarAccess5 from IBASE _pIIecVarAccess5 := _IBase.QueryInterface(IecVarAccessLibrary.ITFID_IIecVarAccess5, ADR(_RTS_IEC_RESULT)); IF _pIIecVarAccess5<>0 AND _RTS_IEC_RESULT=0 THEN _IIecVarAccess5 := _pIIecVarAccess5^; uiStep:=30; ELSE q_sErrorResult:=CONCAT(UINT_TO_STRING(uiStep), ': QueryInterface_IIecVarAccess5'); uiStep:=9000; END_IF 30: // Get IBaseTreeNode_Parent _IBaseTreeNode_Parent := _IIecVarAccess5.VarAccGetNode3(ADR(i_sPath), ADR(_VariableInformationStruct), ADR(_RTS_IEC_RESULT)); IF _IBaseTreeNode_Parent<>0 AND _RTS_IEC_RESULT=0 THEN q_diChildCount:=_IBaseTreeNode_Parent.ChildCount; uiStep:=40; ELSE q_sErrorResult:=CONCAT(UINT_TO_STRING(uiStep), ': IBaseTreeNode_Parent'); uiStep:=9000; END_IF 40: // Get IBaseTreeNod_Child IF(q_diChildCount-1>=i_diIndexChild AND i_diIndexChild >=0) THEN _IBaseTreeNode_Child := _IBaseTreeNode_Parent.GetChild(i_diIndexChild); IF _IBaseTreeNode_Child<>0 THEN uiStep:=50; ELSE q_sErrorResult:=CONCAT(UINT_TO_STRING(uiStep), ': IBaseTreeNode_Parent'); uiStep:=9000; END_IF ELSE q_sErrorResult:=CONCAT(UINT_TO_STRING(uiStep), ': i_diIndexChild OutBounds'); uiStep:=9000; END_IF
Last updated: 2025-08-20

Post by pernockham on Persistence Manager: Config File not found? CODESYS Forge talk (Post)
I still cannot enable persistent manager for my project (and successfully login to a device). Project compiles with no errors but during download/login it fails with the fairly limited message "one or more errors occurred". The only clue I get from the system that this messages is displayed during "Generating code..: relocation pou". Any tips pointing me in a direction how to solve this very much appreciated!
Last updated: 2025-08-22

Post by astutoski on MCP23017: inputs OK, but outputs won’t switch (CODESYS on Raspberry Pi) CODESYS Forge talk (Post)
Hi everyone, I’ve connected and configured an MCP23017 over I²C on a Raspberry Pi using the available CODESYS/RPi library. Input reading works fine (I can reliably read a digital input). However, I can’t get any output pin to change state. Example: when I try to drive PB0, the watch shows MCP23017.Out_B.0 = TRUE (1), but there is no actual output on the pin (no voltage change). Anyone solved this?
Last updated: 2025-09-17

Post by alexgooi on Licensing info not available. CODESYS Forge talk (Post)
Dear Eschwellinger, Thank you for the response. Does that mean that the license-manager inside the Codesys-IDE does not work with this setup anymore? Because when I use this I get the notification that there is no dongle attached to the device (see picture). And If I insert the license by the deploy tool, can I then redeploy the Codesys virtual control container, or does this erase the license completely?
Last updated: 2025-09-30

Post by mdetrana on VPLC Section 'Gray-ed Out' CODESYS Forge talk (Post)
When evaluating Codesys functionality, I found that the VPLC tab under Deploy Control SL > Operation > VPLCs is 'gray-ed out', see attached image. I'm trying to evaluate how my infrastructure will interact with Codesys on a Raspberry Pi 4, so I'm trying to demo running it. I was going through the Codesys tutorial here, and it never shows the tab as grey, so I do not know how to proceed. Let me know if I can get any additional information that can help.
Last updated: 2025-10-09

Post by zatalian on Codesys Control for Raspberry Pi 4.10.0.0 - Raspberry Pi OS > 2023-12-05 CODESYS Forge talk (Post)
There seem to be problems with the latest version of raspberry pi os 64bit (I used the lite version). The codesys control runtime crashes after a few seconds. The same runtime works on the raspberry pi image from 2023-10-10 When starting the runtime from the commandline, i get the following error: ooops... this runtime was build for RASPBERRYPI. Hardware version or firmware version not supported! (and yes, I'm running this on a raspberry pi :-)
Last updated: 2023-12-11

Post by wedahitha on Could not open library 'SysSocket23, CODESYS Forge talk (Post)
Hi there, I am trying to open a codesys project done by someone else and Once I install all the libraries I get this error [ERROR] : Library Manager [PROJECT 01: PLC Logic: Application]: Could not open library 'SysSocket23, * (System)'. (Reason: The library 'SysSocket23, * (System)' has not been installed to the system.) SysSocket23 is a standard library and I also tried using the same OSCAT library which was from the original computer that made this code. Using CODESYS V3.5 SP18 Patch 2 Please help me how to solve this problem.
Last updated: 2023-12-19

Post by martinlithlith on Mux I2C CODESYS Forge talk (Post)
hi! this is also a delayed answer, sorry for this. when coding in python i get the TCA9548a working. Is there someone who knows how big of a effort it would be to update Stefan's original code to make it work with a more up to date version of codesys or should i downgrade my system? andrax - are you using a downgraded version of codesys or have you downgraded all the libraries? What Oscat lib are you using? what version? thanks for your reply! Martin
Last updated: 2023-12-31

Post by usacodesysuser on How to connect serial devices ? CODESYS Forge talk (Post)
@eschwellinger do you have any examples of using a USB barcode scanner? I have read through the forums here and I am unable to find how to get the barcode data to populate in a text field without having to first click into the text field to activate it. Is there a library that allows you to access the barcode data? I am really new to this in general any help is greatly appreciated, hopefully you have a pretty clear example
Last updated: 2024-01-06

<< < 1 .. 39 40 41 42 43 .. 57 > >> (Page 41 of 57)

Showing results of 1424

Sort by relevance or date