Thanks for your help, i manage to run the program in close loop. one thing i am very curious is that i only can set the stepper output (refer to MAX) to clockwise and counter clockwise mode. when i try to set to step and direction, it will generate error again. why is that happen ?
thanks