View Full Version : Graphical Operator Interface


HillBilly
01-28-2004, 03:21 AM
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

Al_The_Man
01-28-2004, 08:40 AM
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

HuFlungDung
01-28-2004, 09:07 AM
HillBilly,

I don't follow what is happening. What level of their software are you using?

HillBilly
01-28-2004, 09:21 AM
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

HuFlungDung
01-28-2004, 09:27 AM
Are you trying to execute axis motion from Mcodes? No workee. Use Gcodes or macros.

HillBilly
01-28-2004, 09:52 AM
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?

Al_The_Man
01-28-2004, 10:02 AM
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

HillBilly
01-28-2004, 01:27 PM
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

HuFlungDung
01-28-2004, 02:12 PM
Here's a thumbs up for you Al. Way to go. :)