example code for commanding siemens motor drive