Generic (version 16) discussion
I/O Drivers
doc
(Thread)
Generic (version 16) discussion
Last updated: 2023-09-20
Home (version 1) discussion
medallo
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
origin
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
ferdez
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
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
Home (version 8) discussion
Application note BACnet MS/TP
home
(Thread)
Home (version 8) discussion
Last updated: 2023-09-20
Home (version 36) discussion
co♻e: unittest framework for CODESYS
home
(Thread)
Home (version 36) discussion
Last updated: 2023-09-20
Home (version 6) discussion
co🔗e: A Linked List Solution
home
(Thread)
Home (version 6) discussion
Last updated: 2023-09-20
Home (version 1) discussion
mohanpatel
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
mdirzpr13
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
krone2303
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
rneidert
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
r-niedermayer
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
scottsmith
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
seferovic
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
jbordelon
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
ylvovich
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
jeetshah
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
tonihoo
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
travis
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Home (version 1) discussion
yarbay
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-20
Setup a test system with Ignition Primary Host (version 4) discussion
co⚡e: Sparkplug™ MQTT edge
home
(Thread)
Setup a test system with Ignition Primary Host (version 4) discussion
Last updated: 2023-09-20
Setup a test system with Ignition Primary Host (version 1) discussion
co⚡e: Sparkplug™ MQTT edge
home
(Thread)
Setup a test system with Ignition Primary Host (version 1) discussion
Last updated: 2023-09-20
Home (version 5) discussion
Alarm Manager
home
(Thread)
Home (version 5) discussion
Last updated: 2023-09-20
Home (version 6) discussion
co♻e: unittest framework for CODESYS
home
(Thread)
Home (version 6) discussion
Last updated: 2023-09-20