Hi all, long time lurker but first time poster. I am working on changing the control system of a machine I built from Direct Logix to AB Micrologix1000.
I have emulated the stage programming I did on the DL PLC by using latching/unlatching bits as opposed to JMP like I used on the DL to go from stage to stage.
My question is this: is there an easy way to set up a stop monitoring stage at the end of the program that will unlatch all bits and outputs if the stop button is pressed? Currently, I have a bunch of unlatch instructions in parallel to reset all of the bits and outputs if stop is pressed. Is there a single command I can use to unlatch all of the bits and another command to unlatch all of the outputs? I think I need to use a "masked Move" but I don't quite understand how to use it. When I press the stop button, I want to turn off all outputs, get out of all stages, and go back to stage 1(startup stage). If I used the masked move, my source and destination would be the same bit. Is this ok? Thanks, RH68
I have emulated the stage programming I did on the DL PLC by using latching/unlatching bits as opposed to JMP like I used on the DL to go from stage to stage.
My question is this: is there an easy way to set up a stop monitoring stage at the end of the program that will unlatch all bits and outputs if the stop button is pressed? Currently, I have a bunch of unlatch instructions in parallel to reset all of the bits and outputs if stop is pressed. Is there a single command I can use to unlatch all of the bits and another command to unlatch all of the outputs? I think I need to use a "masked Move" but I don't quite understand how to use it. When I press the stop button, I want to turn off all outputs, get out of all stages, and go back to stage 1(startup stage). If I used the masked move, my source and destination would be the same bit. Is this ok? Thanks, RH68