Post by tk096 on Motion FB Error
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, Softmotion Robotics does not support tracking in/out to dynamic coordinate systems with relative movements. Is MC_MoveLinearAbsolute an option? See SMC_RELATIVE_MOVEMENT_TRACKING_CS in https://content.helpme-codesys.com/en/libs/SM3_Error/Current/SM3_Error/SMC_ERROR.html Concerning the other error: Do you use any motion function blocks of SM3_Basic to move a single axis of the robot in your application?
    
    Last updated: 2023-10-20
    
    
      
        Post by anhkdv on Data storage and Export in Codesys
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I am doing a SCADA project on temperature and humidity monitoring system. The customer requested that we store the database through codesys without the need for intermediary software such as MySQL, MSSQL,... and be able to export reports at selected times, reports exported to csv files. , xslm,... Can anyone help me?
    
    Last updated: 2023-10-29
    
    
      
        Post by timvh on Send file from codesys to...... ftp, cloud, etc
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      You can use the (open source) FTP client in Forge. This works on 64 bit systems. See: https://forge.codesys.com/prj/ftp-client/code/HEAD/tree/ As this is open, the idea is that when you use it and make improvements to the source code, that you also commit this in a branch so others can also benefit from it.
    
    Last updated: 2023-11-07
    
    
      
        Post by ewi04 on Recipe Manager - RecipeManCommands, load & write wrong values, Bug?
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      It seems that there is a limitation with the STRUCTs. Does anybody know, what’s okay to save (add to the recipe) and what’s not okay? Or is there another problem with my project? If I have only an array in the recipe definition everything works perfectly (see project).
    
    Last updated: 2023-11-15
    
    
      
        Post by ewi04 on Git - User identification data is lost when codesys is closed
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hallo, it's not a big problem, but it is a bit annoying. The git user identification data is lost when codesys is closed. So I have to enter the information again and again. Is there a way to save the data? Environment: Codesys V3.5 SP19 Patch 4 (64Bit), Git 1.3.0.0 Thanks
    
    Last updated: 2023-11-22
    
    
      
        Post by simotion on Variable indicating axis pending gearing or camming
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Is there a variable indicating that a gearing or camming operation is pending? For instance MC_Gearin has beeen triggered, but starting point of master axis to start the sychronisation movement is not reached yet, so the slave axis is just waiting for this. I should be able to differ between a pending and active gearing or camming
    
    Last updated: 2023-11-28
    
    
      
        Post by ivanmaltar on Update Raspberry Pi error
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, from today, I got an error when I try to open 'Tools/Update Raspberry Pi' and I got this error: There is no value with the specified name associated with this subkey. This feature worked before. I did not do any changes to Codesys installation. Codesys version is SP19.1, and CODESYS Control For Raspberry Pi 4.8.0.0
    
    Last updated: 2023-11-30
    
    
      
        Post by seesle on Extracting information out of a *.library or *.compiled-library file
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hey there, is there a way to extract any data out of a .library or a .compiled-library file? Do you have any tools or a description of the binary or something like this to get for example the referenced libraries of a *.library file or any other stuff? Thx in advance M.
    
    Last updated: 2023-12-04
    
    
      
        Post by fazlinda on AWS IoT core CODESYS
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, Im having a problem sending a data from my structure text code from codesys to aws. Instead of receiving {state {reported {data: 123}}} It display {state {reported {data: 123}}}\x00 \x00 \x00 \x00 \x00 \x00 \x00 Please help me solve this issues. how to remove \x00 ?
    
    Last updated: 2023-12-06
    
    
      
        Post by fazlinda on AWS IoT core CODESYS
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, Im having a problem sending a data from my structure text code from codesys to aws. Instead of receiving {state {reported {data: 123}}} It display {state {reported {data: 123}}}\x00 \x00 \x00 \x00 \x00 \x00 \x00 Please help me solve this issues. how to remove \x00 ?
    
    Last updated: 2023-12-06
    
    
      
        Post by fazlinda on AWS IoT core CODESYS
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, Im having a problem sending a data from my structure text code from codesys to aws. Instead of receiving {state {reported {data: 123}}} It display {state {reported {data: 123}}}\x00 \x00 \x00 \x00 \x00 \x00 \x00 Please help me solve this issues. how to remove \x00 ?
    
    Last updated: 2023-12-06
    
    
      
        Post by fazlinda on AWS IoT core CODESYS
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, Im having a problem sending a data from my structure text code from codesys to aws. Instead of receiving {state {reported {data: 123}}} It display {state {reported {data: 123}}}\x00 \x00 \x00 \x00 \x00 \x00 \x00 Please help me solve this issues. how to remove \x00 ?
    
    Last updated: 2023-12-06
    
    
      
        Post by fazlinda on AWS IoT core CODESYS
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, Im having a problem sending a data from my structure text code from codesys to aws. Instead of receiving {state {reported {data: 123}}} It display {state {reported {data: 123}}}\x00 \x00 \x00 \x00 \x00 \x00 \x00 Please help me solve this issues. how to remove \x00 ?
    
    Last updated: 2023-12-06
    
    
      
        Post by fazlinda on AWS IoT core CODESYS
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, Im having a problem sending a data from my structure text code from codesys to aws. Instead of receiving {state {reported {data: 123}}} It display {state {reported {data: 123}}}\x00 \x00 \x00 \x00 \x00 \x00 \x00 Please help me solve this issues. how to remove \x00 ?
    
    Last updated: 2023-12-06
    
    
      
        Post by talhaali on Adding a variable from text list into ST code
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, can I use a entry of a text list as variable in structured text? for example in attach picture, if i use want to use data of first row. I am trying to write: A : STRING := TextList.Default.0; but it is not workings
    
    Last updated: 2023-12-07
    
    
      
        Post by talhaali on Adding a variable from text list into ST code
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, can I use a entry of a text list as variable in structured text? for example in attach picture, if i want to use data of first row. I am trying to write: A : STRING := TextList.Default.0; but it is not workings
    
    Last updated: 2023-12-07
    
    
      
        Post by dileesha on Codesys device configuration
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I am new to this and I have a Beijer X2 Control 7 HMI and in my laptop I have installed codesys v3.5, ix developer and codesys gateway control. I have designed a simple PLC programme and Im trying to connect my PC and Beijer HMI via an ethernet cable and scanit in the codesys software. But when I scan it does not show any device.
    
    Last updated: 2023-12-08
    
    
      
        Post by mucleus on What is the solution for "Application stopped on recovery switch request"?
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, everyone. I am using CODESYS RTE and Profinet I/O or EtherCAT I/O. Occasionally (once every 1-2 months) the attached image occurs and the program stops. I want to know why this phenomenon occurs and how to solve it. I attached log. Please help me. Thanks.
    
    Last updated: 2024-07-05
    
    
      
        Post by stiller on OPC UA RPI 4.8.0.0 Status Code / "out of range"
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I have an OPC-UA server with an information model. For many values, there is a defined range (e.g., 0 to 100). If a client enters a value outside this range (e.g., 120), the StatusCode should change to Bad. How can I accomplish this? Any help is appreciated! Thank you in advance. Best regards, Christian Stiller
    
    Last updated: 2024-07-10
    
    
      
        Post by maxkemmeren on PFC200 (750-8214) high linux load average, but seems random. Possibly EtherCAT related.
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Have you received any feedback or found any solutions to the load problem. We are running into similar issues, even without codesys running the load avarage is above 1 meaning that it is to busy already without plc code running. Hope you might have some more insight.
    
    Last updated: 2024-07-11
    
    
      
        Post by youness on No source code available (cip object)
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi yotaro, hope your problem was resolved. I had the same, but with an other library title. This exception is not detected during compilation, but rather at a given position in the program (when switching to a given visualization). Although the exception is generated at this point, it does not involve the visualization in question. This error is due to one of 3 reasons: 1) A division by zero somewhere: The program is able to detect divisions by zero at compile time. But in the case of a variable, which takes a valid value at init and changes to 0 at a later stage. 2) An invalid pointer: (either because it has a value of 0, or because it points outside the memory reserved for the program) is being dereferenced. Locate any pointers or interfaces you have in the code and check them - you should also be wary of mixing inline modifications and pointers. 3) Array overflow: Generally when a processing operation is executed outside the array's definition range. Example: a write loop with n iterations is executed on an array of dimmension n-1. On the other hand, the error message may not appear. In the latter case, the error may have fatal consequences, as the overflow has induced writing to potentially forbidden memory areas. This problem can be explained by the fact that it's not always the adjacent memory areas of PLC_PRG that are overwritten, but the memory areas that are randomly allocated to the array during compilation. In this case, however, there is no entry in the log, so you need to integrate the "Implicit Check function", which checks the line of code generating the error. To integrate this functions, click on Application --> POU for implicit controls Regards,
    
    Last updated: 2024-07-16
    
    
      
        Post by tk096 on Some 'pathetic' errors in SoftMotion program
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, I suppose that you are referring to the error code "SMC_FB_WASNT_CALLED_DURING_MOTION"? Starting of Softmotion version 4.15.0.0 the instance path of the function block that has not been called is logged into the device log. This might help you to identify why it has not been called.
    
    Last updated: 2024-07-18
    
    
      
        Post by mubeta on Some 'pathetic' errors in SoftMotion program
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Thank you for your interest. Your answers are in line with what I knew, so at least it comforts me that I did not misinterpret the situation. However, I don't have an exact match as, for this project over the past few days I have: 1) I have gone back to leaving the various FBs of the motion always called, all of them, and in the state machine I use a boolean to activate the various useful Execute. (But in the future I want to go back and try the programming technique with which I wanted to develop this project); 2) For the occasional error: SMC_FB_WASNT_CALLED_DURING_MOTION perhaps it was due to the fact that I had set the Ethercat bus synchronism only at the CAN master level, but not at the level of individual drives. I have now also activated it for the individual drives and it does indeed seem to have been resolved, but having also adopted the programming technique mentioned in point 1), I cannot say whether this was the solution to the problem, or instead the previous point. Is there an error ‘regulator or start not set’ in the device log before the error ‘motion generating FB wasn't called for at least one cycle’? I can't answer that right now. By now the machine is running and I am no longer there, at this one. Also, I seem to remember that the 'fbeFBerror' drive structure (5-element array), does not cycle, BUT ONCE THE 5 EVENTS AFTER SWITCHING ON, IT DOES NOT UPDATE ANYMORE (but that's another issue), so diagnostics were not easy.
    
    Last updated: 2024-07-24
    
    
      
        Post by timvh on RAMP_REAL FB is retaining my output value when i try to re use the FB
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I think, that if you set the timebase to T#0s, that it will be reset. But you can also make your own ramp down with a Timer (make sure the PT time is not T#0s):
    
    Last updated: 2024-07-29
    
    
      
        Post by flappyman on licenses question
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I hope this tread will be able to help me. I got your new licenses and it was working perfectly fine. Unfortunately, my PLC got severely damaged and it can not run anymore. Is it possible to somehow release the license so I could use it again. I have all information for the device and can provide it.
    
    Last updated: 2024-08-05
    
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.