Post by matt-s on HMI Pushbutton/Move Instruction
CODESYS Forge
talk
(Post)
I have not gotten to the bottom of this yet no. I have double check that the variables are correct linked. When online with the program I can see the button and rung going true for the move instruction, yet it does not change. Forcing the bit in the program does change the value in Groov View. I am kind of at a loss here, especially since the other POU(For the pumps) does the same thing fine.
Last updated: 2024-02-02
Post by thomasrohnerch on Color Change for Symbols not working
CODESYS Forge
talk
(Post)
I have some Symbols from the Visualization Toolbox on my Target Visu on the Computer. I tried many Symbols, mainly Arrows. I'm able to control the visibility with condition e.g. "GVL.actual_testvalues.speed <= 0" But I can't do "Toggle color" with boolean GVL.b_toggle_color. Neither "TRUE" nor "FALSE" does change anything. Is this a known issue? I'm using CODESYS V3.5 SP19 Patch 5 + (64-bit). See attached file with more Version-Info. I'm currently using Style 6, Gradient axial 2, 3.5.12.0. I had the same issue with Default 3.5.16.0.
Last updated: 2024-02-08
Post by mikek10 on HTTP Client TCP Init Error
CODESYS Forge
talk
(Post)
Hi, I tried posting in the discussion for the HTTP Client example but perhaps that is not monitored? I have been using http client successfully for approximately 12 months, however in recent weeks I have begun to get TCP_INIT_ERROR when attempting to communicate. The only resolution seems to be power cycling and then the connection begins to work again for a time. I am not aware of any changes to code or libraries between working ok and now. Cold reset does not resolve, only power cycle. It seems the error from NBS.TCP_Client is 6002 which I think is invalid_addr However the address is the same when working and not working?
Last updated: 2024-07-04
Post by arnog on Two drives on one axis, Gantry Robot
CODESYS Forge
talk
(Post)
Hi TK_Jenssen did you found a solution I am setting up the samelike gantry only with two z-axes which are mounted on fix position with an X axes between the two z-axes. The movement and position of both z-axes must be very well aligned and calibrated. Maybe also to be adjusted by programming. Can you sent an example of your solution?
Last updated: 2023-08-25
Post by janderson on Ethercat scan for devices not picking up EL7041 as a softmotion axis
CODESYS Forge
talk
(Post)
it appears that the different revisions have different PDOs. I am currently trying to use the rev25. I have tried to use the rev24 (the device repository entry not from 'scan for devices') and i keep getting 'invalid output mapping' or 'invalid input mapping' in the ethercat log. I cant even get the bus to run from the device description that comes from 'scan for devices'...
Last updated: 2023-09-18
Post by janderson on Ethercat scan for devices not picking up EL7041 as a softmotion axis
CODESYS Forge
talk
(Post)
it appears that the different revisions have different PDOs. I am currently trying to use the rev25. I have tried to use the rev24 (the device repository entry not from 'scan for devices') and i keep getting 'invalid output mapping' or 'invalid input mapping' in the ethercat log. I cant even get the bus to run from the device description that comes from 'scan for devices'...
Last updated: 2023-09-18
Post by esave on Softmotion Axis Controll
CODESYS Forge
talk
(Post)
Hello everybody I have two of these EtherCat CiA402 stepper driver from Leadshine: https://www.leadshine.com/product-detail/EM3E-556E.html I want to controll them. I already have implemented them in Codesys with Softmotion. I see the position, the velocity and the status word so I can read everything. See picture 1. But when I want to write something like MC_Power or MC_MoveAbsolut with the SM3_Basic library it wont work and with the MC_Reset POU it shows: "SMC_R_DRIVE_DOESNT_ANSWER". See picture 2. Can somebody help me? Thanks a lot esave
Last updated: 2024-05-24
Post by joep on Custom robotics kinematics model debugging
CODESYS Forge
talk
(Post)
When trying to move my axis using any group move instruction I get the following error: SMC_CP_INVALID_PATH_ELEM and axisgroup goes into errorstop state. I tested my methods thoroughly which makes it hard for me to debug. Are there some hidden rules I need to abide to? How would one go about debugging a custom robotics model, since the information inside isn't accesible. Is it possible to find the source of where the function breaks? Any hint in the right direction would be appreciated. Best regards
Last updated: 2024-06-08
Post by installwhat on What is the solution for "Application stopped on recovery switch request"?
CODESYS Forge
talk
(Post)
<Entry severity="information" component="<10>" user="nobody" timestamp="2024-07-04 ?? 5:10:47" infoId="1">Axis#=121 , Error=30014 , Emergency 2 <Entry severity="information" component="<10>" user="nobody" timestamp="2024-07-04 ?? 5:10:23" infoId="1">TCP Server : WaitClient <Entry severity="information" component="<10>" user="nobody" timestamp="2024-07-04 ?? 5:10:23" infoId="1">TCP Server : Init What is "component="<10>"? Is this system a vanilla CODESYS RTE or is it a modified installation. I think more details are required.
Last updated: 2024-07-08
Post by mubeta on Some 'pathetic' errors in SoftMotion program
CODESYS Forge
talk
(Post)
Yes, this point is part of my misunderstanding. Why, after the execution ot the motion FBs is set to FALSE and exsecuted at lest one time, it must be continuosly called, even if the motion control it's take from another subsequent instruction. This is what I really don't undertand, but what in fact it's happening. For example, in case of stopping a MoveVelocity FB, then Halting the motion by the related FB, the axis at spot goes into error. If there was bad trigger management, the various instructions would NEVER work.
Last updated: 2024-07-18
Post by joep on overruling kinematic limits of [-90Β°, 90Β°] in bipod_rotary
CODESYS Forge
talk
(Post)
Hi All, for my robotics application we are building a 2-axis parallel scara using the kin_bipod_rotary kinematics. Codesys implemented limits of [-90Β°, 90Β°] according to the documentation: https://content.helpme-codesys.com/en/libs/SM3_Transformation/Current/SM3_Transformation/Function-Blocks/Positioning-Kinematics/Parallel-Systems/Kin_Bipod_Rotary.html Would it be possible to overrule these limits somehow, our mechanical limits are more in the range of [-110Β°, 135Β°] In this range we also don't encounter point where singularity is an issue. Hopeful someone knows a solution, Best regards, Joep
Last updated: 2024-09-04
Post by trusty-squire on Display Units/Scale on Path3D visualization
CODESYS Forge
talk
(Post)
Hi, Is it possible to display the units along the X,Y axis of the Path3D element? It correctly shows the CNC path to be followed, but there's no indication of scale or size of what's being displayed. I looked at the documentation and my first inclination is that this is not possible, and the option option would be to somehow recreate the Path3D functionality into the XY Chart visu element - which is not ideal. Any suggestions or pointers would be appreciated!
Last updated: 2024-11-08
Post by eschwellinger on CSVReaderInit returns error : INVALID_HANDLE
CODESYS Forge
talk
(Post)
this is a security issue not to read/write in the plc allowed path I would recommend to update and change the path in the application were the files areπ
Last updated: 2023-08-30
Post by totorovic on CSVReaderInit returns error : INVALID_HANDLE
CODESYS Forge
talk
(Post)
Thank you for the return. The path targets to a CFast card. User has R/W access to it. We will try to change it.
Last updated: 2023-08-31
Post by marekxc on Error C0521 - unknow compiler
CODESYS Forge
talk
(Post)
Select in tree "DEVICE", right-click and select "Update Device" Select "Library manager" and Change the version of the Library (down manualy). Samoetimes "Try reload Library". If you open a project version 3.5.19 in version 3.5.16, there are difficulties.
Last updated: 2023-09-02
Post by awatson on How to change keyboard layout on the virtual keyboard?
CODESYS Forge
talk
(Post)
I got it all working nicely based on the demo templates - edit my own numpad and screen keyboards - plus go the keyboard working on the login dialog (didn't work before!)
Last updated: 2023-11-17
Post by reinier-geers on Time zone
CODESYS Forge
talk
(Post)
I use a controller with Linux. I try to change timezone. but no result. The command of codesys i dont understand ?? And Linux Commands dont work. It stays at +0 . I want Amsterdam
Last updated: 2023-12-29
Post by giackanto on Eoe issues with Windows and Linux
CODESYS Forge
talk
(Post)
I tried to change the name of the tap device to 'tap0,' but nothing changed. I don't think this is the problem.
Last updated: 2024-01-10
Post by thomasrohnerch on Color Change for Symbols not working
CODESYS Forge
talk
(Post)
It seems I misunderstood "Toggle color". It's only applicable for the Symbol "FRAME". This part is working fine. See also attached archive.
Last updated: 2024-02-09
Post by ragarcia on Error while using UpdateConfiguredIPSettings to change IP address
CODESYS Forge
talk
(Post)
I did check I cannot see any error log. It is when executing the Reconfigure function that I get an error as return from that function.
Last updated: 2024-02-19
Post by reinier-geers on Compile error
CODESYS Forge
talk
(Post)
Ive got a project version 16p3 Running on Epis( 32) . Codesys cant see License stick on Epis and no one can tell me why. So Got me a Crist(64). Change version to version 18.4 But then i get dialog libry problems. Anyone knows why ?
Last updated: 2024-02-22
Post by niallel on How to change bHiresMode
CODESYS Forge
talk
(Post)
Thank you so much for the reply. The motor is a rotary connected to a linear actuator. So would I set it up as in the attachment screenshot?
Last updated: 2024-03-12
Post by doli on Codesys table border
CODESYS Forge
talk
(Post)
Hello. I have a simple table in codesys. How can I remove the right border from all the cells and change just the color of border from table (not header)? Thank you!
Last updated: 2024-03-19
Post by danieldiaz on Problem with FB execution
CODESYS Forge
talk
(Post)
Hello everyone, I've been working on a system which needs an error function, with this purpose I've created a FB programmed in LD, after debugging I run the simulation. It seems that the variable linked to a coil doesn't change the value when the contacts are associated to input variables. When I use internal variables the logic works properly. I don't know if the problem is related to the variables definition or with the logic program. As you can see in the image, I1 and I2 are variables declared on the FB, the rest are input variables. If I force the eStop and Reset signals to TRUE the coil value should change, but it doesn't. However in the second network if I1 is TRUE the coil change to TRUE as it has to be. To sum up, my doubt is why that coil doesn't change its value? I would like someone to shed a light on this. Thanks!
Last updated: 2024-04-02
Post by mosayeb on Power off
CODESYS Forge
talk
(Post)
Hello. It is interesting that almost everyone has faced this problem. Run the program as shown in the attached photo. Give True to the Enable input and change the status of the drive to on and off with Servo-On
Last updated: 2024-04-08
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
.