Thanks very much for your fast reply Camsoft!
My desire to have a variable specify an I/O number was strictly from a programming efficiency standpoint. Using If/Thens will require me to duplicate the toolchanging routine 12 times (the number of tools in the changer). There is absolutely no problem with me doing this as I don't believe I will run out of Macro room.
This just looked like an excellent place for a subroutine where all I had to pass into the routine was the tool number.
Thanks again ... |