Hi all, I am trying to find out if its possible to monitor a subroutine (Compactlogix/ Controllogix plcs)in RSLogix 5000 (ver16) showing the status of of the tags SPECIFIC to ONE PARTICULAR calling routine ? For example, in Siemens S7 it is possible to Monitor instance blocks showing the results of operation specific to one calling block.
More detail: - Lets say I have a plc controlling 20 motors on a line, and the code uses one generic MOTOR routine which is called by 20 different routines and passes in a variable "motor", and returns the variable "motor" - How can I monitor that routine showing me details specific to Motor #5 for example ? IE - in the Generic MOTOR subroutine I have the tag "MOTOR.RUN" and I pass in the variable "M4" - but there is no way I can tell if "M4.RUN" is true by monitoring the subroutine (it could be any of the motors)Is the ONLY way to Copy and paste the routine and rename the input/return parameters ?
Thanks for any advice !
Steve
More detail: - Lets say I have a plc controlling 20 motors on a line, and the code uses one generic MOTOR routine which is called by 20 different routines and passes in a variable "motor", and returns the variable "motor" - How can I monitor that routine showing me details specific to Motor #5 for example ? IE - in the Generic MOTOR subroutine I have the tag "MOTOR.RUN" and I pass in the variable "M4" - but there is no way I can tell if "M4.RUN" is true by monitoring the subroutine (it could be any of the motors)Is the ONLY way to Copy and paste the routine and rename the input/return parameters ?
Thanks for any advice !
Steve