DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
Programming Example:
1. When M0 is ON, the DPUCONF instruction for axis 1 is executed to modify the parameters by
setting Mode to 1 (Pulse Y0+ Direction Y1), SSpeed (the speed for starting) to 200Hz, Atime
(acceleration time) to 200ms, Dtime (deceleration time) to 200ms and MSpeed (maximum
output frequency) to 100kHz. And M1 changes to ON as the output of Done is completed.
2. When M10 is ON, the DPUDRA instruction for axis 1 is executed to output pulses from Y0 at the
frequency of 2kHz until the current position reaches 20,000 (absolute addressing). When Y1 is
OFF, the direction is positive. And M11 changes to ON as the output of Done is completed.