User`s manual
7-24 Motion Mate™ DSM314 for Series 90™-30 PLCs User's Manual
–
January 2001 GFK-1742A
7
Command Data Comments
VELOC 10000 //Set velocity of first move = 10000
CMOVE 15000, ABS,
LINEAR
//Reach velocity of second move (20000) at position =
15000
VELOC 20000 //Set velocity of second move = 20000
CMOVE 30000, ABS,
LINEAR
(*Stay at velocity = 20000 until position = 30000, then
change to velocity = 5000*)
CMOVE 0, INCR, LINEAR (*Flag to signal the DSM314 to wait for next move before
changing to the next velocity*)
VELOC 5000 //Set velocity of third move = 5000
PMOVE 40000, ABS,
LINEAR
//Final stop position = 40000
Note: White space characters (blank spaces, tabs, etc.) were used in the program above to
improve readability.
Figure 7-3. Example 1, Before Inserting CMOVE (0)
Figure 7-4. Example 2, After Inserting CMOVE (0)
t
v
15000 30000 40000
20000
10000
5000
t
v
15000 30000 40000
20000
10000
5000