Search talk: cnc

 
<< < 1 2 3 4 > >> (Page 3 of 4)

how to run the machine using CNC editor in codesys CODESYS Forge talk (Thread)
how to run the machine using CNC editor in codesys
Last updated: 2007-10-24

Codesys CNC M Code error after upgrading 2 machines from 3.5.12 to 3.5.16.20 CODESYS Forge talk (Thread)
Codesys CNC M Code error after upgrading 2 machines from 3.5.12 to 3.5.16.20
Last updated: 2021-01-19

The A/B/C axis problem of CNC interpolator in 6DOF robot CODESYS Forge talk (Thread)
The A/B/C axis problem of CNC interpolator in 6DOF robot
Last updated: 2022-09-12

CNC / G01 Speed is very slow (or go-stop motion) in Continuous short segment . CODESYS Forge talk (Thread)
CNC / G01 Speed is very slow (or go-stop motion) in Continuous short segment .
Last updated: 2024-05-01

CNC / G-Code streaming processing ( to start quickly in long G-Code File ) CODESYS Forge talk (Thread)
CNC / G-Code streaming processing ( to start quickly in long G-Code File )
Last updated: 2024-05-03

Post by peterned on CNC - system goes to X=0 Y=0 before CNC file execution starts, how to avoid that? CODESYS Forge talk (Post)
Thanks Georg, that fixed it.
Last updated: 2024-05-07

CNC Open Source Project / Can I convert my project to text-files ? CODESYS Forge talk (Thread)
CNC Open Source Project / Can I convert my project to text-files ?
Last updated: 2024-05-16

Motion πŸ‡¬πŸ‡§ CODESYS Forge talk (Discussion)
Realizing single or multi axis motion control, CAM, CNC and Robotic applications
Last updated: 1 day ago

Post by fabriciosegalin on SMC_NCDecoder very slow to decode lines CODESYS Forge talk (Post)
Does anyone know a way to load a CNC program from CNC Editor faster using SMC_NCDecoder? It takes around 7 seconds to load 34 lines of G code and this is a problem for repeating the CNC program.
Last updated: 2024-08-23

Post by peterned on CNC - system goes to X=0 Y=0 before CNC file execution starts, how to avoid that? CODESYS Forge talk (Post)
Hi, I have a XY system and use a CNC file to move it. Everything works OK, except for the following: when CNC execution starts, the system rushes at high speed to (X=0, Y=0) point, and only then goes to the first line of the CNC file. If one of the axes is near 0, the system jumps and immediately stops with an error. In the CNC file settings (screenshot attached) I specified low default values for speed/acceleration and a start position different from 0,0 - but all that is ignored. Any idea how to avoid that move to 0,0 ? Thanks.
Last updated: 2024-04-26

Post by murdemon on CNC Jumps G20 - SMC_NCInterpreter and long time to process CODESYS Forge talk (Post)
Best way.. in CNC program before G20 jump, set G75. And for fbCheckVel execute if fbInterpreter.bWorking AND fbInterpreter.bLastObjectWasAdministrative; and same for Interpolator. " ..... dumm := fbInterpreter.bWorking AND fbInterpreter.bLastObjectWasAdministrative; //Check velociteses. fbCheckVel(bExecute := (fbInterpreter.bDone or) dumm, bAbort := gCNC.bCycleStop, poqDataIn := fbInterpreter.poqDataOut); "
Last updated: 2024-08-03

Post by jonasz on Discontinuity of A/B/C axis movement. CODESYS Forge talk (Post)
Hi, My problem was related to the behavior of the modulo axis, but maybe you will find something useful from what I write. The solution lies in path processing. Codesys offers a G-code analysis tool. Insert a CNC object into the project. The CNC settings object will be added automatically. By inserting appropriate processing modules into the CNC settings object and parameterizing them, you can test the behavior of the axis. When the effect is satisfactory, remember to add the module from CNC settings in the correct order in the processing path. Each CNC machine case is different. You need to spend some time to get your design tailored like an Armani suit. Good luck.
Last updated: 2024-05-09

Post by gseidel on CNC - system goes to X=0 Y=0 before CNC file execution starts, how to avoid that? CODESYS Forge talk (Post)
Hi peterned, the start position given in the CNC properties is only used if you use the compile mode OutQueue. With compile mode SMC_CNC_REF, you need to provide the start position in the IEC application. The function block SMC_NCInterpreter has an input piStartPosition. You can initialize it with the output of the forward kinematic transormation FB for your machine. In your case probably SMC_TRAFOF_Gantry2. Best regards, Georg
Last updated: 2024-04-30

Post by fless on Warning C0564 when compiling CNC project with variables program CODESYS Forge talk (Post)
Hello, we are porting a CNC project from codesys 3.5.16 to codesys 3.5.19. The project has lots of CNC programs with variables. now we get hundreds of messages like this. [WARNING] CNC Test SP19: TestCNC SPS: PLC Logic: Application: C0564: A reference to uninitialized variable varCNC is used for initialization of TestCNC_D. Accessing the uninitialized variable may result in unexpected behavior. The objects program_name_D are implicit generated by codesys. I see no way to generated them after the variables. Is there a way to correct the initialization order? We know how to suppress this warning. But we need a clean solution as the warning already saved us in a other nonCNC project. Attached a small demo of the problem.
Last updated: 2024-03-21

Post by fless on Warning C0564 when compiling CNC project with variables program CODESYS Forge talk (Post)
Update: We managed to avoid the warnings by changing the order of initialization by adding an attribute to the GVL with the variables. {attribute 'global_init_slot' := '49989'} The variables are initialized right before the regular GVLs (default GVL slot 49990). Note to Codesys: I see the problem, Codesys needs to initialize the CNC objects before the GVLs so they can be used in the GVL. But then you can't use variables from GVLs in CNC programs. Maybe you could disable the warning in your generated CNC objects? At least a note for a workaround would have been nice.
Last updated: 2024-04-02

Post by k2saki on CNC Override speed. SMC_Interpolator.dOverride is working ? CODESYS Forge talk (Post)
Sorry, That was my mistake. I found a error in my program. Now it works well.
Last updated: 2024-05-01

Post by k2saki on CNC / G01 Speed is very slow (or go-stop motion) in Continuous short segment . CODESYS Forge talk (Post)
I'm using CAD/CAM that outputs GCode with G01 many short segments from NURBS Curve, only X-Y axis. But CODESYS CNC motion seems much slower ( or stop-go motion ) in simulation mode than F-Value (I checked value from SMC_Interpolator - dVel ). In GCode G01, F value is F500, but movement is very slow, actual speed (dVel) is between 0 to 30 back and forth. I think very old CNC can move like that, but nowadays, a lot of CNC can move smoothly to process free curve ( somethimes option switch ) I tried to use G51 Dxx but I got the same result. My questions are 1) How do I improve CODESYS CNC motion in this case ? 2) How can I graph the sampling from dVel of SMC_Interpolate in CODESYS? From my GCode N2006 G01 X1.4364 Y-14.6847 F500 N2007 G01 X1.6759 Y-14.6768 N2008 G01 X1.9152 Y-14.6486 N2009 G01 X2.1547 Y-14.6400 N2010 G01 X2.3943 Y-14.6090 N2011 G01 X2.6336 Y-14.6002 N2012 G01 X2.8732 Y-14.5716 N2013 G01 X3.1127 Y-14.5634 N2014 G01 X3.3520 Y-14.5410 N2015 G01 X3.5915 Y-14.5336 N2016 G01 X3.8308 Y-14.5307 ... Thansk.
Last updated: 2024-04-29

Post by k2saki on CNC Open Source Project / Can I convert my project to text-files ? CODESYS Forge talk (Post)
Hi. I published My CODESYS-CNC Project to GitHub and I set it Open Source Software. Here https://github.com/k-s-saki/RPi_CODESYS_CNC My CNC Project is binary file , using FBD for IPO , so I found it is a little bit hard to work with people on GitHub. (diff / merge ) My question is 1) Is it possible to convert my project ( only POUs is also fine ) into text file ? How? 2) Would it be better to rewrite all FBD/LD into ST and copy them manually to text files? Thanks.
Last updated: 2024-05-16

Post by tk096 on SMC_Interpolator + SMC_controAxislbyPos CODESYS Forge talk (Post)
Hi, you can define a start position for your GCode. How the start position can be defined depends on the CompileMode: For File and SMC_CNC_REF: Set the start position input of SMC_NCInterpreter (https://content.helpme-codesys.com/en/libs/SM3_CNC/Current/SM_CNC_POUs/NC2/Interpreter/SMC_NCInterpreter.html) For SMC_OutQueue: * Right-click on the CNC object in the project tree * Select Properties * Select the tab 'CNC' * Set the start position Concerning your second question: If the new set position cannot be reached with the given velocity limit (AXIS_REF_SM3.fSWMaxVelocity), SMC_controlAxisByPos will report bStopIpo and close the 'gap' with the given gap dynamics (SMC_controlAxisByPos.fGap*).
Last updated: 2024-02-07

Post by trusty-squire on implementing continuous movement in Codesys CODESYS Forge talk (Post)
What do you mean by continuous movement? You want to continuously follow a dynamic target position? SMC_ControlAxisByPos, which is typically used with CNC Interpolators, could work for that. Instead of feeding the target position in from the Interpolator, feed in the target position from your server instead. Once you enable the FB, it will continuously move the axis to track the fSetPosition input. https://content.helpme-codesys.com/en/libs/SM3_CNC/Current/SM_CNC_POUs/SoftMotion-CNC/Direct-Axis-Control/SMC_ControlAxisByPos.html
Last updated: 2024-09-12

Post by arnog on Master&Slave Program in 4 Axis CNC Project CODESYS Forge talk (Post)
I am also looking for the right solution. Also saw a virtual axes would be better to steer x1 and x2
Last updated: 2023-10-01

Post by eschwellinger on function block output CODESYS Forge talk (Post)
I think you should use a piece of hardware in between your drive (pulse/direction) and the plc like for example Beckhoff EL2521 - so Ethercat might be to choice if you need CNC and SoftMotion. EK1100 and EL2521
Last updated: 2024-01-05

Post by gseidel on CNC / G01 Speed is very slow (or go-stop motion) in Continuous short segment . CODESYS Forge talk (Post)
Hi k2saki, 1.SMC_ReadNCFile2 2.SMC_Interpreter 3.SMC_SmoothMerge 4.SMC_SmoothPath 5.SMC_CheckVelocities I attached a simple example project. Best regards, Georg
Last updated: 2024-04-30

Post by gseidel on Warning C0564 when compiling CNC project with variables program CODESYS Forge talk (Post)
Hi Fless, thanks for your report! We created an issue in our bug tracker (SM-5109) and will have a look at this issue. Best regards, Georg
Last updated: 2024-04-30

Post by k2saki on CNC Override speed. SMC_Interpolator.dOverride is working ? CODESYS Forge talk (Post)
Hello. I have a question about override of moving speed. I am testing G-Code in Simulation mode. I set SMC_Interpolator.dOverride <--- 0.5, 1.0, 2.0 when Interpolator is working But SMC_Interpolator.dVel(speed) did not changed at all. Am I missing something to take effect ?
Last updated: 2024-05-01

<< < 1 2 3 4 > >> (Page 3 of 4)

Showing results of 93

Sort by relevance or date