Custom Python M-code. Interpreter state not idle

More
3 years 2 months ago #276923 by Faggan
Ok? But then how do i get access to it with a python script? Can i?

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #276971 by cmorley
you don't need to - you already know what state the interpreter is in: 2, reading.


I'm not an expert on mcodes, but i don't think running MDI commands is possible.
What are you actually trying to do with the M code?

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago - 3 years 1 month ago #280326 by andypugh
Just got to this.

Inside a remap you can use canon commands, rather than MDI if you want axis movements etc.

If you look in the stdglue routines you will (probably) not see any use of MDI, but rather things like:
Code:
emccanon.enqueue_SET_SPINDLE_SPEED(self.speed[0])
Last edit: 3 years 1 month ago by andypugh.

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #280424 by cmorley
Can you post the example you are referencing? I can't tell if you are remapping an mcode or running an external program from an mcode.

Please Log in or Create an account to join the conversation.

Time to create page: 0.290 seconds
Powered by Kunena Forum