Search talk: jump

 

Jump to a process CODESYS Forge talk (Thread)
Jump to a process
Last updated: 2020-12-10

Long Jump/Exit CODESYS Forge talk (Thread)
Long Jump/Exit
Last updated: 2019-09-30

Jump command in Structured Text CODESYS Forge talk (Thread)
Jump command in Structured Text
Last updated: 2012-11-09

Jump in ST language CODESYS Forge talk (Thread)
Jump in ST language
Last updated: 2012-04-12

Focus jump to the element and VisuDialogs.Keypad CODESYS Forge talk (Thread)
Focus jump to the element and VisuDialogs.Keypad
Last updated: 2021-03-22

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 dwpessoa on CNC Jumps G20 - SMC_NCInterpreter and long time to process CODESYS Forge talk (Post)
I am studying and developing a Softmotion+CNC system for a machine that executes multiple pieces. The G code program is written by the machine operator and each cycle execute 1 piece. The programs are large, exceeding 1000 lines and using up to 8 axes (X, Y, Z, A, B, C, P and Q). The machine needs to run cyclically, executing N pieces (selected by the Operator)... so I tested it using Looping and counters (G36 G37 and G20) and it worked, but it takes a long time to process, and the more pieces I need, the longer the processing time and this is totally impracticable. I found this solution which was very good, and for a few cycles it works well, but for 99999 pieces of a program with 1000 lines, it doesn't work very well... Another solution I tested is to maintain the interpolator with an automatic restart, that is, I load the program without looping (without G20) and give it another start as soon as it finishes. This partially resolved it, but there is still a delay in processing SMC_NCInterpreter in each restart :(. Another solution I thought of is to manually create the SMC_GEOINFO structure and then reuse it, avoinding the Interpreter, but reading the documentation and checking the structure filled by standard blocks, I noticed that there doesn't seem to be a "JUMP" function in the structure! In other words, the SMC_NCInterpreter actually keeps copying and copying the program section for each jump (G20)... If I repeat a 10-line program 1000 times, I will have a structure with more than 10000 lines... possibly this is the cause of take so long to process. Has anyone ever had a problem like this? I believe the same thing happens with typical applications with manipulator robots using Codesys in continuous cycles, and I would like to know if there is any solution, or even if I am misinterpreting the G20 question in SMC_GEOINFO. Thanks!
Last updated: 2023-09-20

Showing 7 results of 7

Sort by relevance or date