Hi there folks,
I posted earlier, but I don't think I communicated correctly what I was trying to do: make one input cycle through 4 different outputs, turning the old output off as you cycle thru. This can be done with a counter or sequencer, but some companies I have dealt with don't allow the sequence stuff. A fella told me to learn bit logic and then you can do anything.
Here, if it's visible, is a pic of the program I wrote and it does work on the LogixPro Demo simulation:
My question, is this a correct or acceptable way to do this? And in bit-logic terms, is there a better way?
I realized when writing, that you've got to look at each rung and branch on a scan to scan basis. At first I was confused and couldn't get anything to work right, as I had the bit logic to turn off the lights right below each rung that turned on the light. Simply moving them to the top made the program work, but will it work on a real PLC?
Thanks for any help/advice.
Guido
I posted earlier, but I don't think I communicated correctly what I was trying to do: make one input cycle through 4 different outputs, turning the old output off as you cycle thru. This can be done with a counter or sequencer, but some companies I have dealt with don't allow the sequence stuff. A fella told me to learn bit logic and then you can do anything.
Here, if it's visible, is a pic of the program I wrote and it does work on the LogixPro Demo simulation:
My question, is this a correct or acceptable way to do this? And in bit-logic terms, is there a better way?
I realized when writing, that you've got to look at each rung and branch on a scan to scan basis. At first I was confused and couldn't get anything to work right, as I had the bit logic to turn off the lights right below each rung that turned on the light. Simply moving them to the top made the program work, but will it work on a real PLC?
Thanks for any help/advice.
Guido
Last edited: