Activity for CODESYS Forge

  • osande osande posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Problem with Visualization Manager and archiving. Project without VM has no problem. With VM in the project there is an error message and no archive has been created

  • gordonkeller360 gordonkeller360 posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I have a program which sequentially places byte representations of characters from a string into an array. FUNCTION_BLOCK MoveBytesFromString VAR_IN_OUT abRxBuf: ARRAY [0..79] OF BYTE; END_VAR VAR testString : STRING := '$0A$R$L$TTesting,123...$94$86$0A'; iCount: DINT; END_VAR ---------------------------------------------------------------------------------------- // clear the buffer MEM.MemFill(ADR(abRxBuf), 80, 0); FOR iCount := 0 TO LEN(testString) - 1 DO // account for undesired null terminator...

  • noah noah posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello, I also have the problem that suddenly all variables in my project were invalid and shown as "???" during runtime. Could you manage to fix the problem in the last 4,5 years ;) ? Because I tried everythin to fix it but nothing worked. I feel like maybe this is a bug. Thank you.

  • noah noah posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello, I also have the problem that suddenly all variables in my project were invalid and shown as "???" during runtime. Could you manage to fix the problem in the last 4,5 years ;) ? Because I tried everythin to fix it but nothing worked. I feel like maybe this is a bug. Thank you.

  • oemcba oemcba posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Today is 2026, and we still have the same issue since 2017, anyone have the answer? i'm using V3.5 SP18 P4+ from festo, thanks in advance... @rudolsto @r.evbatyrov @cole @mahmutonx @root @codesys-com

  • remlab remlab modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    If I try http://192.168.0.250:50543/api/xdevices.json?key=XXX&SetC1=1 it write correctly Why can I write but I can't read the Json ?

  • remlab remlab posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    If I try http://192.168.0.250:50543/api/xdevices.json?key=XXX&SetC=1 it write correctly Why can I write but I can't read the Json ?

  • remlab remlab modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I try to read into a IPX800v4 (this is a PLC for domotic application) with a WebClient fonction I use as url http://192.168.0.250:50543/api/xdevices.json?key=XXX&Get=C XXX is replace by the correct key for sure The status code is 200, it should works correctly But the result is '{' that's my problem When I try the same url with a web browser the result is correct like { "product": "IPX800_V4", "status": "Success", "C1": 16, "C2": 2, "C3": 0, "C4": 0, "C5": 0, "C6": 0, "C7": 0, "C8": 0, "C9":...

  • remlab remlab posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I try to read into a IPX800v4 (this is a PLC for domotic application) with a WebClient fonction I use as url http://192.168.0.250:50543/api/xdevices.json?key=XXX&Get=C XXX is replace by the correct key for sure The status code is 200, it should works correctly But the result is '{' and this my problem When I try the same url with a web browser the result is correct like { "product": "IPX800_V4", "status": "Success", "C1": 16, "C2": 2, "C3": 0, "C4": 0, "C5": 0, "C6": 0, "C7": 0, "C8": 0, "C9":...

  • gseidel gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi polyautomacao, basically, there are two ways to approach this. My first choice would be to check whether your servo drives supports an external encoder, connect the encoder to the servo and configure the servo accordingly. In this case, you would not need to change anything in the CODESYS application. If that is not an option, you could use SM_DrivePosControl, a drive that closes the position loop in the PLC, and feed it with the external encoder positions. See (0). You can switch your servo drive...

  • alexgooi alexgooi modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Dear Forum, For anyone interested we have solved this problem. Before we were using a KNX TP/IP interface, now we are using a KNX TP/IP router, and it works like a charm now.

  • alexgooi alexgooi posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Dear Forum, For anyone interested we have solved this problem. Before we were using a KNX TP/IP interface, now we are using a KNX TP/IP router.

  • poliautomacao poliautomacao posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, is it possible to perform an MC_MoveAbsolute movement, and have the servo move using an external encoder (freeEncoder)? In my application, I have slippage on the main shaft of the servo motor, and I would like to add an encoder to measure the actual position of the material.

  • stefan-gimpl stefan-gimpl posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Guten Tag, irgendwas ist hier im Argen, die Status werden nicht richtig angezeigt. Im Bild im Anhang wird die Variable in Zeile 16 CollectiveAlarm auf false gesetzt, es wird aber true angezeigt. In Zeile 17 frage ich testweise den Status nochmals ab, der ist auch false, obwohl die Variable CollectiveAlarm noch immer true anzeigt. Was kann hier die Ursache sein? Gibt es einen Beobachtungszeitpunkt, wann die Werte abgefragt werden?

  • akneer akneer posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Beispiel: IF bShutdownPC THEN bShutdownPC := FALSE; // LINUX SysProcess_Implementation.SysProcessExecuteCommand( pszComand:='shutdown -h 0', pResult := ADR(udiError)); // WINDOWS SysProcess_Implementation.SysProcessExecuteCommand( pszComand:='shutdown.exe -s -t 05', pResult := ADR(udiError)); END_IF

  • heman heman modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    you might want to have a look at www.plc-assist.com. its an agentic chatbot that connects to you codesys projects.

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    As far as I know, there is no other limitations than the 2 hours limit. The demo mode should be plenty enough for testing purposes. Regarding instances. In the device tree, 1 master = 1 instance, no matter how many slaves the master is communicating with. But it is also possible that your Codesys runtime act as a slave. In this case, each slave in the device tree is one instance. You can also use the license metric tool in the IDE. This will tell you exactly how many instances you have in your project....

  • FPawlak FPawlak modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi All, I wonder which way is correct or better? I would like to register my own component in order to use it in CMPLog. I can use CMAddComponent() or CMAddComponent2() to do it. The main difference is whether I provide udiCmpId myself or it will be generated by runtime. But I don't know which way is correct. Please look at those two examples below. I don't know if CMAddComponent2() is newer and then should be used? CMAddComponent() + providing my own udiCmpId //16#FFFF0000 for unknown myVendorId...

  • FPawlak FPawlak posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi All, I wonder which way is correct or better? I would like registerm my own component in order to use it in CMPLog. I can use CMAddComponent() or CMAddComponent2() to do it. The main differenc is whether I provide udiCmpId myself or it will be generated by runtime. But I don't know which way is correct. Please look at those two examplkes below. I don't know if CMAddComponent2() is newer and then should be used? CMAddComponent() + providing my own udiCmpId //16#FFFF0000 for unknown myVendorId :=...

  • kunal-pinetics kunal-pinetics posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello everyone, I am currently working on a PLC device based on the STM32H series MCU, running CODESYS. At the moment, I can: Change the Ethernet IP address Update/download the PLC application via Ethernet without any issues. However, I would like to implement the same functionality over USB (or Serial via USB) instead of Ethernet. My goals are: Change the device’s Ethernet IP address via USB Download/update the PLC application via USB communication Possibly use USB as a service/programming interface...

  • danp1406 danp1406 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello everyone, I am currently working with CODESYS Virtual Control for Linux running in Docker on a Debian virtual machine. I am deploying my application using Deploy Control SL, and in my project I am using the ModbusFB library to implement Modbus TCP communication. My setup is the following: I am trying to establish a Modbus TCP connection between a virtual PLC (CODESYS acting as Modbus TCP Client/Master) and a Siemens S7-1200 PLC acting as a Modbus TCP Server. From the Debian VM, I can successfully...

  • artplc artplc posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Try this scripts: https://github.com/ArthurkaX/cds-text-sync

  • mawaloc mawaloc posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello all, I'm looking to display current time and date as first, then find a way to adjust with time zone differences. I've found some tuto in internet but seems I already have issues.. cf picture Which functions I should use? thank You for the help and time. Regards

  • mawaloc mawaloc posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello all, I'm looking to display current time and date as first, then find a way to adjust with time zone differences. I found some tuto in internet but seems I already have issues.. cf pictures Which functions I should use? thank You for the help and time. Regards

  • pernockham pernockham modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    Ok, I think I understand. The problem is my language-setting being "swedish". I will check if I can switch to english. Update/confirmed. Change LANG to en_GB, this enabled the architechture to be correct and the control SL again to appear and to be possible to be updated. Thanks!

  • pernockham pernockham posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Ok, I think I understand. The problem is my language-setting being "swedish". I will check if I can switch to english.

  • TimvH TimvH modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    If the Professsional Developer Edition (which includes the Test Manager) is not supported by Schneider, then an option is to use the Open Source Unit test framework. See: https://forge.codesys.com/lib/counit/home/Home/

  • william william posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you, I will try it!

  • TimvH TimvH posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    If the Professsional Developer Edition (which inclused the Test Manager) is not supported by Schneider, then an option is the use the Open Source Unit test framework. See: https://forge.codesys.com/lib/counit/home/Home/

  • a-simone a-simone posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Same problem, someone solved it?

  • pernockham pernockham posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Thanks! Out of office, will check on Monday.

  • eschwellinger eschwellinger posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    can you please check this: https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_toubleshooting_deploytool2.html#UUID-b83dc01e-8cff-c574-7efe-8615b95a51ed_section-idm234790234401598

  • william william posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, We are investigating available libraries and frameworks for automated PLC unit testing in Schneider EcoStruxure Machine Expert. Specifically, we are looking for: Assertion libraries or test frameworks compatible with Machine Expert CODESYS‑based solutions that are not TwinCAT‑specific Any official or community‑recommended approach for unit testing FB/FC logic offline We have found several open‑source examples, but many appear to be TwinCAT‑dependent and therefore not compatible. Are there any...

  • risele risele modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    You are welcome. Also note, that it's valid only if you modbus-device use same real/float value representation (IEEE 754). That's true for most of systems. But some devices may have other representation, such as integer + position of the decimal point, for example 123.456 is integer = 123456 and position = 3 Also note, that, ones again, depending on endianess of each system, you may also need to swap not just words, but bytes. TYPE u_Real : UNION rVal:REAL; wVal:ARRAY[0..1] OF WORD; bVal:ARRAY[0..3]...

  • risele risele posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    You are welcome. Also note, that it's valid only if you modbus-device use same real/float value representation (IEEE 754). That's true for most of systems. But some devices may have other representation, such as integer + position of the decimal point, for example 123.456 is integer = 123456 and position = 3 Also note, that, ones again, depending on endianess of each system, you may also need to swap not just words, but bytes. TYPE u_Real : UNION rVal:REAL; wVal:ARRAY[0..1] OF WORD; bVal:ARRAY[0..3]...

  • risele risele modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    First, if you don't need to change conversion rules in runtime, take a look at "Unit conversion" module (Application -> add object -> UnitConversion). You can specify there biderectional conversion with different units, limits and so on. Second, since MODBUS don't have "real" types but only general 16-bit registers and Real is 32-bit, generally you need a byte-was conversion Real <> two Words. Note, that depending on the devices on both sides, there are two options: Real-> Word1, Word2 or Real->...

  • nehaltrivedi96 nehaltrivedi96 modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you for your suggestions, based on it I will modify the code

  • nehaltrivedi96 nehaltrivedi96 posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you for your suggestions, based on it I have modified the code like this will it work?

  • risele risele posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    First, if you don't need to change conversion rules in runtime, take a look at "Unit conversion" module (Application -> add object -> UnitConversion). You can specify there biderectional conversion with different units, limits and so on. Second, since MODBUS don't have "real" types but only general 16-bit registers and Real is 32-bit, generally you need a byte-was conversion Real <> two* Words. Note, that depending on the devices on both sides, there are two options: Real-> Word1, Word2 or Real->...

  • nehaltrivedi96 nehaltrivedi96 posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am currently scaling 4-20mA signals and the scaled output (temperature) has to be sent via modbus protocol to a tool like doctor modbus or modbus poll. I have defined my inputs as real as and the output is also real, but to send this output via modbus it has to be of word. So how will i convert real into word and then send the generated output via modbus?

  • pernockham pernockham posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Correct, my Device architecture says "None" is this position. A missing config somewhere?

  • eschwellinger eschwellinger posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi could you check if this really exists in 4.19.0.0 deploy tool? In your case architecture is missing- see my configuration

  • pernockham pernockham modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    And the strange thing for me is that if i connect with an older IDE version (where I only have 4.17.0.0 installed) I can see both "CODESYS Control for Linux SL" and "CODESYS Edge Gateway for linux". And that I loose (both presence and possibility to update) the first option (Control SL) if i let the updater install "Control for linux SL" vers. 4.18.0.0 or later. (Note that runtime 4.17.0.0 is installed and it is running and I can login to that system, but no apparent option available to update it...

  • pernockham pernockham posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    And the strange thing for me is that if i connect with an older IDE version (where I only have 4.17.0.0 installed) I can see both "CODESYS Control for Linux SL" and "CODESYS Edge Gateway for linux". And that I loose (both presence and possibility to update) the first option (Control SL) if i let the updater install "Control for linux SL" vers. 4.18.0.0 or later. Attached print screen where I connected the "deploy sl tool" to the same system, where the upper one has 4.19.0.0 installed, while the lower...

  • Reinier Geers Reinier Geers posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    3.5.20.4 Is there a power off bit, so i can save my last logfile ?

  • pernockham pernockham posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Does this cover what you need?

  • eschwellinger eschwellinger posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    we need the Systeminformation in the Communication tap(logged in)

  • pernockham pernockham posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Am I alone in this? Is this a known fault? Should I look for the reason of the lacking update option for "Control for linux SL" in my system or is it a potential fault in the codesys system?

  • altin altin posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I get same error message but pointing at different library. The error appears when im trying to scroll an AlarmTable on a thouch screen (ifm CR1204). Anyone knows what causing this and how to procceed? Many thanks in advance,

  • mohammedben mohammedben posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    hi, When I try to establish communication between CODESYS and Fuxa SCADA via OPC UA, the connection fails, and I receive the following error: 2026-02-15T08:38:13.618Z [ERR] 'codesys' connect failure! Error: The connection may have been rejected by server, Err = (ClientTCP_transport6: socket has been disconnected by third party) 2026-02-15T08:38:13.619Z [ERR] 'codesys' try to connect error! Error: The connection may have been rejected by server, Err = (ClientTCP_transport6: socket has been disconnected...

  • ilya-vah ilya-vah posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello, First post here. I would like to clarify whether the following behavior is known or if it is a bugs. Issue 1 β€” First row not displayed when using Maximum array index with 1-based arrays Description: When displaying data from an array that is indexed starting from 1 (e.g., ARRAY[1..N]), and the number of displayed rows is limited using the Maximum array index property, the first row of the array is not shown in the visualization. Steps to reproduce: Create an array indexed from 1 (e.g., ARRAY[1..N])....

  • gseidel gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Dear Mr. Kolev, I'm not sure I understood correctly. But this is my take on your question: When the STO of the slave is triggered, store the current master position (e.g. 225 units) After the reset of the slave error, call MC_SetPosition on the virtual master and reset it to the stored position (225 units) Optionally, before MC_CamIn is restartet, move the slave back to the slave position corresponding to the stored master position. (If you do this, no ramping in will be necessary) Restart MC_CamIn,...

  • pernockham pernockham posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Downloaded and installed edge gateway 4.19.0.0. Unfortunately same behavior: "Control for Linux SL" NOT shown in drop lists on either "Deployment" Tab of tool "Deploy Control SL", or as "installed packages" on "Operation" tab (only "CODESYS Edge Gateway for linux" is shown).

  • zeljko2212 zeljko2212 posted a comment on discussion Forge πŸ‡¬πŸ‡§

    PROGRAM RES_ECAT VAR xMP1: INT; xRESTART: BOOL; xFinish: BOOL; xStop: BOOL; pSlave: POINTER TO ETCSlave; TP1 : TP; STS11: WORD; pSlave6: POINTER TO IoDrvEthercatDriverLib.ETCSlave; MP1: INT; TON1 : TON; xSTAT: BOOL; TP_1 :standard.TP; END_VAR TON1(IN:= NOT TON1.Q, PT:= T#300mS ); TP_1(IN:= ton1.Q, PT:= t#2s ); EtherCAT_Master.xRestart := xRESTART; EtherCAT_Master(); EtherCAT_Master(); xFinish := EtherCAT_Master.xConfigFinished; EtherCAT_Master.xStopBus := xSTOP; EtherCAT_Master(); pSlave := EtherCAT_Master.FirstSlave;...

  • eschwellinger eschwellinger modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    guess you'll need to use latest CODESYS version to fix this.

  • fajean fajean posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    We make heavy use of internally developed libraries, which are often nested on multiple levels. I routinely work simultaneously on several libraries along with a project that use them. I make changes to a library and immediately perform a download (online or otherwise) in the project. For the longest time, we had zero issue with this. But starting a good while back, with 3.5 SP19 I think, CODESYS started not noticing library updates in other instances most of the time. When the update is missed,...

  • yannickasselin yannickasselin posted a comment on discussion Motion πŸ‡¬πŸ‡§

    I don't have time to go through the whole manual but as I said earlier, the servo drive does not support any of the modes needed for SoftMotion Light to work. If you want to use the full SoftMotion, you could use SMC_Homing function block to do the homing. This function block does not use the Homing Mode. It still uses the CSP mode and does the logic in Codesys runtime instead of in the servo drive. Read the documentation about it to see if it fits your needs. But if your controller only supports...

  • konstantin konstantin modified a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, basically the i950 drive support CiA402 Basic and CiA402 Advanced modes. I attached pictures of both mode supported functions. It also support CSP, VL, CSV and CST modes. It seems the homing mode is in CiA402 Advanced mode but how can you not have the homing mode in both modes? It is a vital part of any servo system. If I use the SoftMotion standard demo mode, I can move the servo absolute and relative but cannot home it. But in SoftMotion Light mode, I cannot execute any motion function....

  • konstantin konstantin posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, basically the i950 drive support CiA402 Basic and CiA402 Advanced modes. I attached pictures of both mode supported functions. It also support CSP, VL, CSV and CST modes. It seems the homing mode is in CiA402 Advanced mode but how can you not have the homing mode in both modes? It is a vital part of any servo system. If I use the SoftMotion standard demo mode, I can move the servo absolute and relative but cannot home it. But in SoftMotion Light mode, I cannot execute any motion function....

  • konstantin konstantin posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello Mr. Seidel, both the master and the slave axis are modulo. Basically the situation is as follows: One master cycle is 100 units. Slave's modulo length is 2000 units. In the CAM table I defined 10 master cycles on X axis - 1000 units and on the Y axis is the slave - 2000 units. Then depending on the master position 0 to 1000 units the slave's position is plotted on the Y axis - 0 to 2000 units. For example, while the master is executing the 3rd cycle i.e. above 200 units, I trigger the STO function...

  • risele risele posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    You actually can use copilot by PLCOpen XML file exporting/importing. It's fine to work with it directly (at least, the Codex do it quite well).

  • risele risele modified a comment on discussion Forge πŸ‡¬πŸ‡§

    Have the same issue: I'm making a test setup for modbus devices testing and calibration. One is run for every possible address, and it starts with minimal request: if the device is found, it continue to work with it, otherwise it's set to Disabled temporary. Those state machines are running under FOR cycle, and disabled are just skipped. Every instance have its own timer for not running too frequently and a start delay, so the actual requests are separate in time. I also check not for a single error,...

  • risele risele posted a comment on discussion Forge πŸ‡¬πŸ‡§

    Have the same issue: I'm making a test setup for modbus devices testing and calibration. One is run for every possible address, and it starts with minimal request: if the device is found, it continue to work with it, otherwise it's set to Disabled temporary. Those state machines are running under FOR cycle, and disabled are just skipped. Every instance have its own timer for not running too frequently and a start delay, so the actual requests are separate in time. I also check not for a single error,...

  • yannickasselin yannickasselin posted a comment on discussion Motion πŸ‡¬πŸ‡§

    In order to use SoftMotion Light, a servo drive needs to support CiA 402 operating modes: Profile Position (PP), Profile Velocity (PV) and Homing Mode (HM). https://content.helpme-codesys.com/en/CODESYS%20SoftMotion%20Light/_sm_light_requirements.html According to the Lenze i950 documentation you linked in your post, none of these modes are supported. Not even Homing Mode which explains why MC_Home does not work even with the full SoftMotion. The full SoftMotion uses Cyclic Synchronous Position Mode...

  • risele risele posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

    It's already fine to use, with help of exporting/importing as PLC_Open, at least CODEX is good in editing directly at XML and/or providing changes description separately.

  • gseidel gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Dear Mr. Kolev, can you please explain a little more: what happens at an STO? I assume the slave axes will be stopped and retain their current position? How, then, do you call MC_CamIn after the STO? Do you restart it with a new rising edge, but on the same master position as before the STO? Which StartMode are you using, is the cam slave absolute or relative, master absolute or relative? Are the slave axes modulo or finite axes? Best regards, Georg Seidel

  • dvmaris dvmaris posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    It was just that easy. Thanks @eschwellinger

  • konstantin konstantin posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, one of the projects I work on is about a racetrack collator with two independent belts on it - two different servo motors. Both motors share the same mechanical frame and there is a train on a belt that collects items from the input conveyor. The way the motion is performed is the following - there is a virutal master axis and both real axis are synchronised with different cam motion profiles. The problem is when an STO is triggered on any of the slave axis, the synchronization process starts...

  • yoeri yoeri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    For whoever finds this old thread. Instead of System.exit(0), use system.exit(0) without capital 'S', this worked for me. I use these imports from future import print_function import sys import os

  • pernockham pernockham modified a comment on discussion Automation Server πŸ‡¬πŸ‡§

    Some new test. Now I cannot connect from Automation server to my gateway in any way also from my office setup with my unit directly connected to my router by dhcp. I can use the IDE and the tool "Connect Edge Gateway" and successfully connect to my server/link to my Automation server account. However no PLC will respond from Automation server "Network scan". I guess the traffic should be initiated by the gateway towards automation server? Any tips on how I can diagnose my problem? Ports to be opened...

  • eschwellinger eschwellinger posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    guess you'll need to use latedt CODESYS version to fix this.

  • dvmaris dvmaris posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I'm trying to work with Codesys Control for Linux ARM64 SL 4.18.0.0 on a Toradex Verdin NXP iMX8MP. I have the runtime installed and operational as well as Codemeter lite 8.40.7141.503 (arm64). I'm running 3.5.20.60 and when "Scan Network" I see the Verdin popup. When I try to connect to it, the "mandatory use of the user management" popup shows...which makes sense. I click YES and enter user information and click OK. It immediately displays a "No device is responding to the scan request" popup....

  • pernockham pernockham posted a comment on discussion Automation Server πŸ‡¬πŸ‡§

    Some new test. Now I cannot connect from Automation server to my gateway in any way also from my office setup with my unit directly connected to my router by dhcp. I can use the IDE and the tool "Connect Edge Gateway" and successfully connect to my server/link to my Automation server account. However no PLC will respond from Automation server "Network scan". I guess the traffic should be initiated by the gateway towards automation server? Any tips on how I can diagnose my problem? Ports to be opened...

  • konstantin konstantin modified a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, In our workshop we have a Lenze i950 servo drive that has an EtherCAT bus and CiA402 compatibility. The WAGO is PFC200 750-8212 and as per documentation it has built-in license for SoftMotion Light functionality. It is not capable of supporting the full SoftMotion functionality like gearing and synchronizing. I added the EtherCAT esi files from Lenze and the EtherCAT master does see the drive, then I added a SoftMotion Light Axis object. The problem is that I can only energize the axis, I...

  • konstantin konstantin posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, In our workshop we have a Lenze i950 servo drive that has an EtherCAT bus and CiA402 compatibility. The WAGO is PFC200 750-8212 and as per documentation it has built-in license for SoftMotion Light functionality. It is not capable of supporting the full SoftMotion functionality like gearing and synchronizing. I added the EtherCAT esi files from Lenze and the EtherCAT master does see the drive, then I added a SoftMotion Light Axis object. The problem is that I can only energize the axis, I...

  • nano nano posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    your Project is allways written in st? then have a look at the FBS from PDE. schould solve parts of the job

  • dosnova dosnova modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    Weintek Codesys firmware update does not solve this problem..

  • dosnova dosnova modified a comment on discussion Runtime πŸ‡¬πŸ‡§

  • dosnova dosnova posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I've the same problem. I'm not able to solve..

  • dosnova dosnova posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I've the same problem. I'm not able to solve..

  • heman heman posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    you might want to have a look at www.plcstudiox.com. its an agentic chatbot that connects to you codesys projects.

  • kporter kporter posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    EtherCAT is a point-to-point protocol so it doesn't need a unique MAC address. It would be very useful to set the MAC address to 020000000000, the standard address for this kind of application. (The important bit is the 02 at the start of the address, which means locally-administered MAC.) The stock Windows driver can do this for my i210 card. But the CODESYS CmpEt1000MPD driver cannot. The image shows the setting with the Windows driver. If I set all my customers' cards to this address, then I don't...

  • maxcoulsn maxcoulsn posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Did you figure out this solution? Im on SP19 Patch 7 Experiencing the same issue.

  • TimvH TimvH posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Monitor what your current cycle time is (in the Task Configuration when you are online). If this is sometimes close to 200ms, then change your code (e.g. limit the loops, or prevent copying a lot of data between objects). Or just set the Watchdog time (or sensitivity) higher if you don't care that it sometimes takes longer than 200ms. If you want to find out which objects in your application consume the most time, then buy a PDE (Professional Developer Edition) license. With this you get a license...

  • hetongapp hetongapp posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Do you fixed the issues about container serial number different?

  • winki winki posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello, I think I understand: On my debian gateway I have done: sudo cmu --list cmu - CodeMeter Universal Support Tool. Version 8.30a of 2025-May-06 (Build 6885) for Linux/ARMHF 64-Bit Copyright (C) 2007-2025 by WIBU-SYSTEMS AG. All rights reserved. List all locally connected CmContainers: - CmContainer with Serial Number 130-XXXXXXXX and version 3.00 (empty) - CmContainer with Serial Number 130-XXXXXXXX and version 3.00 (locked) Result: 2 CmContainer(s) listed. The licence has been activated with...

  • gatto gatto posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    hi. My plc is weidmuller UC20-WL200-AC, IDE CODESYS 3.5.20.40, see picture for task settings. sometime i've got the plc stop. Reading the log, I find: EXCEPTIONPOSITION : IP=0x(nil) (no IECcontext could be retrieved) component CmpIecTask EXCEPTION [Watchdog] occurred: App=[Application], Task=[TASK_O_MAIN] component CmpIecTask How to find the position of problem?

<< < 1 2 >