HB,I am not to sure what you are trying to achieve, can you give an example of the code and what process you want to perform?
Al
While using CamSoft's GOI I read in the manual on page 1-19 under MCODE.FIL file.
"The theory is simple. When the program reads a line of code that contains an M code in your program, then it simply performs the logic steps sequentially that you have listed in the MCODE.FIL file."
Well after not being able to execute an M Code from my program I call CamSoft. They tell me that you CAN NOT execute any of the 199 user defined M Codes from the program. When I questioned them about the explanation in the manual their comment was to me "It must be a typo".
I know this is CamSoft's lower end product but this is a misleading statment and not a typo!
HillBilly
HB,I am not to sure what you are trying to achieve, can you give an example of the code and what process you want to perform?
Al
HillBilly,
I don't follow what is happening. What level of their software are you using?
First you get good, then you get fast. Then grouchiness sets in.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Al,
This is real straight forward.
I can define a M Code, assign it to a button, push the button and it will execute.
When I try issuing this code in a program it is ignored.
Maybe I'm lazy but after I define how to do something in complete detail, like walk, I would rather say walk then go through the one foot in front of the other ect., every time I need to walk.
If anyone has a ideal how to call a routine within the user program on the GOI I would like to here!
HillBilly
Are you trying to execute axis motion from Mcodes? No workee. Use Gcodes or macros.
First you get good, then you get fast. Then grouchiness sets in.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
To All,
GIO is CamSoft's general automation software.
I am using it with a digital I/O board only.
There are no G Codes with GIO but there are 199 user defined M Codes.
The only problem is you can only execute them by assigning them to a button!
Any Ideals?
HB, What if you write a macro in the macro.fil as a process and embed the name of it in the M code of your choice in the mcode.fil.
This way you could call the M code from a screen button or as the process name in your program. Would this work?????
Al
CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Al,
Yes that worked great and made life alot easier!
When I talked to tech support they said I couldn't
call a macro from the user program either.
Thanks to your suggestion I decided to try.
Writing [M?] is just as easy as writing M? to me.
Thanks again
HillBilly
Here's a thumbs up for you Al. Way to go.![]()
First you get good, then you get fast. Then grouchiness sets in.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)