After the track has been recorded all the way down, Stop the sequencer. Put the drum machine in internal clock mode. Connect the midi out of your sequencer into the midi in of your Drum machine. Put the sequencer in play and the drum machine should play in time with all the other midi instruments recorded into your sequencer. With the midi drum machine parts recorded into your sequencer, when you edit the arrangement of your song, you will be editing the drum parts as well.
Many programmers choose to record the drums step by step on the sequencer when composing.
It is totally a matter of taste whether the drums are initially programmed via the sequencer's quantization and looping features or the drum machine's. In fact this brings us to another interesting way that we at Unique have been programming. What it all boils down to, is that thanks to midi, we can make use of more than one midi sequencer for composing and editing. For instance, let's say on your sequencer you've had to bounce between two tracks to create a multi-track midi effect. Well you could use a midi filter and connect it between your sequencer's midi output and input and bounce only that track to your second track to punch in and fix it.