brokenladder
Member
I am trying to create a cash register. I have 9 buttons. This diagram shows how it is set up.
2 5 8
1 4 7
0 3 6
2= Whopper combo
1= Whopper Dbl Combo
0= Whopper Jr combo
3= Drink
4= Fries
5= Whopper
6= Total
7= New order
8= Cancel last
I am using RS Logix 500 and I need to be able to come up a total and and it needs to count the number of individual items sold along with the total for each quantity of items. I also need to make it so that when someone hits the [whopper, fries, and drink buttons] it will automatically enter it in as a whopper combo. If those buttons are pressed, the whopper combo quantity needs to increase and the three seperate items need to decrease after the total button is pushed.
Any help with ladder logic that would accomplish this would be great. Thanks.
2 5 8
1 4 7
0 3 6
2= Whopper combo
1= Whopper Dbl Combo
0= Whopper Jr combo
3= Drink
4= Fries
5= Whopper
6= Total
7= New order
8= Cancel last
I am using RS Logix 500 and I need to be able to come up a total and and it needs to count the number of individual items sold along with the total for each quantity of items. I also need to make it so that when someone hits the [whopper, fries, and drink buttons] it will automatically enter it in as a whopper combo. If those buttons are pressed, the whopper combo quantity needs to increase and the three seperate items need to decrease after the total button is pushed.
Any help with ladder logic that would accomplish this would be great. Thanks.