I am not sure if you are using a stepper motor driver or just directly conencting the stepper motor to 4 discrete outputs. If you are using a stepper motor driver which you should be doing, the inputs to these most probably be step/clock and direction(CW/CCW'). These two would be connected to your PLC's high speed outputs. for each pulse you send to the step pin, the stepper motor would rotate by 1 step corresponsing to the direction you supply to the Direction pin. The outputs of your stepper driver would be A,A',B,B' which should be conencted to the 4 phase windings of your bipolar stepper or unipolar with the center tapped line grounded...refer to the manual you have for the drive and the motor for specifics.