Simple logic circuit that shuts down production after the specified stacker limit is reached.
Step 1
Connect the stacker to the machine and turn it on.
Step 2
Turn the logic screws using these settings.
Step 3
Power up the logic chips and then use Dail on the stacker to expose the number of items it needs to produce. Then use the car as usual - select the item you want to make and click "Activate".
Then, when the specified number is reached, the machine will shut down.