I created a Primary module without anything in it. I just transported items from the entrance to the exit, and then connected the exit of the secondary module to the entrance of the Primary module. It became a perpetual device that can output items indefinitely.