Steve Etter
Lifetime Supporting Member + Moderator
Hi All.
I am trying to do something here that I am beginning to think Mitsubishi won't let me. It seems it ought to be possible but I can't seem to find an instruction for it.
I am working with a Q02 series Mitsubishi PLC. The machine is functioning well with 13 programs each called in sequence as per the hard configuration in the PLC Parameter/Program settings.
Working that way, I have no problem. Now, however, I have been asked to make a major modification to the machine such that 3 of the 13 programs are substancially changed and the machine's function is significantly different. Again, no problem, except with our in-house approval system, I would like to set up the machine such that I can switch back-and-forth between the existing programs and the new ones while testing and waiting for the final approval.
What I would like help with is finding an instruction, if there is one, that will allow me to call a program (not a sub-routine) from within another. If I can do that, I can add 3 new programs to the list, modify my PLC Parameter/Program settings, and write a small bit of code to select which programs to run.
Anybody know of such a beasty?
I know I could easily write a sub-routine for each of the modified programs, but where is the fun in that? I really want to do it this way, if I can, if for no other reason than to expand my own capabilities.
Thanks in advance
Steve
I am trying to do something here that I am beginning to think Mitsubishi won't let me. It seems it ought to be possible but I can't seem to find an instruction for it.
I am working with a Q02 series Mitsubishi PLC. The machine is functioning well with 13 programs each called in sequence as per the hard configuration in the PLC Parameter/Program settings.
Working that way, I have no problem. Now, however, I have been asked to make a major modification to the machine such that 3 of the 13 programs are substancially changed and the machine's function is significantly different. Again, no problem, except with our in-house approval system, I would like to set up the machine such that I can switch back-and-forth between the existing programs and the new ones while testing and waiting for the final approval.
What I would like help with is finding an instruction, if there is one, that will allow me to call a program (not a sub-routine) from within another. If I can do that, I can add 3 new programs to the list, modify my PLC Parameter/Program settings, and write a small bit of code to select which programs to run.
Anybody know of such a beasty?
I know I could easily write a sub-routine for each of the modified programs, but where is the fun in that? I really want to do it this way, if I can, if for no other reason than to expand my own capabilities.
Thanks in advance
Steve