It is an Example for STEP Motor. PLS_Val_Out outputs Pulse(4000 ticks) (VAL: 500) to Position. STEP_POS_ACC StepMotor will be in position which is from PLS_Val_Out.

"Reset" --> Reset Position.

STEP Motor Operation Output --> AP AN BP BN

If It reaches position,the Ready output to DO_P4 ON.

STEP_POS_ACC is Lib concept object which has acceleration & position calculation.

This Lib object including integrated relation in this example.

(c) ePenguin (epoffice.blogsite.org) , demo only.