Macro logic
- MaHa
- Offline
- Platinum Member
Less
More
- Posts: 405
- Thank you received: 163
06 Dec 2020 03:00 - 06 Dec 2020 11:14 #191205
by MaHa
Replied by MaHa on topic Macro logic
Dirty words, from the adult channel?
I made my own workaround to skip lines, goto forwards, if desired.
If you find out how to queue buster in M-Code, all can be done with Python Mcode. My way is subroutines, calling Mcode for start/end skip.
o<skip> call / o<skipe> call for start / end of skip lines
Example:
Make shure block delete is off
It is a way, turn block delete on/off during Prog execution and skip lines instead using your sinumeric @100 K20 or gotof END or whatever...
M function must be executable and ending .py removed
I made my own workaround to skip lines, goto forwards, if desired.
If you find out how to queue buster in M-Code, all can be done with Python Mcode. My way is subroutines, calling Mcode for start/end skip.
o<skip> call / o<skipe> call for start / end of skip lines
Example:
Make shure block delete is off
o<skipe> call
o100 IF [#5063 LT 10]
o<skip> call
o100 ENDIF
/G64 P.005
/G0 G17 G21 G40 G49 G55 G80 G90 G94 M48
/S20000 M3
/G0 G55 G43 X-71.9588 Y174.8038 F500.
/G0 Z4.0000
/G1 Z3.0000
/Z0.0000 F1200.
/Y175.0000
/X-71.6188 Z-0.0193
o<skipe> call
It is a way, turn block delete on/off during Prog execution and skip lines instead using your sinumeric @100 K20 or gotof END or whatever...
M function must be executable and ending .py removed
Last edit: 06 Dec 2020 11:14 by MaHa.
The following user(s) said Thank You: partec, Aciera
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds