Thank you for help, but I get the logic within the same EMC, using the variables and # IF, ELSE, WHILE ... etc What we need now is some form of a variable load in the time of procedure, or something that generates a clock while running the program. It can do with the increase of pressure against time.
Another question is on call files. Subroutines without problems, but I can not call other files, and no error appears. Say I have 2 files. the 20.ngc and 40.ncg. the 20 should call the 40, then add internal 'o <40> call "is anyway? and 40 in the program, I write something?
I read something about PROGRAM_PREFIX, I have to declare something where?
Thanks
Luciano