How to connect stepper motor with plc