Standard (5 pin) midi plugs are used, HOWEVER, the ST does not use the THRU function of midi and so the outer two pins are not used.
You SHOULD purchased midi cables that connect directly to your ST - that have these pins not wired. Midi message errors, echo back, midi lock and a few other errors could occur if you use standard midi wired cables.