Search talk: for next loop

 
<< < 1 .. 91 92 93 94 95 .. 126 > >> (Page 93 of 126)

Post by benemenn on OPC UA Method - How to wait for result? CODESYS Forge talk (Post)
so from what i've learned. Codesys OPCUA Server can only provide OPC UA Methods, when they are created in an XML Model beforehand. So you have to create the XML Model with OPC UA Methods. Then load that model into codesys and create the IEC Blocks. This is automated Code and will create all the variables and Methods from your XML Model. Then they will be displayed on discovery with an OPC UA Client. As far as I understood. There is no way for Methods to be shown in OPC UA when not using an external XML Informationmodel. Codesys can not yet create the informationmodel on itself. Regards
Last updated: 2025-04-02

Post by benemenn on OPC UA Method - How to wait for result? CODESYS Forge talk (Post)
so from what i've learned. Codesys OPCUA Server can only provide OPC UA Methods, when they are created in an XML Model beforehand. So you have to create the XML Model with OPC UA Methods. Then load that model into codesys and create the IEC Blocks. This is automated Code and will create all the variables and Methods from your XML Model. Then they will be displayed on discovery with an OPC UA Client. As far as I understood. There is no way for Methods to be shown in OPC UA when not using an external XML Informationmodel. Codesys can not yet create the informationmodel on itself. Regards
Last updated: 2025-04-02

Post by timvh on How to manage soft container licenses for (remote) multi units? CODESYS Forge talk (Post)
You need to activate an individual license (ticket number) for each device. THe hardware of each device is unique, so you cannot copy a soft container from one device to another. This license can be installed in a local (wibu - codemeter) soft container, or you could optionally activate it on a hardware (USB) key. The benefit of the key is that you can easily move it to another device, nor does it get lost when you replace parts of the hardware of the device or completely overwrite the image. See: https://store.codesys.com/en/codesys-key.html
Last updated: 2025-04-08

Post by alex2 on Error Highlighting Not Working in CODESYS v3.5 SP10 on Windows 11 CODESYS Forge talk (Post)
Hello everyone, I'm currently using CODESYS v3.5 SP10 on Windows 11, and I've noticed that syntax errors are not automatically underlined in red as they normally should be. Is there a specific setting that needs to be enabled for this feature to work? If so, could you please let me know where to find it? I’ve already tried uninstalling and reinstalling CODESYS, but that didn’t resolve the issue. Also, i have a teammate who have exactly the same computer as me and he didnt encounter any issue. Thank you in advance for your help!
Last updated: 2025-05-13

Post by kut69 on Retain / Persistent Variables in Codesys for Raspberry Pi CODESYS Forge talk (Post)
Hi, I am interested in details about the .ret file in the filesystem. I have already a project where the file is used (write on demand, read by start) and I want to share it as 'default input' for test devices using the identical application. Opening the .ret file content in a hex editor (I only use a single string retain var) I asked myself what the meaning of the first 24 bytes is. It neither contains a handle to the application nor a reference to the variable. Is this maybe a timestamp? Or a CRC/checksum? Regards, Thomas
Last updated: 2025-05-19

Post by abuckie on Getting raw value as full resolution for ADS1115 CODESYS Forge talk (Post)
I just found this and I am getting a value larger than 16 bit, around 81000 something. I am reading a 5 volt value and I am using level shifters for the i2c bus. This is how I have the channel configured: ADS1115.usiAddress := 16#48; ADS1115.ChannelConfigs[0].Active := TRUE; ADS1115.ChannelConfigs[0].PGA := FSR_6144mV; ADS1115.ChannelConfigs[0].InputMux := Single_0; RawAnalogValue := ADS1115.Channels[0].Value; It looks like every value is a multiple of 3. Any idea where to look to fix this? I think i found what I want to change in UpdateChannels Channels[FChannelNo].Value := INT_TO_REAL(WORD_TO_INT(LValue) * GetFullScaleRange(ChannelConfigs[FChannelNo].PGA)) / 2048.0; I try to edit it but I can't, sorry if this is a basic question, I am new to CODESYS.
Last updated: 2025-05-22

Post by milan-svarny on ModbusFB.ClientSerial Problem with Reply Timeout CODESYS Forge talk (Post)
Hi All, I have problem with ModbusFB.ClientSerial. I'm using 4 different port for Modbus communication. After some time of running program ClientSerial stops to receive data to reply buffer and all request finish with Reply Timeout. The Device sent reply correctly,that it is visible on oscilloscope and it is possible to see that data( reply )are in the device. If the usbtty device is read over external app. then it is possible to see all data which were not taken by ModbusFB.ClientSerial. The stack does not overflow or something , program runs correctly forward and no exceptions or something. The main problem it is that when the error occur than it is not possible to reset port or something or maybe i'm doing it wrong way. please help me with this issue. Thank you for any help in advice Milan
Last updated: 2025-05-23

Post by qkkk on Device Scan CODESYS Forge talk (Post)
Hello all, I have developed a custom I/O driver in CODESYS that communicates via a Unix Domain Socket. In my DeviceDescription.xml, I have set up the following: <scan supported="true"> <scanfbinstance fbname="IOScanDevice"> The goal is to allow the user to scan for connected I/O modules from the CODESYS GUI ("Scan for Devices") and automatically populate the device tree with detected submodules.</scanfbinstance></scan> The function block IOScanDevice is implemented in the driver library and added to the main device's FB instances. However, when I initiate the scan from the GUI, nothing appears to happen the function is not executed. Is there an example project or driver (open source or from CODESYS Forge) that demonstrates a working custom scan implementation?
Last updated: 2025-05-26

Post by rockallsue on Frustration-Fueled Feedback on Project File Management and Git Integration CODESYS Forge talk (Post)
Some developers export ST code manually and edit it in VSCode, then copy it back. However, a more practical approach might be using automation scripts (PowerShell, Python) to extract and inject code into the CODESYS project. You could also check if CODESYS Automation Server or CODESYS API allows better ST access for external tools. https://www.codesys.com/the-system/releases-updates-lifecycle/release-plan-roadmap.html Network drive issues are particularly painful. As a mitigation, you could try using local project storage with periodic cloud sync instead of directly saving to a network drive. Using Rsync or Syncthing for automatic but safe synchronization might reduce risks of file corruption.
Last updated: 2025-06-03

Post by s1mon on Two OneWireMaster on one Raspberry PI 5 CODESYS Forge talk (Post)
Hi, I want to use two OneWireMaster on a Raspberry Pi5. I'm running Codesys Control for Raspberry Pi 64SL V 4.15.0.0. Under Linux I've configured two GPIOs for 1w bus usage on GPIO4 and GPIO27. Under Linux both masters seem to work fine and I can readout both sensors connected to both GPIOs. The two masters are 'w1_bus_master1' and 'w1_bus_master2'. In Codesys I've configured to OneWireMasters with the corresponding file paths. But in Codesys the 2nd onewiremaster "w1_bus_master2" doesn't work. Status is showing "OnewireMaster : Not running" What am I doing wrong? Does Codesys on Raspberry support multiple OneWireMasters? Any help is appreciated.
Last updated: 2025-06-10

Post by s1mon on Two OneWireMaster on one Raspberry PI 5 CODESYS Forge talk (Post)
Hi, I want to use two OneWireMaster on a Raspberry Pi5. I'm running Codesys Control for Raspberry Pi 64SL V 4.15.0.0. Under Linux I've configured two GPIOs for 1w bus usage on GPIO4 and GPIO27. Under Linux both masters seem to work fine and I can readout both sensors connected to both GPIOs. The two masters are 'w1_bus_master1' and 'w1_bus_master2'. In Codesys I've configured to OneWireMasters with the corresponding file paths. But in Codesys the 2nd onewiremaster "w1_bus_master2" doesn't work. Status is showing "OnewireMaster : Not running" What am I doing wrong? Does Codesys on Raspberry support multiple OneWireMasters? Any help is appreciated.
Last updated: 2025-06-10

Post by alsiddhartha on TextList name error (fake) CODESYS Forge talk (Post)
Hello, I’m developing a program and for some reason I got this error: C0193: Name '2,Recipe #2GVL' is no valid identifier I was creating a combo box and creating a TextList for my recipe. I couldn't find where the error was, until in the combo box properties in the 'Text List' property in the options it gives me to select, I found '2,Recipe #2' to be able to select (I never created a list with this name) and I can't find a way to delete that option or I can't find where that list is. I tried to delete the TextLists, delete the combo box, to clean the project, but the error still there. How can I delete this option (2,Recipe #2)? Or how can I fix this error?** Thank you.
Last updated: 2025-06-19

Post by andrej on Signing of Boot Application for Raspberry Pi CODESYS Forge talk (Post)
Hello all, I would like to sign my boot application for my Raspberry PI. I generated the X509 Certificate and loaded it to the raspberry. It is successfully displayed as trusted certificate. However, I cannot download and start the Application to the Rasperry, due to a signature mismatch.The error message is rather clear, but I still don’t see how I can fix the issue, since the certificates on the Controller seem to mach the certificate in the user profile. Could you tell me where the error is or which step I am missing. Many thanks and kind regards Andreas
Last updated: 2025-07-17

Post by andrej on Signing of Boot Application for Raspberry Pi CODESYS Forge talk (Post)
Hello all, I would like to sign my boot application for my Raspberry PI. I generated the X509 Certificate and loaded it to the raspberry. It is successfully displayed as trusted certificate. However, I cannot download and start the Application to the Rasperry, due to a signature mismatch.The error message is rather clear, but I still don’t see how I can fix the issue, since the certificates on the Controller seem to mach the certificate in the user profile. Could you tell me where the error is or which step I am missing. Many thanks and kind regards Andreas
Last updated: 2025-07-17

Post by andrej on Signing of Boot Application for Raspberry Pi CODESYS Forge talk (Post)
Hello all, I would like to sign my boot application for my Raspberry PI. I generated the X509 Certificate and loaded it to the raspberry. It is successfully displayed as trusted certificate. However, I cannot download and start the Application to the Rasperry, due to a signature mismatch.The error message is rather clear, but I still don’t see how I can fix the issue, since the certificates on the Controller seem to mach the certificate in the user profile. Could you tell me where the error is or which step I am missing. Many thanks and kind regards Andreas
Last updated: 2025-07-17

Post by fedex03 on Read Global Variable from an IoT Device CODESYS Forge talk (Post)
Hello everyone, I am new to the forum, and to programming with CodeSys. I am dealing with IoT device for industry and I should check if a device is able to read/write global variables in an EtherNet/IP Master. Since I do not have an EtherNet/IP PLC, I thought of using CodeSys as a softPLC. I created a program with a set of global variables (GVL) and a task that increments them. I would like to know if I need to enable any options so that the global variables can be read by IoT devices. My device supports Class 2 Class (Explicit Messaging Connection) communication. Thank you in advance for your help.
Last updated: 2025-07-22

Post by kporter on High-resolution drive with SoftMotion CODESYS Forge talk (Post)
I'm beta-testing a new EtherCAT drive for a rotary (modulo) axis in a system where the encoder resolution is 81920000 counts per rotation. If I enter this in the SoftMotion Scaling/Mapping tab for "increments <=> motor turns", I get the error below on the Commissioning tab. Is SM unable to handle a high-resolution encoder? The bus cycle is currently set to the default of 4 msec (Control Win V3 x64), although I plan to reduce that to reduce latency, possibly by switching to the realtime (RT) master. Is SoftMotion incompatible with high-resolution encoders? SMC_CGR_INVALID_POSPERIOD Invalid modulo period (<= 0 or greater than half the bus bandwidth)
Last updated: 2025-08-25

Post by jzhvymetal77 on VarAccGetAddress does not return the correct address for TYPE_ARRAY or TYPE_USERDEF. CODESYS Forge talk (Post)
VarAccGetAddress does not return the correct address for TYPE_ARRAY or TYPE_USERDEF. When you use VarAccGetNode, it returns a proper IBaseTreeNode if you provide the full path of an array element or structure element, and it even provides the correct data type. The problem is that with TYPE_ARRAY, it returns the start address of the array rather than the indexed element. With TYPE_USERDEF, it only returns the offset of the element instead of the actual address. This causes many issues with nested structures or arrays of structures, since it requires manually calculating the address based on the parent IBaseTreeNode. See attached image and example.
Last updated: 2025-08-28

Post by antonz on CoDeSys v3.5: creating libraries for both 32-bit and 64-bit controllers CODESYS Forge talk (Post)
Follow up question: in the Project Settings, under Library Development, there is an option related to this: Check all Pool Objects -> Pointer size to use Options are: * 32 Bit * 64 Bit * 32 and 64 Bit The descriptions and online help suggest to me this is only relevant for checking and showing any incorrect pointer types as an error in the IDE. E.g. using a DWORD to store a pointer value on a 64-bit controller. It would not control the creation of either 32-bit or 64-bit compiled libraries. Is that correct?
Last updated: 2025-09-01

Post by chloereed on Creating Boot Application not working CODESYS Forge talk (Post)
From what you describe, the boot application files are in the right place, but the key step you’re missing is how the runtime knows which application to load. In most cases with CODESYS Control Win, you don’t need to edit CodesysControl.cfg manually. Instead, once you’ve created the boot application (Application.app and .crc), copy them into the runtime instance directory (for example …\E84889DB), then restart the service. The PLC should automatically detect Application.app and start it. If TargetVisu still doesn’t open, double-check that the visualization settings are enabled for TargetVisu (Project → Devices → Visualization), and that you built the project with visualization included before creating the boot application. Editing the config is rarely required unless you’re running multiple applications ball orbit
Last updated: 2025-09-04

Post by gseidel on Using an Axis of an Axis Group in Torque Conctrol CODESYS Forge talk (Post)
Hi manuknecht, the axis group currently always writes the axis set torque values. If no dynamic model has been configured for the axis group, then the set torques are written to 0. The solution for your use case is to call SMC_GroupUpdate [0] before you call SMC_SetTorque on the axes. This way, the axis group will write 0 to the set torques in the call to SMC_GroupUpdate(), and SMC_SetTorque then will write the desired set torque. Best regards, Georg [0] https://content.helpme-codesys.com/en/libs/SM3_Robotics/Current/SM3_Robotics/POUs/AdministrativeConfiguration/Computation/SMC_GroupUpdate.html
Last updated: 2025-09-09

Post by davidbo on All the things needed for anonymous login to OPC UA CODESYS Forge talk (Post)
I thought I knew what I am doing, but something is missing what? From Device-Communication Settings select from drop down menu "Device" Select entry "Change Runtime Security Policy" Check the "Allow anonymous login" Select "Symbol Configuration" in your application In settings check "Support for OPC UA features" Check some of the values you want in your set Press the build button in the "Symbol Configuration" Press the button "Configure Symbol Rights" Make sure that Anonymous_OPCUAServer has access right to your "default set" From Device-Communication Settings select "Access Rights" in RemoteConnections-OPCUAServer Anonymous_OPCUAServer should be given modify and view rights I suppose. I can connect with UaExpert but I cannot see my Application or browse my values. What is missing?
Last updated: 2025-09-10

Post by alexgooi on Licensing info not available. CODESYS Forge talk (Post)
Thank you for your quick response, I have updated to the 4.17.0 (Virtual control and the license server). Now I am able to see the softcontainer from the Codesys IDE. But when I want to activate the license I get the following message: Licensing info not available. The device does not support this service (See picture). I then tried to active it via the WBM service like you suggested. But when I try this is get an error (see picture for error). I also tried to put RTS- in front of the serial number, but when I try this I get an error that the serial number is not correct. I think I'm getting closer, but I'm not there yet.
Last updated: 2025-10-01

Post by preimesbergert on Raspberry Pi 4 B HW 1.5 Codesys control 4.10.0 stopps after a few seconds CODESYS Forge talk (Post)
Wanted to play a bit with a raspberry Pi 4 Model B HW 1.5 and Codesys. Regardless of the image (tried 32bit / 64bit version from Raspberry Pi Imager) and with all tested Codesys Control versions (4.2.0, 4.8.0, 4.10.0) and regardless if single core / multicore / 64 bit variant, always is the runtime stopped after about 30sec with the nice message: ooops... this runtime was built for RASPBERRYPI. Hardware version or firmware version not supported! (-7, 0x00000BB8, 0xFFFFFFFB) Whats wrong with it?!?!? I read a lot about the issue in topics from 2020-2021 but it always was stated with new Codesys control version issue will be fixed (4.4 for example) but still it is there.
Last updated: 2023-12-21

Post by preimesbergert on Raspberry Pi 4 B HW 1.5 Codesys control 4.10.0 stopps after a few seconds CODESYS Forge talk (Post)
Wanted to play a bit with a raspberry Pi 4 Model B HW 1.5 and Codesys. Regardless of the image (tried 32bit / 64bit version from Raspberry Pi Imager) and with all tested Codesys Control versions (4.2.0, 4.8.0, 4.10.0) and regardless if single core / multicore / 64 bit variant, always is the runtime stopped after about 30sec with the nice message: ooops... this runtime was built for RASPBERRYPI. Hardware version or firmware version not supported! (-7, 0x00000BB8, 0xFFFFFFFB) Whats wrong with it?!?!? I read a lot about the issue in topics from 2020-2021 but it always was stated with new Codesys control version issue will be fixed (4.4 for example) but still it is there.
Last updated: 2023-12-21

<< < 1 .. 91 92 93 94 95 .. 126 > >> (Page 93 of 126)

Showing results of 3135

Sort by relevance or date