Script Matlab to modify a sequence of G1 commands (G code)
이전 댓글 표시
Hi, I'm searching for an automatic script to insert commands G4 and M42 in a sequence of G1: I'm developing a matlab script image acquisition and I have a sequence of G1 commands that represent various positions (x,y,z) of the extruder of a 3d printer. M42 guarantees photo capture and G4 the pauses. I have to have one image for each position. in the code below there is an example of two image acquistions. So, i want to
obtain a matlab script to modify a sequence of G1 by inserting G4 P1500; M42; G4 P250; M42 between each one

댓글 수: 4
Rik
2022년 8월 16일
If this is not a duplicate, please explain what is different from your previous question. To edit the question you will need to reopen it.
Federico Paolucci
2022년 8월 16일
Walter Roberson
2022년 8월 16일
That looks like the desired result? Can you show us what the unmodified input would look like?
Federico Paolucci
2022년 8월 16일
편집: Federico Paolucci
2022년 8월 16일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!