Design and implementation of a multi-axis motion controller using SoPC technology