Here are my notes on Siemens slice timing. I also like this page that provides SPM/Matlab code for computing slice timing patterns. You might want to look at my Python script but that was designed for Philips and GE, and does not currently deal with the fact that Siemens interleaved starts with the first or second slice depending on number of slices in the volume.